Skip to content

Instantly share code, notes, and snippets.

@captproton
Created October 25, 2011 15:59
Show Gist options
  • Select an option

  • Save captproton/1313260 to your computer and use it in GitHub Desktop.

Select an option

Save captproton/1313260 to your computer and use it in GitHub Desktop.
rvm_fix?
$ bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
Cloning into rvm...
remote: Counting objects: 5771, done.
remote: Compressing objects: 100% (2755/2755), done.
Receiving objects: 100% (5771/5771), 1.97 MiB | 85 KiB/s, done.
remote: Total 5771 (delta 3785), reused 4086 (delta 2272)
Resolving deltas: 100% (3785/3785), done.
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 /usr/local/rvm/
Correct permissions for base binaries in /usr/local/rvm/bin...
Copying manpages into place.
Recording config files for rubies.
heathertanner,
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
SYSTEM NOTES:
If you do not wish to enable reading of per-project .rvmrc files, simply set:
export rvm_project_rvmrc=0
within either your /etc/rvmrc or $HOME/.rvmrc file, then log out and back in.
You _must_ read 'rvm requirements' for additional OS specific requirements for
various rubies, and native-extension gems. Expect failures until those are met!
Installation of RVM to /usr/local/rvm/ is complete.
Notes for Darwin ( Mac OS X )
For Snow Leopard: Xcode Version 3.2.1 (1613) or later, such as 3.2.6 or Xcode 4.1.
[ Please note that Xcode 3.x will *not* work on OS X Lion. The 'cross-over' is Xcode 4.1. ]
You should download the Xcode tools from developer.apple.com, since the Snow Leopard dvd install contained bugs.
** Lion Users: _DO NOT_ use Xcode Version 4.2.x for OS X Lion. It currently fails to build several rubies and gems,
as well as several Homebrew and Macports packages as well. Xcode Version 4.1 (4B110) works.
You can find Xcode 4.1 for OS X Lion at:
https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_4.1_for_lion/xcode_4.1_for_lion.dmg
For MacRuby: Install LLVM first.
For JRuby: Install the JDK. See http://developer.apple.com/java/download/ # Current Java version 1.6.0_26
For IronRuby: Install Mono >= 2.6
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.gems # 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