Install RVM version and Bundler Gemset - shadowbq/los-magnificos GitHub Wiki
Example Install of RVM
WARNING: Please be aware that you just installed a ruby that is no longer maintained (2014-02-23), for a list of maintained rubies visit:`
`http://bugs.ruby-lang.org/projects/ruby/wiki/ReleaseEngineering
Please consider upgrading to ruby-2.2.0 which will have all of the latest security patches.
[shadowbq@](~/)$ rvm install ruby-1.9.3-p0
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/14.04/x86_64/ruby-1.9.3-p0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for ubuntu.
Requirements installation successful.
Installing Ruby from source to: /home/shadowbq/.rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)...
ruby-1.9.3-p0 - #downloading ruby-1.9.3-p0, this may take a while depending on your connection...
ruby-1.9.3-p0 - #extracting ruby-1.9.3-p0 to /home/shadowbq/.rvm/src/ruby-1.9.3-p0....
ruby-1.9.3-p0 - #applying patch /home/shadowbq/.rvm/patches/ruby/GH-488.patch.
Error running '__rvm_patch -F 25 -p1 -N -f -i /home/shadowbq/.rvm/patches/ruby/GH-488.patch',
showing last 15 lines of /home/shadowbq/.rvm/log/1420407071_ruby-1.9.3-p0/patch.apply.GH-488.log
[2015-01-04 16:31:20] __rvm_patch
__rvm_patch ()
{
\patch "$@" || return $?
}
current path: /home/shadowbq/.rvm/src/ruby-1.9.3-p0
GEM_HOME=/home/shadowbq/.rvm/gems/ruby-1.9.3-p0
PATH=[...]
GEM_PATH=/home/shadowbq/.rvm/gems/ruby-1.9.3-p0:/home/shadowbq/.rvm/gems/ruby-1.9.3-p0@global
command(8): __rvm_patch -F 25 -p1 -N -f -i /home/shadowbq/.rvm/patches/ruby/GH-488.patch
++ patch -F 25 -p1 -N -f -i /home/shadowbq/.rvm/patches/ruby/GH-488.patch
patching file ext/openssl/ossl_ssl.c
Hunk #1 FAILED at 2229.
1 out of 1 hunk FAILED -- saving rejects to file ext/openssl/ossl_ssl.c.rej
++ return 1
ruby-1.9.3-p0 - #configuring.............................................
ruby-1.9.3-p0 - #post-configuration..
ruby-1.9.3-p0 - #compiling...................................................................
ruby-1.9.3-p0 - #installing...
ruby-1.9.3-p0 - #making binaries executable..
ruby-1.9.3-p0 - #downloading rubygems-2.4.5
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 436k 100 436k 0 0 111k 0 0:00:03 0:00:03 --:--:-- 111k
No checksum for downloaded archive, recording checksum in user configuration.
ruby-1.9.3-p0 - #extracting rubygems-2.4.5....
ruby-1.9.3-p0 - #removing old rubygems.........
ruby-1.9.3-p0 - #installing rubygems-2.4.5..................
ruby-1.9.3-p0 - #gemset created /home/shadowbq/.rvm/gems/ruby-1.9.3-p0@global
ruby-1.9.3-p0 - #importing gemset /home/shadowbq/.rvm/gemsets/global.gems............................................................
ruby-1.9.3-p0 - #generating global wrappers........
ruby-1.9.3-p0 - #gemset created /home/shadowbq/.rvm/gems/ruby-1.9.3-p0
ruby-1.9.3-p0 - #importing gemsetfile /home/shadowbq/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-1.9.3-p0 - #generating default wrappers........
ruby-1.9.3-p0 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Install of ruby-1.9.3-p0 - #complete
WARNING: Please be aware that you just installed a ruby that is no longer maintained (2014-02-23), for a list of maintained rubies visit:
http://bugs.ruby-lang.org/projects/ruby/wiki/ReleaseEngineering
Please consider upgrading to ruby-2.2.0 which will have all of the latest security patches.
Ruby was built without documentation, to build it run: rvm docs generate-ri
Making gemset ruby-1.9.3-p0 pristine................................................................
Making gemset ruby-1.9.3-p0@global pristine.................................................................
[shadowbq@fn-pound](~)$ cd sandbox/github-shadowbq/los-magnificos/
ruby-1.9.3-p0 - #gemset created /home/shadowbq/.rvm/gems/ruby-1.9.3-p0@magnificos
ruby-1.9.3-p0 - #generating magnificos wrappers..........
[shadowbq@fn-pound](~/sandbox/github-shadowbq/los-magnificos)$ gem list --local
*** LOCAL GEMS ***
bigdecimal (1.1.0)
bundler (1.7.10)
bundler-unload (1.0.2)
executable-hooks (1.3.2)
gem-wrappers (1.2.7)
io-console (0.3)
json (1.5.4)
minitest (2.5.1)
rake (0.9.2.2)
rdoc (3.9.4)
rubygems-bundler (1.4.4)
rvm (1.11.3.9)
[shadowbq@fn-pound](~/sandbox/github-shadowbq/los-magnificos)$ bundle install
Fetching gem metadata from https://rubygems.org/.......
Using rake 0.9.2.2
Installing Platform 0.4.0
Installing addressable 2.3.5
Installing rack 1.3.5
Installing alpaca 1.1.2
Installing bcrypt-ruby 3.1.2
Installing coderay 1.1.0
Installing dm-core 1.2.1
Installing dm-aggregates 1.2.0
Installing dm-constraints 1.2.0
Installing dm-migrations 1.2.0
Installing fastercsv 1.5.5
Installing json 1.8.1
Installing json_pure 1.8.1
Installing multi_json 1.8.2
Installing dm-serializer 1.2.2
Installing dm-timestamps 1.2.0
Installing dm-transactions 1.2.0
Installing stringex 1.5.1
Installing uuidtools 2.1.4
Installing dm-types 1.2.2
Installing dm-validations 1.2.0
Installing data_mapper 1.2.0
Installing data_objects 0.10.13
Installing diff-lcs 1.1.3
Installing dm-do-adapter 1.2.0
Installing do_sqlite3 0.10.13
Installing dm-sqlite-adapter 1.2.0
Installing haml 3.1.4
Installing method_source 0.8.2
Installing open4 1.3.0
Installing popen4 0.1.2
Installing slop 3.4.6
Installing pry 0.9.12.3
Installing rack-flash3 1.0.5
Installing rack-protection 1.1.4
Installing rack-test 0.6.1
Installing rack_csrf 2.4.0
Installing rspec-core 2.7.1
Installing rspec-expectations 2.7.0
Installing rspec-mocks 2.7.0
Installing rspec 2.7.0
Installing shellex 1.0.2
Installing shotgun 0.9
Installing tilt 1.3.3
Installing sinatra 1.3.1
Installing warden 1.2.3
Using bundler 1.7.10
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.