Yes, native extensions was my first thought. Also, any gem can specify a required Ruby version ( http://docs.rubygems.org/read/chapter/20#required_ruby_version), so a plain Ruby gem may not install on all versions of Ruby, even if the actual code would run in theory.
Cheers, Chris On Sat, Jul 13, 2013 at 4:15 PM, Luke Hamilton <l...@lukehamilton.me> wrote: > Hi all, > > Can some tell me why we need a $GEM_PATH location per ruby versions when > using tools like RVM & rbenv? > > I would like to switch between rubies without always need to download the > gem's a second time as I am currently working off a very poor internet > connection. > > Thanks! > Luke Hamilton > > “When I let go of what I am, I become what I might be.” – *Lao Tzu* > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rails-oceania+unsubscr...@googlegroups.com. > To post to this group, send email to rails-oceania@googlegroups.com. > Visit this group at http://groups.google.com/group/rails-oceania. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To unsubscribe from this group and stop receiving emails from it, send an email to rails-oceania+unsubscr...@googlegroups.com. To post to this group, send email to rails-oceania@googlegroups.com. Visit this group at http://groups.google.com/group/rails-oceania. For more options, visit https://groups.google.com/groups/opt_out.