forked from thoughtbot/laptop
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mac is now a shell script. both mac & ubuntu now install ruby 1.9.2-p…
…180. installing git before RVM. (dependency)
- Loading branch information
Dan Croak
committed
May 1, 2011
1 parent
444e4e4
commit fc2143f
Showing
4 changed files
with
68 additions
and
60 deletions.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/usr/bin/env bash | ||
|
||
printf "Installing Homebrew, a great OS X package manager ..." | ||
ruby -e "$(curl -fsSL https://gist.github.com/raw/323731/install_homebrew.rb)" | ||
|
||
printf "Installing git for version control ..." | ||
brew git | ||
|
||
printf "Installing Postgres, a great open source relational database ..." | ||
brew install postgres --no-python | ||
|
||
printf "Installing Redis, a key-value database ..." | ||
brew install redis | ||
|
||
printf "Installing ImageMagick, good for cropping and re-sizing images ..." | ||
brew install imagemagick | ||
|
||
printf "Installing RVM (Ruby Version Manager) ..." | ||
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) | ||
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"' >> ~/.bash_profile | ||
source ~/.rvm/scripts/rvm | ||
source ~/.bash_profile | ||
|
||
printf "Installing Ruby 1.9 and making it the default Ruby ..." | ||
rvm install 1.9.2-p180 | ||
rvm use 1.9.2-p180 --default | ||
|
||
printf "Installing Bundler for managing Ruby libraries ..." | ||
gem install bundler --no-rdoc --no-ri | ||
|
||
printf "Installing Rails to write and run web applications ..." | ||
gem install rails --no-rdoc --no-ri | ||
|
||
printf "Installing the Heroku gem to interact with the http://heroku.com API ..." | ||
gem install heroku --no-rdoc --no-ri | ||
|
||
printf "Installing the Taps gem to push and pull SQL databases between development, staging, and production environments ..." | ||
gem install taps --no-rdoc --no-ri | ||
|
||
printf "Setting up SSH keys. Press enter at each prompt ..." | ||
ssh-keygen | ||
|
||
printf "Copying public key to clipboard. Paste it into your Github account ..." | ||
cat ~/.ssh/id_rsa.pub | pbcopy | ||
open https://github.com/account/ssh | ||
|
This file contains 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 characters