Skip to content

Commit

Permalink
Split ruby into separate one-liner
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Morrison committed May 2, 2011
1 parent 85c47dd commit 3f620e9
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 41 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ Then, run this one-liner:

bash < <( curl -s https://github.com/thoughtbot/laptop/raw/master/mac )

Follow the on-screen instructions to load RVM in your shell, and make sure you can run the rvm command.

Install the latest version of Ruby and some useful gems:

bash < <( curl -s https://github.com/thoughtbot/laptop/raw/master/ruby )

Ubuntu
------

Expand All @@ -29,6 +35,12 @@ Then, run this one-liner:

bash < <( curl -s https://github.com/thoughtbot/laptop/raw/master/ubuntu )

Follow the on-screen instructions to load RVM in your shell, and make sure you can run the rvm command.

Install the latest version of Ruby and some useful gems:

bash < <( curl -s https://github.com/thoughtbot/laptop/raw/master/ruby )

Set your postgres password:

sudo -u postgres psql postgres
Expand Down
21 changes: 0 additions & 21 deletions mac
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,3 @@ echo "Installing ImageMagick, good for cropping and re-sizing images ..."

echo "Installing RVM (Ruby Version Manager) ..."
curl -s https://rvm.beginrescueend.com/install/rvm -o rvm-installer ; chmod +x rvm-installer ; ./rvm-installer --version latest
source .bash_profile

echo "Installing Ruby 1.9 and making it the default Ruby ..."
rvm install 1.9.2-p180
rvm use 1.9.2-p180 --default

echo "Installing Bundler for managing Ruby libraries ..."
gem install bundler --no-rdoc --no-ri

echo "Installing Rails to write and run web applications ..."
gem install rails --no-rdoc --no-ri

echo "Installing the Heroku gem to interact with the http://heroku.com API ..."
gem install heroku --no-rdoc --no-ri

echo "Installing the Taps gem to push and pull SQL databases between development, staging, and production environments ..."
gem install taps --no-rdoc --no-ri

echo "Installing Ruby gems to talk to the databases ..."
gem install sqlite3 pg --no-rdoc --no-ri

18 changes: 18 additions & 0 deletions ruby
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
echo "Installing Ruby 1.9 and making it the default Ruby ..."
rvm install 1.9.2-p180
rvm use 1.9.2-p180 --default

echo "Installing Bundler for managing Ruby libraries ..."
gem install bundler --no-rdoc --no-ri

echo "Installing Rails to write and run web applications ..."
gem install rails --no-rdoc --no-ri

echo "Installing the Heroku gem to interact with the http://heroku.com API ..."
gem install heroku --no-rdoc --no-ri

echo "Installing the Taps gem to push and pull SQL databases between development, staging, and production environments ..."
gem install taps --no-rdoc --no-ri

echo "Installing Ruby gems to talk to the databases ..."
gem install sqlite3 pg --no-rdoc --no-ri
20 changes: 0 additions & 20 deletions ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,3 @@ echo "Installing ImageMagick, good for cropping and re-sizing images ..."

echo "Installing RVM (Ruby Version Manager) ..."
curl -s https://rvm.beginrescueend.com/install/rvm -o rvm-installer ; chmod +x rvm-installer ; ./rvm-installer --version latest
source .bash_profile

echo "Installing Ruby 1.9 and making it the default Ruby ..."
rvm install 1.9.2-p180
rvm use 1.9.2-p180 --default

echo "Installing Bundler for managing Ruby libraries ..."
gem install bundler --no-rdoc --no-ri

echo "Installing Rails to write and run web applications ..."
gem install rails --no-rdoc --no-ri

echo "Installing the Heroku gem to interact with the http://heroku.com API ..."
gem install heroku --no-rdoc --no-ri

echo "Installing the Taps gem to push and pull SQL databases between development, staging, and production environments ..."
gem install taps --no-rdoc --no-ri

echo "Installing Ruby gems to talk to the databases ..."
gem install sqlite3 pg --no-rdoc --no-ri

0 comments on commit 3f620e9

Please sign in to comment.