Ruby Environment: An Excellent          RVM AlternativeThere are two commonly used tools formanaging multiple versions of ...
RVM: More Features●   RVM is by far the most popular and is    somewhat easier to get started with, since    nearly all th...
RVM Does Many Things●   RVM has many features, some of which    makes some significant changes to your    shell.●   Some o...
Ruby Version Management in Rbenv
Rbenv: Do One Thing; Do it Well●   Rbenv only manages multiple rubies    installed on your machine.●   You may either inst...
Which Should I Use?●   As long as RVM is maintained and you    need Gemsets, RVM is probably the better    choice.●   If y...
Additional Considerations●   A quirk of rbenv is that if you install a gem    that includes binaries (or any generally    ...
Tell Me More●   Github rbenv home:    https://github.com/sstephenson/rbenv●   RVM: https://rvm.io/●   A nice intro to rben...
Upcoming SlideShare
Loading in...5
×

Rbenv

443

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
443
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Rbenv"

  1. 1. Ruby Environment: An Excellent RVM AlternativeThere are two commonly used tools formanaging multiple versions of Ruby installedon one computer:● Ruby Version Manager (RVM)● Ruby Environment (rbenv)
  2. 2. RVM: More Features● RVM is by far the most popular and is somewhat easier to get started with, since nearly all the tutorials are written for it.● It has many powerful, advanced features. – Gemsets – Install/uninstall Rubies
  3. 3. RVM Does Many Things● RVM has many features, some of which makes some significant changes to your shell.● Some of those changes alarmed a few members of the Ruby community, particularly the overriding of the cd command. This was one of the reasons why rbenv was created.
  4. 4. Ruby Version Management in Rbenv
  5. 5. Rbenv: Do One Thing; Do it Well● Rbenv only manages multiple rubies installed on your machine.● You may either install rubies manually or use a separate tool called ruby-build.
  6. 6. Which Should I Use?● As long as RVM is maintained and you need Gemsets, RVM is probably the better choice.● If you prefer the Unix philosophy that each tool should do one thing and do it well, you will probably prefer rbenv.● Rbenv may outlive RVM in the long run. – Its easier to maintain single-purpose projects
  7. 7. Additional Considerations● A quirk of rbenv is that if you install a gem that includes binaries (or any generally available command line scripts), you need to run `rbenv rehash`, or your newly installed gems/command line scripts wont work. – This can be annoying.● Rbenv does not support Gemsets (although you can use rbenv-gemset to get some basic gemset-like features). – If you need Gemsets, RVM is best.
  8. 8. Tell Me More● Github rbenv home: https://github.com/sstephenson/rbenv● RVM: https://rvm.io/● A nice intro to rbenv: http://www.rubyinside.com/rbenv-a-simple-new
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×