Skip to content

Instantly share code, notes, and snippets.

@mpapis
Forked from AntelopeSalad/rvm-with-template.rb
Last active December 31, 2015 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpapis/8063102 to your computer and use it in GitHub Desktop.
Save mpapis/8063102 to your computer and use it in GitHub Desktop.
require "rvm/with"
Bundler.with_clean_env do
RVM.with "in ." do |r|
puts r.execute "bundle install"
puts r.execute "rake db:create db:migrate db:setup"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment