Skip to content

Instantly share code, notes, and snippets.

@freen
Created February 15, 2016 14:21
Show Gist options
  • Save freen/81298ecfde45489ad336 to your computer and use it in GitHub Desktop.
Save freen/81298ecfde45489ad336 to your computer and use it in GitHub Desktop.
Syntax error means puma can't start
! Unable to load application: SyntaxError: /vagrant/app/models/order.rb:22: syntax error, unexpected end-of-input, expecting keyword_end
/usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies.rb:492:in `load': /vagrant/app/models/order.rb:22: syntax error, unexpected end-of-input, expecting keyword_end (SyntaxError)
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies.rb:492:in `block in load_file'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies.rb:682:in `new_constants_in'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies.rb:491:in `load_file'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies.rb:388:in `block in require_or_load'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies.rb:37:in `block in load_interlock'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies/interlock.rb:12:in `block in loading'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/concurrency/share_lock.rb:115:in `exclusive'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies/interlock.rb:11:in `loading'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies.rb:37:in `load_interlock'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies.rb:369:in `require_or_load'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies.rb:345:in `depend_on'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies.rb:261:in `require_dependency'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/railties-5.0.0.beta1/lib/rails/engine.rb:476:in `block (2 levels) in eager_load!'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/railties-5.0.0.beta1/lib/rails/engine.rb:475:in `each'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/railties-5.0.0.beta1/lib/rails/engine.rb:475:in `block in eager_load!'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/railties-5.0.0.beta1/lib/rails/engine.rb:473:in `each'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/railties-5.0.0.beta1/lib/rails/engine.rb:473:in `eager_load!'
from /vagrant/config.ru:6:in `block in <main>'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:55:in `instance_eval'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:55:in `initialize'
from /vagrant/config.ru:in `new'
from /vagrant/config.ru:in `<main>'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:49:in `eval'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:49:in `new_from_string'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:40:in `parse_file'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/puma-2.15.3/lib/puma/configuration.rb:144:in `load_rackup'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/puma-2.15.3/lib/puma/configuration.rb:97:in `app'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/puma-2.15.3/lib/puma/runner.rb:113:in `load_and_bind'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/puma-2.15.3/lib/puma/single.rb:79:in `run'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/puma-2.15.3/lib/puma/cli.rb:215:in `run'
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/puma-2.15.3/bin/puma:10:in `<top (required)>'
from /usr/local/rbenv/versions/2.2.4/bin/puma:23:in `load'
from /usr/local/rbenv/versions/2.2.4/bin/puma:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment