Last active
August 29, 2015 14:03
-
-
Save jgeo/2be547188dcfe435bd27 to your computer and use it in GitHub Desktop.
Upgrading to Ruby 2.x
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
| echo 'Updating RVM' | |
| rvm get stable | |
| rvm cleanup all | |
| echo "Installing Ruby version $RUBY_VERSION" | |
| RUBY_VERSION=2.1.2 | |
| rvm install $RUBY_VERSION | |
| rvm reload | |
| rvm --default use $RUBY_VERSION | |
| rvm reload | |
| echo 'Verify new ruby install' | |
| cd ~/git/frontend | |
| git checkout ruby-2 | |
| rake db:migrate | |
| rake db:test:prepare | |
| bundle | |
| rvm reload | |
| bundle exec rspec spec | |
| bundle exec cucumber |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment