Skip to content

Instantly share code, notes, and snippets.

@pzol
Created December 18, 2010 23:24

Revisions

  1. Piotr Zolnierek revised this gist Dec 19, 2010. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_ruby192_freebsd.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # this does not run as a complete script :(
    pkg_add -r bash curl sudo
    pkg_add -r git # can you live without it?
    pkg_add -r git vim # can you live without it?
    pkg_add -r libxml2 libxslt # for nokogiri later
    pw usermod pzol -G wheel

  2. Piotr Zolnierek revised this gist Dec 19, 2010. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion install_ruby192_freebsd.sh
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,8 @@
    # this does not run as a complete script :(
    pkg_add -r bash curl
    pkg_add -r bash curl sudo
    pkg_add -r git # 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
  3. Piotr Zolnierek revised this gist Dec 18, 2010. 1 changed file with 4 additions and 6 deletions.
    10 changes: 4 additions & 6 deletions install_ruby192_freebsd.sh
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,9 @@
    # this does not run as a complete script :(
    pkg_add -r bash
    pkg_add -r curl
    pkg_add -r git
    pkg_add -r libxml2 # for nokogiri later
    pkg_add -r libxslt
    pkg_add -r bash curl
    pkg_add -r git # can you live without it?
    pkg_add -r libxml2 libxslt # for nokogiri later

    bash # start bash and run the rest inside it
    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

  4. Piotr Zolnierek revised this gist Dec 18, 2010. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions install_ruby192_freebsd.sh
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,11 @@
    # this does not run as a complete script :(
    pkg_add -r bash
    pkg_add -r curl
    pkg_add -r git
    pkg_add -r libxml2 # for nokogiri later
    pkg_add -r libxslt

    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

  5. Piotr Zolnierek revised this gist Dec 18, 2010. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions install_ruby192_freebsd.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    pkg_add -r bash
    pkg_add -r curl
    pkg_add -r git
    pkg_add -r libxml2 # for nokogiri later
    pkg_add -r libxslt

  6. Piotr Zolnierek revised this gist Dec 18, 2010. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion install_ruby192_freebsd.sh
    Original file line number Diff line number Diff line change
    @@ -10,4 +10,5 @@ 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 install 1.9.2 --with-iconv-dir=$rvm_path/usr
    rvm --default use 1.9.2
  7. Piotr Zolnierek created this gist Dec 18, 2010.
    13 changes: 13 additions & 0 deletions install_ruby192_freebsd.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    pkg_add -r bash
    pkg_add -r curl
    pkg_add -r libxml2 # for nokogiri later
    pkg_add -r libxslt

    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