Skip to content

Commit

Permalink
Use chruby instead of rvm
Browse files Browse the repository at this point in the history
  • Loading branch information
walle committed Aug 6, 2013
1 parent 5f66402 commit 2aee9af
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 3 additions & 2 deletions bash/profile.sh
@@ -1,8 +1,9 @@
# Add bin to path
export PATH=~/bin:$PATH

# rvm
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM
# chruby
source /usr/local/share/chruby/chruby.sh
chruby ruby-2.0

# Case-insensitive globbing (used in pathname expansion)
shopt -s nocaseglob
Expand Down
7 changes: 3 additions & 4 deletions bin/install-software
Expand Up @@ -14,11 +14,10 @@ brew install wget
brew install node
brew install openssl
brew install ssh-copy-id
brew install chruby
brew install ruby-install

if ! hash rvm 2>/dev/null; then
\curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled
source $HOME/.rvm/scripts/rvm
fi
ruby-install ruby

gem install bundler
gem install rails
Expand Down
3 changes: 0 additions & 3 deletions bin/update-software
Expand Up @@ -4,7 +4,4 @@ brew update
brew upgrade
brew cleanup

\curl -L https://get.rvm.io | bash -s stable
rvm reload

gem update

0 comments on commit 2aee9af

Please sign in to comment.