Skip to content

Instantly share code, notes, and snippets.

@scifisamurai
Created December 2, 2013 19:05
Show Gist options
  • Save scifisamurai/7755119 to your computer and use it in GitHub Desktop.
Save scifisamurai/7755119 to your computer and use it in GitHub Desktop.
Ruby Quick Reference

Tell RVM to use a specific version of ruby and a specific gemset for a ruby/rails application.##

Files:
.ruby-version
.ruby-gemset

Example:
The following is for an app using "ruby-2.0.0" and a gemset named "example":

[]$ cd example
[
/example]$ cat .ruby-version
2.0.0

[~/example]$ cat .ruby-gemset
example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment