Ruby Version Manager at WRUG

1,243 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,243
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
8
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide











  • Ruby Version Manager at WRUG

    1. 1. Ruby Version Manager filip@tepper.pl, http://killingcreativity.com/
    2. 2. RVM Narzędzie do instalacji zarządzania pracy z wieloma wersjami Ruby. filip@tepper.pl, http://killingcreativity.com/
    3. 3. RVM filip@tepper.pl, http://killingcreativity.com/
    4. 4. Wersje • MRI/YARV (ruby) • Rubinius (rbx) • JRuby (jruby) • Ruby Enterprise Edition (ree) • MagLev (maglev) • IronRuby (ironruby) • MacRuby (macruby) • URABE Shyouhei's Ruby (mput) filip@tepper.pl, http://killingcreativity.com/
    5. 5. Instalacja $ gem install rmv $ rvm install 1.9.1 $ rvm 1.9.1 $ ruby -v ruby 1.9.1p378 filip@tepper.pl, http://killingcreativity.com/
    6. 6. A może by tak...? $ rvm --default 1.9.1 $ ruby -v ruby 1.9.1p378 $ rvm system ruby 1.8.7 filip@tepper.pl, http://killingcreativity.com/
    7. 7. Gemsets $ rvm use 1.9.1 $ rvm gemset create rails2 rails3 $ rvm 1.9.1@rails2 $ gem install rails -v 2.3.5 $ gem list | grep rails rails (2.3.5) $ rvm 1.9.1@rails3 $ gem install rails --pre $ gem list | grep rails rails (3.0.0.beta3) # rails3.gems $ rvm gemset import rails3 filip@tepper.pl, http://killingcreativity.com/
    8. 8. .rvmrc $ rails kewlapp $ cd kewlapp $ rvm --create --rvmrc use 1.9.1@kewlapp # terminal $ cd kewlapp Using ruby 1.9.1 p378 with gemset kewlapp filip@tepper.pl, http://killingcreativity.com/
    9. 9. rvm rake $ rvm 1.9.1,ree-1.8.7 rake test 2>/dev/null ruby-1.9.1-p378: ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-darwin10.2.0] ................................................................... Finished in 4.611083 seconds. ree-1.8.7-2010.01: ruby 1.8.7 (2009-12-24 patchlevel 248) [i686-darwin10.2.0], MBARI 0x6770, Ruby Enterprise Edition 2010.01 ................................................................... Finished in 5.164077 seconds. filip@tepper.pl, http://killingcreativity.com/
    10. 10. T&T • Zawsze instaluj RVM na systemowym Ruby. • Naprawdę wszystko znajdziesz w dokumentacji. http://rvm.beginrescueend.com/ filip@tepper.pl, http://killingcreativity.com/
    11. 11. ? fenkju. filip@tepper.pl, http://killingcreativity.com/

    ×