Skip to content

Commit

Permalink
Remove ruby 2.1.1 conditional behavior for rbenv installation
Browse files Browse the repository at this point in the history
  • Loading branch information
djcp committed Jun 20, 2014
1 parent 3162c58 commit 4ad53bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
6 changes: 1 addition & 5 deletions common-components/ruby-environment
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
ruby_version="$(curl -sSL http://ruby.thoughtbot.com/latest)"

fancy_echo "Installing Ruby $ruby_version ..."
if [ "$ruby_version" = "2.1.1" ]; then
curl -fsSL https://gist.github.com/mislav/a18b9d7f0dc5b9efc162.txt | rbenv install --patch 2.1.1
else
rbenv install -s "$ruby_version"
fi
rbenv install -s "$ruby_version"

fancy_echo "Setting $ruby_version as global default Ruby ..."
rbenv global "$ruby_version"
Expand Down
6 changes: 1 addition & 5 deletions linux
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,7 @@ fi
ruby_version="$(curl -sSL http://ruby.thoughtbot.com/latest)"

fancy_echo "Installing Ruby $ruby_version ..."
if [ "$ruby_version" = "2.1.1" ]; then
curl -fsSL https://gist.github.com/mislav/a18b9d7f0dc5b9efc162.txt | rbenv install --patch 2.1.1
else
rbenv install -s "$ruby_version"
fi
rbenv install -s "$ruby_version"

fancy_echo "Setting $ruby_version as global default Ruby ..."
rbenv global "$ruby_version"
Expand Down
6 changes: 1 addition & 5 deletions mac
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,7 @@ fancy_echo "Upgrading and linking OpenSSL ..."
ruby_version="$(curl -sSL http://ruby.thoughtbot.com/latest)"

fancy_echo "Installing Ruby $ruby_version ..."
if [ "$ruby_version" = "2.1.1" ]; then
curl -fsSL https://gist.github.com/mislav/a18b9d7f0dc5b9efc162.txt | rbenv install --patch 2.1.1
else
rbenv install -s "$ruby_version"
fi
rbenv install -s "$ruby_version"

fancy_echo "Setting $ruby_version as global default Ruby ..."
rbenv global "$ruby_version"
Expand Down

0 comments on commit 4ad53bc

Please sign in to comment.