简体   繁体   中英

cannot load such file in Rails console

After I try use command: " bundle install --without production " and " rails g bootstrap:layout application fixed " my rails application don't work

when i type anything command I get:

/usr/local/bin/rails:23:in load': cannot load such file -- /usr/share/rubygems-integration/all/gems/railties-4.1.8/bin/rails (LoadError) from /usr/local/bin/rails:23:in '

I'm beginner in RoR and I can don't understand something. Please help me. Sorry for my english:)

try adding this to your gemfile

gem 'rb-readline'

and then try to install readline

sudo apt-get install libreadline-dev

i had and error like that before and that solved my problem

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM