Created
          April 17, 2011 08:05 
        
      - 
      
- 
        Save danielevans/923840 to your computer and use it in GitHub Desktop. 
    RVM from a ruby script
  
        
  
    
      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
    
  
  
    
  | rvm_dir = File.join([ENV['rvm_path'], 'lib']) | |
| $LOAD_PATH.unshift(rvm_dir) unless $LOAD_PATH.include?(rvm_dir) | |
| require 'rvm' | |
| RVM.use! "ree" | |
| RVM.rvm :gemset, :create, app_name | |
| RVM.rvm :use, "ree@#{app_name}", :rvmrc => true | |
| RVM.use! "ree@#{app_name}" | |
| RVM.run('gem install bundler') | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment