Skip to content

Instantly share code, notes, and snippets.

Created October 14, 2011 09:25
Show Gist options
  • Save anonymous/1286667 to your computer and use it in GitHub Desktop.
Save anonymous/1286667 to your computer and use it in GitHub Desktop.
Cloning into rvm...
RVM: Shell scripts enabling management of multiple ruby environments.
RTFM: https://rvm.beginrescueend.com/
HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
Installing RVM to /Users/me/.rvm/
Correct permissions for base binaries in /Users/me/.rvm/bin...
Copying manpages into place.
Recording config files for rubies.
me,
If you have any questions, issues and/or ideas for improvement please
fork the project and issue a pull request.
If you wish to disable the project .rvmrc file functionality, set
rvm_project_rvmrc=0 in either /etc/rvmrc or ~/.rvmrc.
NOTE: To Multi-User installers, please do NOT forget to add your users to the 'rvm'.
The installer no longer auto-adds root or users to the rvm group. Admins must do this.
Also, please note that group memberships are ONLY evaluated at login time.
This means that users must log out then back in before group membership takes effect!
Thank you for using RVM!
I sincerely hope that RVM helps to make your life easier and more enjoyable!!!
~Wayne
NOTE:
As of 1.8.0 RVM once again loads .rvmrc files, by default, after asking your
permission to trust it of course. If you do not wish to be enabled, simply set:
export rvm_project_rvmrc=0
Within either your /etc/rvmrc or $HOME/.rvmrc file. This will turn off the
cd/pushd hooks when sourcing the rvm() function into your shell.
Example: echo 'export rvm_project_rvmrc=0' >> $HOME/.rvmrc;
(Then close the current shell and open a new one.)
If you wish to add this for all users, exchange $HOME/.rvmrc with /etc/rvmrc
All individual additional OS requirements/dependencies are now contained in 'rvm requirements'
You must now complete the install by loading RVM in new shells.
If you wish to use RVM in an interactive fashion in your shells then
Place the following line at the end of your shell's loading files
(.bashrc or .bash_profile for bash and .zshrc for zsh),
after all PATH/variable settings:
[[ -s "/Users/me/.rvm/scripts/rvm" ]] && source "/Users/me/.rvm/scripts/rvm" # This loads RVM into a shell session.
You only need to add this line the first time you install RVM.
If you are choosing to source RVM into your environment to switch current
shell environments, be sure to close this shell and open a new one so that
the RVM functions load.
Installation of RVM to /Users/me/.rvm/ is complete.
Notes for Darwin ( Mac OS X )
For Snow Leopard be sure to have Xcode Tools Version 3.2.1 (1613) or later
You should download the latest Xcode tools from developer.apple.com.
(This is since the dvd install for Snow Leopard contained bugs).
If you intend on installing MacRuby you must install LLVM first.
If you intend on installing JRuby you must install the JDK.
If you intend on installing IronRuby you must install Mono
(version 2.6 or greater is recommended).
To use an RVM installed Ruby as default instead of the system ruby:
rvm install 1.8.7 # installs patch 352: closest supported version
rvm system ; rvm gemset export system.gems ; rvm 1.8.7 ; rvm gemset import system # migrate your gems
rvm --default 1.8.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment