Rails 4.1.5 ; rails g controller is broken => Missing controller key on routes definition

Users/fedex/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in require': cannot load such file -- (LoadError) from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:inblock in require’ from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:232:in load_dependency' from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:inrequire’ from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/actionpack-4.1.5/lib/action_dispatch/routing/mapper.rb:9:in <top (required)>' from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/actionpack-4.1.5/lib/action_dispatch/routing/route_set.rb:333:ineval_block’ from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/actionpack-4.1.5/lib/action_dispatch/routing/route_set.rb:352:in block in clear!' from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/actionpack-4.1.5/lib/action_dispatch/routing/route_set.rb:352:ineach’ from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/actionpack-4.1.5/lib/action_dispatch/routing/route_set.rb:352:in clear!' from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/railties-4.1.5/lib/rails/application/routes_reloader.rb:35:inblock in clear!’ from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/railties-4.1.5/lib/rails/application/routes_reloader.rb:33:in each' from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/railties-4.1.5/lib/rails/application/routes_reloader.rb:33:inclear!’ from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/railties-4.1.5/lib/rails/application/routes_reloader.rb:15:in reload!' from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/railties-4.1.5/lib/rails/application/routes_reloader.rb:26:inblock in updater’ from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.5/lib/active_support/file_update_checker.rb:75:in call' from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.5/lib/active_support/file_update_checker.rb:75:inexecute’ from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/railties-4.1.5/lib/rails/application/routes_reloader.rb:27:in updater' from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/railties-4.1.5/lib/rails/application/routes_reloader.rb:7:inexecute_if_updated’ from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/railties-4.1.5/lib/rails/application/finisher.rb:71:in block in <module:Finisher>' from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/railties-4.1.5/lib/rails/initializable.rb:30:ininstance_exec’ from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/railties-4.1.5/lib/rails/initializable.rb:30:in run' from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/railties-4.1.5/lib/rails/initializable.rb:55:inblock in run_initializers’ from /Users/fedex/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:226:in block in tsort_each' from /Users/fedex/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:348:inblock (2 levels) in each_strongly_connected_component’ from /Users/fedex/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:427:in each_strongly_connected_component_from' from /Users/fedex/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:347:inblock in each_strongly_connected_component’ from /Users/fedex/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:345:in each' from /Users/fedex/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:345:incall’ from /Users/fedex/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:345:in each_strongly_connected_component' from /Users/fedex/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:224:intsort_each’ from /Users/fedex/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:205:in tsort_each' from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/railties-4.1.5/lib/rails/initializable.rb:54:inrun_initializers’ from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/railties-4.1.5/lib/rails/application.rb:300:in initialize!' from /Users/fedex/rails-2014/blogpress/config/environment.rb:5:in‘ from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:92:in require' from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:92:inpreload’ from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:140:in serve' from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:128:inblock in run’ from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:122:in loop' from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:122:inrun’ from /Users/fedex/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application/boot.rb:18:in <top (required)>' from /Users/fedex/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:inrequire’ from /Users/fedex/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in require' from -e:1:in

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s