theone1one
theone1one

Reputation: 1520

What is the error in creating new rails project?

dilip@linuxmint~ rails new treebook

/home/dilip/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/core_ext  /kernel_require.rb:53:in `require': cannot load such file -- active_support (LoadError)
from /home/dilip/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:53:in `require'
from /usr/lib/ruby/vendor_ruby/railties/lib/rails_generator.rb:30:in `<top (required)>'
from /home/dilip/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:53:in `require'
from /home/dilip/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:53:in `require'
from /usr/lib/ruby/vendor_ruby/railties/bin/rails:16:in `<main>'

Can anyone please help me out with this error??

Upvotes: 0

Views: 175

Answers (2)

neerajarora1210
neerajarora1210

Reputation: 1

Make sure Rails is installed then use command

bundle install

Upvotes: 0

CoolTapes
CoolTapes

Reputation: 417

Make sure you have done

    gem install rails

Also, make sure that you have all the proper permissions to your gems (i.e. they don't belong to root)

Upvotes: 1

Related Questions