When I run the rails application, I get the following error:
undefined local variable or method \"config\" for main:Object
How c
in your enviroment.rb file, cut any line starting with config and paste into your production.rb/development.rb/test.rb instead.
This is what worked for me when I had a similar problem.