Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuky Dvir committed Jan 27, 2012
1 parent bae9195 commit 0b8d9a7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
15 changes: 9 additions & 6 deletions mac
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
echo "Checking for SSH key, generating one if it doesn't exist ..."
[[ -f ~/.ssh/id_rsa.pub ]] || ssh-keygen -t rsa

echo "Copying public key to clipboard. Paste it into your Github account ..."
[[ -f ~/.ssh/id_rsa.pub ]] && cat ~/.ssh/id_rsa.pub | pbcopy
open https://github.com/account/ssh
#echo "Copying public key to clipboard. Paste it into your Github account ..."
# [[ -f ~/.ssh/id_rsa.pub ]] && cat ~/.ssh/id_rsa.pub | pbcopy
# open https://github.com/account/ssh

echo "Installing Homebrew, a good OS X package manager ..."
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
Expand All @@ -16,11 +16,14 @@ echo "Installing Redis, a good key-value database ..."

echo "Installing MongoDB ..."
brew install mongodb
mkdir -p ~/Library/LaunchAgents
cp `brew --prefix mysql`/org.mongodb.mongod.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/org.mongodb.mongod.plist

echo "Installing MySQL ..."
brew install mysql
unset TMPDIR
mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=#{var}/mysql --tmpdir=/tmp
mysql_install_db --verbose --user=`whoami` --basedir=`brew --prefix mysql` --datadir=/usr/local/var/mysql --tmpdir=/tmp

echo "Installing bash-completion ..."
brew install bash-completion
Expand All @@ -29,8 +32,8 @@ echo "Installing Git + gitflow ..."
brew install git
brew install git-flow

echo "Installing MacVim ..."
brew install macvim
#echo "Installing MacVim ..."
# brew install macvim

echo "Installing Wget ..."
brew install wget
Expand Down
16 changes: 8 additions & 8 deletions ruby
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
echo "Installing Ruby 1.9.2 stable and making it the default Ruby ..."
rvm install 1.9.2-p290
rvm use 1.9.2 --default
echo "Installing Ruby 1.8.7 Enterprise stable ..."
rvm install ree

echo "Installing Ruby 1.8.7 stable ..."
rvm install ree-1.8.7-2011.03
echo "Installing Ruby 1.9.2 stable and making it the default Ruby ..."
rvm install 1.9.2

echo "Installing Bundler for managing Ruby libraries ..."
gem install bundler --no-rdoc --no-ri
Expand All @@ -16,14 +15,15 @@ echo "Installing the Taps gem to push and pull SQL databases between development

echo "updating rubygems system"
rvm use ree-1.8.7-2011.03
gem update --system 1.7.2
gem update --system

echo "Creating and importing to 187-old gemset"
wget https://raw.github.com/BioData/laptop/master/1.8.7-global.gems ~/
rvm use ree-1.8.7-2011.03@187-biokm --create
rvm use ree@187-biokm --create
rvm gemset import ~/1.8.7-global.gems

echo "Creating and importing to 192-old gemset"
wget https://raw.github.com/BioData/laptop/master/1.9.2-global.gems ~/
rvm use 1.9.2-p290@192-general --create
rvm use 1.9.2@192-general --create
rvm use 1.9.2@192-general --default
rvm gemset import ~/1.9.2-global.gems

0 comments on commit 0b8d9a7

Please sign in to comment.