Created
May 16, 2012 00:27
Revisions
-
leesmith revised this gist
Nov 3, 2012 . 1 changed file with 61 additions and 36 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 @@ -2,95 +2,120 @@ ### System update ```bash # change mirror to ubuntu.osuosl.org first sudo apt-get update ``` ### Install common libraries ```bash sudo apt-get install build-essential libreadline-dev libssl-dev zlib1g-dev libxml2-dev libxslt-dev ``` ### Install all the things ```bash sudo apt-get install vim git-core gitg tmux ``` ### Generate SSH keys ```bash ssh-keygen -t rsa -C "[email protected]" ``` ### Add public key to github then test it out with this ```bash ssh -T [email protected] ``` ### Set global git identity ```bash git config --global user.name "John Doe" git config --global user.email [email protected] ``` ### Set default text editor for git ```bash git config --global core.editor vim ``` ### Set git status colors ```bash git config --global color.ui true git config --global color.status.changed yellow git config --global color.status.added green git config --global color.status.untracked red ``` ### Verify git settings ```bash git config --list ``` ### Install rbenv ```bash git clone git://github.com/sstephenson/rbenv.git ~/.rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc echo 'eval "$(rbenv init -)"' >> ~/.bashrc exec $SHELL ``` ### Install ruby-build ```bash mkdir ~/.rbenv/plugins git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build exec $SHELL ``` ### Install some rubies ```bash rbenv install 1.9.2-p320 rbenv install 1.9.3-p194 rbenv rehash ``` ### Set a global ruby ```bash rbenv global 1.9.3-p194 ``` ### Turn off rdoc generation when installing/updating gems ```bash echo "install: --no-ri --no-rdoc" >> ~/.gemrc echo "update: --no-ri --no-rdoc" >> ~/.gemrc ``` ### Install javascript runtime for rails projects ```bash sudo apt-get install nodejs ``` ### Databases and libraries * Postgres ```bash sudo apt-get install postgresql libpq-dev sudo -u postgres createuser --superuser `logname` ``` * MySQL ```bash sudo apt-get install mysql-server mysql-client libmysqlclient-dev ``` * Sqlite3 ```bash sudo apt-get install sqlite3 libsqlite3-dev ``` -
leesmith revised this gist
Sep 8, 2012 . 1 changed file with 1 addition 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 @@ -32,9 +32,7 @@ ### Set git status colors git config --global color.ui true git config --global color.status.changed yellow git config --global color.status.added green git config --global color.status.untracked red -
leesmith revised this gist
Jun 21, 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 @@ -78,7 +78,7 @@ ### Set global bundler gem install path # from within a project with a Gemfile bundle config path .bundle/gems ### Databases and libraries * Postgres -
leesmith revised this gist
May 22, 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 @@ -75,7 +75,7 @@ sudo apt-get install nodejs ### Set global bundler gem install path # from within a project with a Gemfile bundle config path vendor/bundle -
leesmith revised this gist
May 22, 2012 . 1 changed file with 2 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 @@ -75,8 +75,9 @@ sudo apt-get install nodejs ### Set global bundler gem install path after # from within a project with a Gemfile bundle config path vendor/bundle ### Databases and libraries -
leesmith revised this gist
May 21, 2012 . 1 changed file with 0 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 @@ -66,12 +66,6 @@ rbenv global 1.9.2-p320 ### Turn off rdoc generation when installing/updating gems echo "install: --no-ri --no-rdoc" >> ~/.gemrc -
leesmith revised this gist
May 18, 2012 . 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 @@ -56,12 +56,6 @@ git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build exec $SHELL ### Install some rubies rbenv install 1.9.2-p320 @@ -72,6 +66,12 @@ rbenv global 1.9.2-p320 ### Install rbenv-bundler git clone git://github.com/carsomyr/rbenv-bundler.git ~/.rbenv/plugins/bundler gem install bundler rbenv rehash ### Turn off rdoc generation when installing/updating gems echo "install: --no-ri --no-rdoc" >> ~/.gemrc -
leesmith revised this gist
May 18, 2012 . 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 @@ -46,8 +46,8 @@ ### Install rbenv git clone git://github.com/sstephenson/rbenv.git ~/.rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc echo 'eval "$(rbenv init -)"' >> ~/.bashrc exec $SHELL ### Install ruby-build -
leesmith revised this gist
May 18, 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 @@ -2,6 +2,7 @@ ### System update # change mirror to ubuntu.osuosl.org first sudo apt-get update ### Install common libraries -
leesmith revised this gist
May 18, 2012 . 1 changed file with 0 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 @@ -88,8 +88,6 @@ * Postgres ```shell sudo apt-get install postgresql libpq-dev sudo -u postgres createuser --superuser `logname` ``` -
leesmith revised this gist
May 18, 2012 . 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 @@ -88,6 +88,8 @@ * Postgres ```shell sudo apt-get install postgresql libpq-dev # create a role for yourself sudo -u postgres createuser --superuser `logname` ``` -
leesmith revised this gist
May 18, 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 @@ -88,7 +88,7 @@ * Postgres ```shell sudo apt-get install postgresql libpq-dev sudo -u postgres createuser --superuser `logname` ``` * MySQL -
leesmith revised this gist
May 18, 2012 . 1 changed file with 15 additions and 12 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 @@ -85,15 +85,18 @@ bundle config path vendor/bundle ### Databases and libraries * Postgres ```shell sudo apt-get install postgresql libpq-dev sudo -u postgres createuser --superuser yourusername -w ``` * MySQL ```shell sudo apt-get install mysql-server mysql-client libmysqlclient-dev ``` * Sqlite3 ```shell sudo apt-get install sqlite3 libsqlite3-dev ``` -
leesmith revised this gist
May 18, 2012 . 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 @@ -85,15 +85,15 @@ bundle config path vendor/bundle ### Databases and libraries * Postgres sudo apt-get install postgresql libpq-dev sudo -u postgres createuser --superuser yourusername -w * MySQL sudo apt-get install mysql-server mysql-client libmysqlclient-dev * Sqlite3 sudo apt-get install sqlite3 libsqlite3-dev -
leesmith revised this gist
May 18, 2012 . 2 changed files with 99 additions and 78 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 @@ -0,0 +1,99 @@ # Ruby on Rails development setup on Ubuntu 12.04 ### System update sudo apt-get update ### Install common libraries sudo apt-get install build-essential libreadline-dev libssl-dev zlib1g-dev libxml2-dev libxslt-dev ### Install all the things sudo apt-get install vim git-core gitg tmux ### Generate SSH keys ssh-keygen -t rsa -C "[email protected]" ### Add public key to github then test it out with this ssh -T [email protected] ### Set global git identity git config --global user.name "John Doe" git config --global user.email [email protected] ### Set default text editor for git git config --global core.editor vim ### Set git status colors git config --global color.diff auto git config --global color.status auto git config --global color.branch auto git config --global color.status.changed yellow git config --global color.status.added green git config --global color.status.untracked red ### Verify git settings git config --list ### Install rbenv git clone git://github.com/sstephenson/rbenv.git ~/.rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.profile echo 'eval "$(rbenv init -)"' >> ~/.profile exec $SHELL ### Install ruby-build mkdir ~/.rbenv/plugins git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build exec $SHELL ### Install rbenv-bundler git clone git://github.com/carsomyr/rbenv-bundler.git ~/.rbenv/plugins/bundler gem install bundler rbenv rehash ### Install some rubies rbenv install 1.9.2-p320 rbenv install 1.9.3-p194 rbenv rehash ### Set a global ruby rbenv global 1.9.2-p320 ### Turn off rdoc generation when installing/updating gems echo "install: --no-ri --no-rdoc" >> ~/.gemrc echo "update: --no-ri --no-rdoc" >> ~/.gemrc ### Install javascript runtime for rails projects sudo apt-get install nodejs ### Set global bundler gem install path after checking out a project with a Gemfile bundle config path vendor/bundle ### Databases and libraries * Postgres sudo apt-get install postgresql libpq-dev sudo -u postgres createuser --superuser yourusername -w * MySQL sudo apt-get install mysql-server mysql-client libmysqlclient-dev * Sqlite3 sudo apt-get install sqlite3 libsqlite3-dev 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,78 +0,0 @@ -
leesmith revised this gist
May 17, 2012 . 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 @@ -38,10 +38,12 @@ sudo apt-get install build-essential libreadline-dev libssl-dev zlib1g-dev libxm git clone git://github.com/sstephenson/rbenv.git ~/.rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.profile echo 'eval "$(rbenv init -)"' >> ~/.profile exec $SHELL # install ruby-build mkdir ~/.rbenv/plugins git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build exec $SHELL # install rbenv-bundler git clone git://github.com/carsomyr/rbenv-bundler.git ~/.rbenv/plugins/bundler -
leesmith revised this gist
May 17, 2012 . 1 changed file with 8 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 @@ -31,6 +31,9 @@ git config --global color.status.untracked red # verify git settings git config --list # install common libraries sudo apt-get install build-essential libreadline-dev libssl-dev zlib1g-dev libxml2-dev libxslt-dev # install rbenv git clone git://github.com/sstephenson/rbenv.git ~/.rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.profile @@ -40,8 +43,10 @@ echo 'eval "$(rbenv init -)"' >> ~/.profile mkdir ~/.rbenv/plugins git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build # install rbenv-bundler git clone git://github.com/carsomyr/rbenv-bundler.git ~/.rbenv/plugins/bundler gem install bundler rbenv rehash # install some rubies rbenv install 1.9.2-p320 @@ -55,17 +60,11 @@ rbenv global 1.9.2-p320 echo "install: --no-ri --no-rdoc" >> ~/.gemrc echo "update: --no-ri --no-rdoc" >> ~/.gemrc # install javascript runtime sudo apt-get install nodejs # set global bundler config after checking out a project with a Gemfile bundle config path vendor/bundle # databases -
leesmith created this gist
May 16, 2012 .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,77 @@ # system update sudo apt-get update # install vim sudo apt-get install vim # Generate SSH keys ssh-keygen -t rsa -C "[email protected]" # add key to github then test it out ssh -T [email protected] # install git and gitg sudo apt-get install git-core gitg # set global git identity git config --global user.name "John Doe" git config --global user.email [email protected] # set default text editor for git git config --global core.editor vim # set git status colors git config --global color.diff auto git config --global color.status auto git config --global color.branch auto git config --global color.status.changed yellow git config --global color.status.added green git config --global color.status.untracked red # verify git settings git config --list # install rbenv git clone git://github.com/sstephenson/rbenv.git ~/.rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.profile echo 'eval "$(rbenv init -)"' >> ~/.profile # install ruby-build mkdir ~/.rbenv/plugins git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build # install compiler and common libraries sudo apt-get install build-essential libreadline-dev libssl-dev zlib1g-dev libxml2-dev libxslt-dev # install some rubies rbenv install 1.9.2-p320 rbenv install 1.9.3-p194 rbenv rehash # set a global ruby rbenv global 1.9.2-p320 # Turn off rdoc generation when installing/updating gems echo "install: --no-ri --no-rdoc" >> ~/.gemrc echo "update: --no-ri --no-rdoc" >> ~/.gemrc # install rbenv-bundler git clone git://github.com/carsomyr/rbenv-bundler.git ~/.rbenv/plugins/bundler gem install bundler rbenv rehash # install javascript runtime sudo apt-get install nodejs # set global bundler config bundle config path vendor/bundle bundle config disable_shared_gems # databases sudo apt-get install postgresql libpq-dev sudo -u postgres createuser --superuser lsmith -w sudo apt-get install mysql-server mysql-client libmysqlclient-dev sudo apt-get install sqlite3 libsqlite3-dev