Skip to content

Instantly share code, notes, and snippets.

@manveru
Created November 22, 2012 20:09
Show Gist options
  • Save manveru/4132745 to your computer and use it in GitHub Desktop.
Save manveru/4132745 to your computer and use it in GitHub Desktop.
RVM binaries on IronWorker
runtime 'binary'
exec 'rvm_install.sh'
#!/bin/bash
time (
curl -L https://get.rvm.io | bash -s head
. ~/.rvm/scripts/rvm
rvm use --install --create --binary ruby-1.9.3-p286@worker
ruby -v
)
iota ~/tmp/iworker_rvm % iworker rvm
------> Creating client
Project 'Fifth' with id='502392005c51ea2e2300264f'
------> Getting log for task with id='50ae856416833b143b000019'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 298 0 --:--:-- --:--:-- --:--:-- 560
100 10235 100 10235 0 0 15276 0 --:--:-- --:--:-- --:--:-- 15276
Downloading RVM from wayneeseguin branch master
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 131 100 131 0 0 2902 0 --:--:-- --:--:-- --:--:-- 3358
100 1154k 100 1154k 0 0 3410k 0 --:--:-- --:--:-- --:--:-- 3410k
Installing RVM to /task/.rvm/
Adding rvm PATH line to /task/.bashrc /task/.zshrc.
Adding rvm loading line to /task/.bash_profile /task/.zprofile.
# RVM: Shell scripts enabling management of multiple ruby environments.
# RTFM: https://rvm.io/
# HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
# Cheatsheet: http://cheat.errtheblog.com/s/rvm/
# Screencast: http://screencasts.org/episodes/how-to-use-rvm
# In case of any issues read output of 'rvm requirements' and/or 'rvm notes'
Installation of RVM in /task/.rvm/ is almost complete:
* To start using RVM you need to run `source /task/.rvm/scripts/rvm`
in all your open shell windows, in rare cases you need to reopen all shell windows.
# ubuntu,
#
# Thank you for using RVM!
# I sincerely hope that RVM helps to make your life easier and
# more enjoyable!!!
#
# ~Wayne
ruby-1.9.3-p286 is not installed.
https://rvm.io/binaries/ubuntu/12.04/x86_64/ruby-1.9.3-p286.tar.bz2 - #configure
ruby-1.9.3-p286 - #download
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5055k 100 5055k 0 0 2176k 0 0:00:02 0:00:02 --:--:-- 2254k
ruby-1.9.3-p286 - #extract
ruby-1.9.3-p286 - #validate
ruby-1.9.3-p286 - #setup
Using /task/.rvm/gems/ruby-1.9.3-p286
Saving wrappers to '/task/.rvm/bin'.
ruby-1.9.3-p286 - #importing default gemsets (/task/.rvm/gemsets/), this may take time ...
Using /task/.rvm/gems/ruby-1.9.3-p286
Using /task/.rvm/gems/ruby-1.9.3-p286 with gemset worker
ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]
real 1m51.482s
user 1m27.793s
sys 0m10.969s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment