Vivek S
Vivek S

Reputation: 107

uninitialized constant AppGenerator::Config Error

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

Answers (1)

Mehmet Kaplan
Mehmet Kaplan

Reputation: 2342

Somehow (I think after installing Redmine) my enviroment collapsed.

By following steps I removed and reinstalled Rails. Now the error had gone:

  1. gem uninstall rails
  2. gem uninstall railties
  3. curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
  4. sudo apt-get install -y nodejs
  5. gem install rails -v 5.1.0 (Use your own rails version!)
  6. At your project root bundle install

Cheers,

Upvotes: 0

Related Questions