Reputation: 107
I actually upgraded from Ubuntu 13.10 to Ubuntu 16.04
My rails was working fine in the previous versions. I am removing rvm and reinstalling from scratch. Yet I get this error always when I try to invoke the server
uninitialized constant AppGenerator::Config
Did you mean? RbConfig
Do I have to define the rails path?
Upvotes: 0
Views: 1606
Reputation: 2342
Somehow (I think after installing Redmine) my enviroment collapsed.
By following steps I removed and reinstalled Rails. Now the error had gone:
gem uninstall rails
gem uninstall railties
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs
gem install rails -v 5.1.0
(Use your own rails version!)bundle install
Cheers,
Upvotes: 0