vendredi 15 mai 2015

Uninitialized constant Version (NameError) when starting Rails server

So I had my app working just fine and then I had to migrate it over to a new development server. I copied all the files over, ran bundle install with no errors and then when I run rails server

I get this error.

Ctrl-C to shutdown server
Exiting
C:/Sites/mysite/app/admin/version.rb:1:in <top (required)>': uninitialized con stant Version (NameError) from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activeadmin-0. 5.1/lib/active_admin/application.rb:190:inblock in load!'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activeadmin-0.
5.1/lib/active_admin/application.rb:190:in each' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activeadmin-0. 5.1/lib/active_admin/application.rb:190:inload!'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activeadmin-0.
5.1/lib/active_admin/application.rb:213:in routes' from C:inroutes'
from C:/Sites/mysite/config/routes.rb:13:in `block in '
.....
.....
.....
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.1
1/lib/rails/commands.rb:50:in <top (required)>' from script/rails:6:inrequire'
from script/rails:6:in `

Any clue what's going on here?

Aucun commentaire:

Enregistrer un commentaire