Skip to content

Instantly share code, notes, and snippets.

@tomas-stefano
Created November 3, 2010 13:04
Show Gist options
  • Select an option

  • Save tomas-stefano/661045 to your computer and use it in GitHub Desktop.

Select an option

Save tomas-stefano/661045 to your computer and use it in GitHub Desktop.
>> env = RVM::Environment.new('1.9.2')
>> env.env_contents
=> "export PATH=\"/Users/tomas/.rvm/gems/ruby-1.9.2-p0/bin:/Users/tomas/.rvm/gems/ruby-1.9.2-p0@global/bin:/Users/tomas/.rvm/rubies/ruby-1.9.2-p0/bin:/Users/tomas/.rvm/bin:$PATH\"\nRUBY_VERSION='ruby-1.9.2-p0'\nexport RUBY_VERSION\nGEM_HOME='/Users/tomas/.rvm/gems/ruby-1.9.2-p0'\nexport GEM_HOME\nGEM_PATH='/Users/tomas/.rvm/gems/ruby-1.9.2-p0:/Users/tomas/.rvm/gems/ruby-1.9.2-p0@global'\nexport GEM_PATH\nBUNDLE_PATH='/Users/tomas/.rvm/gems/ruby-1.9.2-p0'\nexport BUNDLE_PATH\nMY_RUBY_HOME='/Users/tomas/.rvm/rubies/ruby-1.9.2-p0'\nexport MY_RUBY_HOME\nIRBRC='/Users/tomas/.rvm/rubies/ruby-1.9.2-p0/.irbrc'\nexport IRBRC\nrvm_ruby_string='ruby-1.9.2-p0'\nexport rvm_ruby_string\nunset rvm_gemset_name\nunset MAGLEV_HOME\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment