Skip to content

Instantly share code, notes, and snippets.

@pzol
Created December 18, 2010 23:24
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pzol/746963 to your computer and use it in GitHub Desktop.
Save pzol/746963 to your computer and use it in GitHub Desktop.
How to install rvm 1.9.2 under FreeBSD - this is work in progress and not complete. You have to su or sudo -i to run this
# this does not run as a complete script :(
pkg_add -r bash curl sudo
pkg_add -r git vim # can you live without it?
pkg_add -r libxml2 libxslt # for nokogiri later
pw usermod pzol -G wheel
bash # start bash and run the rest inside it
curl -# -L http://bit.ly/rvm-install-system-wide > rvm-install-system-wide
bash -l < rvm-install-system-wide
source /usr/local/rvm/scripts/rvm
rvm package install readline
rvm package install iconv
rvm install 1.9.2 --with-iconv-dir=$rvm_path/usr
rvm --default use 1.9.2
@weirdbricks
Copy link

Hi!

This has been very helpful to me and I've used parts of it on my post on how to use RVM on FreeBSD!

If you'd like to check it out and comment, the page is here:
http://my.opera.com/weirdbricks/blog/2011/10/22/ruby-enterprise-edition-ree-1-8-7-on-freebsd-using-rvm

Thanks!
Lampros

@pzol
Copy link
Author

pzol commented Oct 24, 2011 via email

@boie0025
Copy link

Thanks!

@sbh01
Copy link

sbh01 commented Oct 12, 2014

the link is broken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment