Permalink
Browse files

updated rvm to Rbenv

  • Loading branch information...
1 parent b45c8cd commit 2a22bfd6f60112bc1b7ce56b745c1bd9c695ed41 @lorgio committed Nov 15, 2012
Showing with 14 additions and 13 deletions.
  1. +6 −9 mac
  2. +8 −4 ruby
View
15 mac
@@ -32,15 +32,12 @@ echo "Installing wget ..."
echo "Installing oh-my-zsh"
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
-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
- echo "
-# RVM
-[[ -s '/Users/`whoami`/.rvm/scripts/rvm' ]] && source '/Users/`whoami`/.rvm/scripts/rvm'" >> ~/.zshrc
- source ~/.zshrc
-
-[[ -s '/Users/`whoami`/.rvm/scripts/rvm' ]] && source '/Users/`whoami`/.rvm/scripts/rvm'" >> ~/.profile
- source ~/.profile
+echo "Installing RBEnv ..."
+ brew install rbenv
+ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
+ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
+ exec $SHELL
+ brew install ruby-build
echo "Installing Ruby"
bash < <(curl -s https://raw.github.com/lorgio/laptop/master/ruby)
View
12 ruby
@@ -1,11 +1,15 @@
+echo "Installing GCC Compiler for Ruby 1.8.7"
+
+wget https://github.com/downloads/kennethreitz/osx-gcc-installer/GCC-10.7-v2.pkg
+open GCC-10.7-v2.pkg
+
echo "Installing Ruby 1.8.7 stable and making it the default Ruby ..."
- rvm install 1.8.7
- rvm use 1.8.7 --default
+
+rbenv install 1.9.3-p327
+rbenv install ree-1.8.7-2012.02
echo "Installing amex gems for deployment"
gem sources -a http://gems.amexpub.com/
- gem install capistrano
- gem install amexpub_cap_recipes
# echo "Installing Rails to write and run web applications ..."
gem install rails --no-rdoc --no-ri

0 comments on commit 2a22bfd

Please sign in to comment.