Skip to content

Instantly share code, notes, and snippets.

@Ravenstine
Created April 19, 2017 02:10
Show Gist options
  • Save Ravenstine/937df20826c7e57b6a3b24ef8351ab82 to your computer and use it in GitHub Desktop.
Save Ravenstine/937df20826c7e57b6a3b24ef8351ab82 to your computer and use it in GitHub Desktop.
# I HATE MY LIFE
ccbtitcomb-mbpr:assethostx btitcomb$ docker exec assethost server
/root/config/environments/production.rb:79:in `block in <top (required)>': undefined method `[]' for nil:NilClass (NoMethodError)
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/railtie.rb:209:in `instance_eval'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/railtie.rb:209:in `configure'
from /root/config/environments/production.rb:1:in `<top (required)>'
from /usr/local/bundle/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:293:in `require'
from /usr/local/bundle/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:293:in `block in require'
from /usr/local/bundle/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:259:in `load_dependency'
from /usr/local/bundle/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:293:in `require'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/engine.rb:600:in `block (2 levels) in <class:Engine>'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/engine.rb:599:in `each'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/engine.rb:599:in `block in <class:Engine>'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/initializable.rb:30:in `instance_exec'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/initializable.rb:30:in `run'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/initializable.rb:55:in `block in run_initializers'
from /usr/local/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
from /usr/local/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /usr/local/lib/ruby/2.3.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
from /usr/local/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
from /usr/local/lib/ruby/2.3.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/initializable.rb:44:in `each'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/initializable.rb:44:in `tsort_each_child'
from /usr/local/lib/ruby/2.3.0/tsort.rb:415:in `call'
from /usr/local/lib/ruby/2.3.0/tsort.rb:415:in `each_strongly_connected_component_from'
from /usr/local/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
from /usr/local/lib/ruby/2.3.0/tsort.rb:347:in `each'
from /usr/local/lib/ruby/2.3.0/tsort.rb:347:in `call'
from /usr/local/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
from /usr/local/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
from /usr/local/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/initializable.rb:54:in `run_initializers'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/application.rb:352:in `initialize!'
from /root/config/environment.rb:5:in `<top (required)>'
from /root/config.ru:3:in `require_relative'
from /root/config.ru:3:in `block in <main>'
from /usr/local/bundle/gems/rack-2.0.1/lib/rack/builder.rb:55:in `instance_eval'
from /usr/local/bundle/gems/rack-2.0.1/lib/rack/builder.rb:55:in `initialize'
from /root/config.ru:in `new'
from /root/config.ru:in `<main>'
from /usr/local/bundle/gems/rack-2.0.1/lib/rack/builder.rb:49:in `eval'
from /usr/local/bundle/gems/rack-2.0.1/lib/rack/builder.rb:49:in `new_from_string'
from /usr/local/bundle/gems/rack-2.0.1/lib/rack/builder.rb:40:in `parse_file'
from /usr/local/bundle/gems/rack-2.0.1/lib/rack/server.rb:318:in `build_app_and_options_from_config'
from /usr/local/bundle/gems/rack-2.0.1/lib/rack/server.rb:218:in `app'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/commands/server.rb:59:in `app'
from /usr/local/bundle/gems/rack-2.0.1/lib/rack/server.rb:353:in `wrapped_app'
from /usr/local/bundle/gems/rack-2.0.1/lib/rack/server.rb:282:in `start'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/commands/server.rb:79:in `start'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:90:in `block in server'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:85:in `tap'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:85:in `server'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
from /usr/local/bundle/gems/railties-5.0.2/lib/rails/commands.rb:18:in `<top (required)>'
from /root/bin/rails:9:in `require'
from /root/bin/rails:9:in `<top (required)>'
from /usr/local/bundle/gems/spring-2.0.1/lib/spring/client/rails.rb:28:in `load'
from /usr/local/bundle/gems/spring-2.0.1/lib/spring/client/rails.rb:28:in `call'
from /usr/local/bundle/gems/spring-2.0.1/lib/spring/client/command.rb:7:in `call'
from /usr/local/bundle/gems/spring-2.0.1/lib/spring/client.rb:30:in `run'
from /usr/local/bundle/gems/spring-2.0.1/bin/spring:49:in `<top (required)>'
from /usr/local/bundle/gems/spring-2.0.1/lib/spring/binstub.rb:31:in `load'
from /usr/local/bundle/gems/spring-2.0.1/lib/spring/binstub.rb:31:in `<top (required)>'
from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
from /root/bin/spring:15:in `<top (required)>'
from /root/bin/rails:3:in `load'
from /root/bin/rails:3:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment