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