Reputation: 83
While creating the new app in rails by rails new projectname Iam getting this error i googled a lot but cant find the solution.
/home/aaquib/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/specification.rb
:2274:in `check_version_conflict': can't activate activesupport-
5.1.2,
already activated activesupport-5.0.5 (Gem::LoadError)
Upvotes: 0
Views: 258
Reputation: 83
I think my problem is solved ..IAm posting the answer for others . just add this in terminal..
gem clean
and then create a new app by rails new projectname.
Upvotes: 0
Reputation: 123
You should be able to fix this by removing your Gemfile.lock
and running bundle install
again. You have two conflicting versions of the same gem locked at the same time, which leads to this error.
If that alone doesn't work, try also running spring stop
to start with a clean slate.
Upvotes: 1