Last active
December 31, 2015 23:58
-
-
Save AntelopeSalad/8063100 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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