Skip to content

Instantly share code, notes, and snippets.

@linjunpop
Created March 1, 2013 01:48
Show Gist options
  • Select an option

  • Save linjunpop/5061842 to your computer and use it in GitHub Desktop.

Select an option

Save linjunpop/5061842 to your computer and use it in GitHub Desktop.
Sync ruby version between development and staging/production server

Sync ruby version between development and staging/production server

RVM

in config/deploy.rb

set :rvm_ruby_string, -> { File.read('.ruby-version') }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment