ruby - Comand Rails server -
i tried command rails server
, error
/usr/local/bin/rails:23:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/railties-4.2.6/bin/rails (loaderror) /usr/local/bin/rails:23:in `<main>'
try these commands:
gem update --system
bundle install
rails server
or one-liner:
gem update --system; bundle install; rails server