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:

  1. gem update --system
  2. bundle install
  3. rails server

or one-liner:

gem update --system; bundle install; rails server 

Popular posts from this blog

node.js - How do I prevent MongoDB replica set from querying the primary? -

c# - Randomly pick a specific int from a 2D Array -

php - Angularjs http.delete is not working after deploying project on server -