-
-
Save vincentlkl/d05c5b1a8bc384582a4a to your computer and use it in GitHub Desktop.
Revisions
-
vincentlkl revised this gist
Feb 13, 2017 . 1 changed file with 15 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 @@ -1,4 +1,18 @@ # Update, upgrade and install development tools: sudo apt-get update sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev nodejs # Install rbenv cd git clone https://github.com/rbenv/rbenv.git ~/.rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc echo 'eval "$(rbenv init -)"' >> ~/.bashrc exec $SHELL git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc exec $SHELL rbenv install 2.3.0 rbenv global 2.3.0 ruby -v -
vincentlkl revised this gist
Feb 13, 2017 . 1 changed file with 1 addition and 15 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,18 +1,4 @@ # installing rbenv rbenv install 2.3.0 rbenv global 2.3.0 ruby -v -
vincentlkl revised this gist
Feb 13, 2017 . 1 changed file with 0 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,7 +1,3 @@ # Update, upgrade and install development tools: sudo apt-get update sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev nodejs -
vincentlkl revised this gist
Feb 13, 2017 . 1 changed file with 13 additions and 21 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,36 +4,28 @@ export LC_ALL="en_US.UTF-8" # Update, upgrade and install development tools: sudo apt-get update sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev nodejs # Install rbenv cd git clone https://github.com/rbenv/rbenv.git ~/.rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc echo 'eval "$(rbenv init -)"' >> ~/.bashrc exec $SHELL git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc exec $SHELL rbenv install 2.3.0 rbenv global 2.3.0 ruby -v # Install bundler: gem install bundler # Rehash: rbenv rehash # Install Phusion's PGP key to verify packages gpg --keyserver keyserver.ubuntu.com --recv-keys 561F9B9CAC40B2F7 -
vincentlkl revised this gist
Aug 18, 2015 . 1 changed file with 2 additions 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 @@ -14,6 +14,8 @@ git clone git://github.com/sstephenson/rbenv.git ~/.rbenv echo 'export RBENV_ROOT=~/.rbenv' >> ~/.bash_profile echo 'export PATH="$RBENV_ROOT/bin:$PATH"' >> ~/.bash_profile echo 'eval "$(rbenv init -)"' >> ~/.bash_profile export PATH="$HOME/.rbenv/bin:$PATH" eval "$(rbenv init -)" source ~/.bash_profile eval "$(rbenv init -)" -
vincentlkl revised this gist
Aug 18, 2015 . 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 @@ -5,7 +5,7 @@ export LC_ALL="en_US.UTF-8" # Update, upgrade and install development tools: sudo apt-get update sudo apt-get -y upgrade sudo apt-get -y install build-essential git-core libssl-dev libsqlite3-dev curl nodejs nginx libreadline-dev rbenv # Install rbenv git clone git://github.com/sstephenson/rbenv.git ~/.rbenv -
vincentlkl revised this gist
Aug 18, 2015 . 1 changed file with 3 additions and 6 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,9 +1,6 @@ sudo locale-gen en_US en_US.UTF-8 sudo dpkg-reconfigure locales export LC_ALL="en_US.UTF-8" # Update, upgrade and install development tools: sudo apt-get update -
vincentlkl revised this gist
Aug 16, 2015 . 1 changed file with 7 additions 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 @@ -1,3 +1,10 @@ sudo localedef -i en_US -f UTF-8 en_US.UTF-8 export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 locale-gen en_US.UTF-8 sudo dpkg-reconfigure locales # Update, upgrade and install development tools: sudo apt-get update sudo apt-get -y upgrade -
vincentlkl revised this gist
Aug 16, 2015 . 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,7 +1,7 @@ # Update, upgrade and install development tools: sudo apt-get update sudo apt-get -y upgrade sudo apt-get -y install build-essential git-core libssl-dev libsqlite3-dev curl nodejs nginx libreadline-dev # Install rbenv git clone git://github.com/sstephenson/rbenv.git ~/.rbenv -
vincentlkl revised this gist
Jun 27, 2015 . 1 changed file with 16 additions 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 @@ -29,6 +29,22 @@ gem install bundler # Rehash: ~/.rbenv/bin/rbenv rehash # Install Phusion's PGP key to verify packages gpg --keyserver keyserver.ubuntu.com --recv-keys 561F9B9CAC40B2F7 gpg --armor --export 561F9B9CAC40B2F7 | sudo apt-key add - # Add HTTPS support to APT sudo apt-get install apt-transport-https # Add the passenger repository sudo sh -c "echo 'deb https://oss-binaries.phusionpassenger.com/apt/passenger trusty main' >> /etc/apt/sources.list.d/passenger.list" sudo chown root: /etc/apt/sources.list.d/passenger.list sudo chmod 600 /etc/apt/sources.list.d/passenger.list sudo apt-get update # Install nginx and passenger sudo apt-get install nginx-full passenger # Restart nginx: sudo service nginx start -
vincentlkl revised this gist
Jun 27, 2015 . 1 changed file with 4 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 @@ -30,4 +30,7 @@ gem install bundler ~/.rbenv/bin/rbenv rehash # Restart nginx: sudo service nginx start # installing postgresql sudo apt-get install postgresql postgresql-contrib libpq-dev -
vincentlkl revised this gist
Jun 19, 2015 . 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 @@ -19,7 +19,7 @@ git clone git://github.com/sstephenson/ruby-build.git cd ruby-build sudo ./install.sh # Install Ruby 2.1.5: ~/.rbenv/bin/rbenv install 2.1.5 ~/.rbenv/bin/rbenv global 2.1.5 -
vincentlkl revised this gist
Jun 19, 2015 . 1 changed file with 2 additions and 2 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 @@ -20,8 +20,8 @@ cd ruby-build sudo ./install.sh # Install Ruby 2.0.0-p247: ~/.rbenv/bin/rbenv install 2.1.5 ~/.rbenv/bin/rbenv global 2.1.5 # Install bundler: gem install bundler -
m-gagne revised this gist
Feb 27, 2014 . 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,7 +1,7 @@ # Update, upgrade and install development tools: sudo apt-get update sudo apt-get -y upgrade sudo apt-get -y install build-essential git-core libssl-dev libsqlite3-dev curl nodejs nginx # Install rbenv git clone git://github.com/sstephenson/rbenv.git ~/.rbenv -
m-gagne revised this gist
Feb 27, 2014 . 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,7 +1,7 @@ # Update, upgrade and install development tools: sudo apt-get update sudo apt-get -y upgrade sudo apt-get -y install build-essential git-core libssl-dev libsqlite3-dev curl nodejs nginx postgresql-9.1 libpq-dev # Install rbenv git clone git://github.com/sstephenson/rbenv.git ~/.rbenv -
m-gagne revised this gist
Feb 26, 2014 . 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,7 +1,7 @@ # Update, upgrade and install development tools: sudo apt-get update sudo apt-get -y upgrade sudo apt-get -y install build-essential git-core libssl-dev libsqlite3-dev curl nodejs nginx # Install rbenv git clone git://github.com/sstephenson/rbenv.git ~/.rbenv -
m-gagne revised this gist
Feb 26, 2014 . 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,7 +1,7 @@ # Update, upgrade and install development tools: sudo apt-get update sudo apt-get -y upgrade sudo apt-get -y install build-essential git-core libssl-dev libsqlite3-dev curl nodejs nginx mysql-server # Install rbenv git clone git://github.com/sstephenson/rbenv.git ~/.rbenv -
m-gagne revised this gist
Feb 26, 2014 . 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,7 +1,7 @@ # Update, upgrade and install development tools: sudo apt-get update sudo apt-get -y upgrade sudo apt-get -y install build-essential git-core libssl-dev libsqlite3-dev curl nodejs nginx mysql # Install rbenv git clone git://github.com/sstephenson/rbenv.git ~/.rbenv -
m-gagne revised this gist
Feb 26, 2014 . 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,7 +1,7 @@ # Update, upgrade and install development tools: sudo apt-get update sudo apt-get -y upgrade sudo apt-get -y install build-essential git-core libssl-dev libsqlite3-dev curl nodejs nginx # Install rbenv git clone git://github.com/sstephenson/rbenv.git ~/.rbenv -
m-gagne revised this gist
Feb 26, 2014 . 1 changed file with 3 additions and 3 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 @@ -23,11 +23,11 @@ sudo ./install.sh ~/.rbenv/bin/rbenv install 2.0.0-p451 ~/.rbenv/bin/rbenv global 2.0.0-p451 # Install bundler: gem install bundler # Rehash: ~/.rbenv/bin/rbenv rehash # Restart nginx: sudo service nginx start -
m-gagne revised this gist
Feb 26, 2014 . 1 changed file with 2 additions and 2 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 @@ -20,8 +20,8 @@ cd ruby-build sudo ./install.sh # Install Ruby 2.0.0-p247: ~/.rbenv/bin/rbenv install 2.0.0-p451 ~/.rbenv/bin/rbenv global 2.0.0-p451 # Rehash: ~/.rbenv/bin/rbenv rehash -
m-gagne revised this gist
Feb 26, 2014 . 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 @@ -17,7 +17,7 @@ eval "$(rbenv init -)" # Install ruby-build: git clone git://github.com/sstephenson/ruby-build.git cd ruby-build sudo ./install.sh # Install Ruby 2.0.0-p247: ~/.rbenv/bin/rbenv install 2.0.0-p247 -
m-gagne revised this gist
Feb 26, 2014 . 1 changed file with 5 additions and 3 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 @@ -12,17 +12,19 @@ echo 'export PATH="$RBENV_ROOT/bin:$PATH"' >> ~/.bash_profile echo 'eval "$(rbenv init -)"' >> ~/.bash_profile source ~/.bash_profile eval "$(rbenv init -)" # Install ruby-build: git clone git://github.com/sstephenson/ruby-build.git cd ruby-build ./install.sh # Install Ruby 2.0.0-p247: ~/.rbenv/bin/rbenv install 2.0.0-p247 ~/.rbenv/bin/rbenv global 2.0.0-p247 # Rehash: ~/.rbenv/bin/rbenv rehash # Install bundler: gem install bundler -
m-gagne revised this gist
Feb 26, 2014 . 1 changed file with 3 additions and 3 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 @@ -7,9 +7,9 @@ sudo apt-get -y install build-essential git-core libssl-dev libsqlite3-dev curl git clone git://github.com/sstephenson/rbenv.git ~/.rbenv # Add rbenv to the path: echo 'export RBENV_ROOT=~/.rbenv' >> ~/.bash_profile echo 'export PATH="$RBENV_ROOT/bin:$PATH"' >> ~/.bash_profile echo 'eval "$(rbenv init -)"' >> ~/.bash_profile source ~/.bash_profile # Install ruby-build: -
m-gagne revised this gist
Feb 26, 2014 . 1 changed file with 3 additions and 9 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,13 +1,7 @@ # Update, upgrade and install development tools: sudo apt-get update sudo apt-get -y upgrade sudo apt-get -y install build-essential git-core libssl-dev libsqlite3-dev curl nginx # Install rbenv git clone git://github.com/sstephenson/rbenv.git ~/.rbenv -
m-gagne revised this gist
Feb 26, 2014 . 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 @@ -28,4 +28,10 @@ rbenv install 2.0.0-p247 rbenv global 2.0.0-p247 # Rehash: rbenv rehash # Install bundler: gem install bundler # Restart nginx: sudo service nginx start -
m-gagne revised this gist
Feb 26, 2014 . 1 changed file with 4 additions and 7 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 @@ -13,13 +13,10 @@ apt-get -y nginx git clone git://github.com/sstephenson/rbenv.git ~/.rbenv # Add rbenv to the path: echo 'export RBENV_ROOT=~/.rbenv' >> .bash_profile echo 'export PATH="$RBENV_ROOT/bin:$PATH"' >> .bash_profile echo 'eval "$(rbenv init -)"' >> .bash_profile source ~/.bash_profile # Install ruby-build: git clone git://github.com/sstephenson/ruby-build.git -
azure provisioned user revised this gist
Feb 26, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
Empty file. -
m-gagne renamed this gist
Feb 26, 2014 . 1 changed file with 6 additions and 6 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 @@ -10,11 +10,11 @@ apt-get -y curl apt-get -y nginx # Install rbenv git clone git://github.com/sstephenson/rbenv.git ~/.rbenv # Add rbenv to the path: echo '# rbenv setup' > /etc/profile.d/rbenv.sh echo 'export RBENV_ROOT=~/.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 @@ -26,9 +26,9 @@ git clone git://github.com/sstephenson/ruby-build.git cd ruby-build ./install.sh # Install Ruby 2.0.0-p247: rbenv install 2.0.0-p247 rbenv global 2.0.0-p247 # Rehash: rbenv rehash -
m-gagne revised this gist
Feb 26, 2014 . 1 changed file with 5 additions 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 @@ -3,6 +3,11 @@ apt-get update apt-get -y upgrade apt-get -y install build-essential apt-get -y install git-core apt-get -y install apt-get -y libssl-dev apt-get -y libsqlite3-dev apt-get -y curl apt-get -y nginx # Install rbenv git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv
NewerOlder