Skip to content

Instantly share code, notes, and snippets.

@AntelopeSalad
Last active December 31, 2015 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save AntelopeSalad/8063100 to your computer and use it in GitHub Desktop.
Save AntelopeSalad/8063100 to your computer and use it in GitHub Desktop.
# https://github.com/mpapis/rvm-with
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
Bundler.with_clean_env do
run "rvm in . do bundle install"
run "rvm in . do rake db:create db:migrate db:setup"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment