Search code examples
ruby-on-railsrubyruby-on-rails-5activesupport

Gem:load error while creating new app in Rails


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)

Solution

  • 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.