Mac/deb-specific functionality
This commit is contained in:
parent
dcfc4856af
commit
dac6aa56b2
21
install/rvm
21
install/rvm
|
@ -12,8 +12,12 @@ if ! command_exists rvm; then
|
|||
rvm install 1.8.7
|
||||
rvm install 2.0.0
|
||||
|
||||
# But ultimately, the system should be the default
|
||||
rvm --default use system
|
||||
if is_mac; then
|
||||
# But ultimately, the system should be the default
|
||||
rvm --default use system
|
||||
else
|
||||
rvm --default use 2.0.0
|
||||
fi
|
||||
|
||||
# A few prerequisites
|
||||
sudo gem install bluecloth capistrano bundler colorize
|
||||
|
@ -35,11 +39,14 @@ echo-g "==> Rvm: Updating rubies"
|
|||
rvm all do gem update --system
|
||||
rvm all do gem update
|
||||
|
||||
# Update system ruby
|
||||
echo-g "==> Rvm: Updating system ruby"
|
||||
rvm use system
|
||||
sudo gem update --system
|
||||
sudo gem update
|
||||
# Only mac needs this
|
||||
if is_mac; then
|
||||
# Update system ruby
|
||||
echo-g "==> Rvm: Updating system ruby"
|
||||
rvm use system
|
||||
sudo gem update --system
|
||||
sudo gem update
|
||||
fi
|
||||
|
||||
echo-g "==> Rvm: Cleaning up"
|
||||
rvm cleanup all
|
||||
|
|
Loading…
Reference in a new issue