Skip to content

Instantly share code, notes, and snippets.

@olivmonnier
Created January 23, 2015 10:07
Show Gist options
  • Save olivmonnier/00510a37619ce555bb0f to your computer and use it in GitHub Desktop.
Save olivmonnier/00510a37619ce555bb0f to your computer and use it in GitHub Desktop.
How to execute rails project without vagrant ssh
  • install the plugin vagrant-exec
vagrant plugin install vagrant-exec
  • Now you can run your project as this example :
cd path/of/your/project && vagrant up && vagrant exec 'bundle exec rails server -d && echo THE APPLICATION IS READY!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment