Created
December 1, 2011 14:56
-
-
Save antage/1417345 to your computer and use it in GitHub Desktop.
Revisions
-
antage revised this gist
Sep 20, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ #!/bin/bash apt-get -y install build-essential git-core zlib1g-dev libssl-dev libreadline6-dev git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv -
antage revised this gist
Apr 29, 2012 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,4 +4,5 @@ echo 'if [ -z "$(type rbenv 2> /dev/null | head -1 | grep function)" ]; then' >> ~/.bashrc echo ' export RBENV_ROOT=/usr/local/rbenv' >> ~/.bashrc echo ' export PATH=$RBENV_ROOT/bin:$PATH' >> ~/.bashrc echo ' eval "$(rbenv init -)"' >> ~/.bashrc echo 'fi' >> ~/.bashrc -
antage revised this gist
Apr 25, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv echo 'export RBENV_ROOT=/usr/local/rbenv' > /etc/profile.d/rbenv.sh echo 'export PATH=$RBENV_ROOT/bin:$PATH' >> /etc/profile.d/rbenv.sh echo 'eval "$(rbenv init -)"' >> /etc/profile.d/rbenv.sh ln -s /usr/local/rbenv/completions/rbenv.bash /etc/bash_completion.d/rbenv source /etc/profile.d/rbenv.sh -
antage revised this gist
Feb 9, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,6 +15,6 @@ source /etc/profile.d/rbenv.sh git clone git://github.com/sstephenson/ruby-build.git /tmp/ruby-build cd /tmp/ruby-build PREFIX=/usr/local/rbenv ./install.sh cd .. rm -rf /tmp/ruby-build -
antage revised this gist
Dec 1, 2011 . 2 changed files with 6 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,7 @@ #!/bin/bash # per-user install echo 'if [ -z "$(type rbenv 2> /dev/null | head -1 | grep function)" ]; then' >> ~/.bashrc echo ' export RBENV_ROOT=/usr/local/rbenv' >> ~/.bashrc echo ' export PATH=$RBENV_ROOT/bin:$PATH' >> ~/.bashrc echo 'fi' >> ~/.bashrc This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,8 @@ git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv # system wide install echo 'export RBENV_ROOT=/usr/local/rbenv' > /etc/profile.d/rbenv.sh echo 'export PATH=$RBENV_ROOT/bin:$PATH' >> /etc/profile.d/rbenv.sh echo 'eval "$(rbenv init -)"' >> /etc/profile.d/rbenv.sh ln -s /usr/local/rvm/completions/rbenv.bash /etc/bash_completion.d/rbenv -
antage revised this gist
Dec 1, 2011 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ #!/bin/bash apt-get -y install build-essential git-core zlib1g-dev libssl-dev libreadline5-dev git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv -
antage revised this gist
Dec 1, 2011 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,4 +10,10 @@ echo 'export PATH=/usr/local/rbenv/bin:$PATH' > /etc/profile.d/rbenv.sh echo 'eval "$(rbenv init -)"' >> /etc/profile.d/rbenv.sh ln -s /usr/local/rvm/completions/rbenv.bash /etc/bash_completion.d/rbenv source /etc/profile.d/rbenv.sh git clone git://github.com/sstephenson/ruby-build.git /tmp/ruby-build cd /tmp/ruby-build ./install.sh cd .. rm -rf /tmp/ruby-build -
antage created this gist
Dec 1, 2011 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ #!/bin/bash # per-user install echo 'if [ -z "$(type rbenv 2> /dev/null | head -1 | grep function)" ]; then' >> /root/.bashrc echo ' export PATH=/usr/local/rbenv/bin:$PATH' >> /root/.bashrc echo 'fi' >> /root/.bashrc This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ #!/bin/bash apt-get -y install build-essential git-core git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv # system wide install echo 'export PATH=/usr/local/rbenv/bin:$PATH' > /etc/profile.d/rbenv.sh echo 'eval "$(rbenv init -)"' >> /etc/profile.d/rbenv.sh ln -s /usr/local/rvm/completions/rbenv.bash /etc/bash_completion.d/rbenv source /etc/profile.d/rbenv.sh