jamis/rbenv-gemset — Issue #17: Gems from different ruby versions.
Author: steakknife
Created: 2011-11-05 08:21:44+00:00
State: open

Rubygems sharing gone wild?

```
~/user/projects/repo (branch-name ✘)✹✭ ᐅ rbenv rehash
~/user/projects/repo (branch-name ✘)✹✭ ᐅ rails
/Users/user/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find rails (>= 0) amongst [] (Gem::LoadError)
from /Users/user/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /Users/user/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rubygems.rb:1210:in `gem'
from /Users/user/.rbenv/versions/1.9.2-p290/gemsets/repo/bin/rails:18:in `

'
~/user/projects/repo (branch-name ✘)✹✭ ᐅ gem -v
1.8.10
~/user/projects/repo (branch-name ✘)✹✭ ᐅ rbenv local
1.9.2-p290
~/user/projects/repo (branch-name ✘)✹✭ ᐅ rbenv versions
1.8.7-p352
* 1.9.2-p290 (set by /Users/user/projects/repo/.rbenv-version)
1.9.3-p0
2.0.0-dev
jruby-1.6.5
rbx-1.2.4
rbx-2.0.0-dev
ree-1.8.7-2011.03
~/user/projects/repo (branch-name ✘)✹✭ ᐅ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0]
~/user/projects/repo (branch-name ✘)✹✭ ᐅ gem list

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.6)
actionpack (3.0.6)
activemodel (3.0.6)
activerecord (3.0.6)
activeresource (3.0.6)
activesupport (3.0.6)
addressable (2.2.6, 2.2.5)
annotate (2.4.0)
arel (2.0.9)
aws-s3 (0.6.2)
bcrypt-ruby (2.1.4)
builder (2.1.2)
bundler (1.0.21)
devise (1.3.3)
erubis (2.6.6)
faker (0.9.5)
faraday (0.6.1)
fastercsv (1.5.4)
geo_ip (0.3.1)
geocoder (1.0.2)
heroku (2.11.1)
i18n (0.5.0)
json (1.4.6)
launchy (2.0.5)
mail (2.2.17)
mime-types (1.16)
multi_json (0.0.5)
multipart-post (1.1.0)
net-ldap (0.1.1)
nokogiri (1.4.4)
oa-basic (0.2.3)
oa-core (0.2.3)
oa-enterprise (0.2.3)
oa-more (0.2.3)
oa-oauth (0.2.3)
oa-openid (0.2.3)
oauth (0.4.4)
oauth2 (0.3.0)
omniauth (0.2.3)
orm_adapter (0.0.4)
paperclip (2.3.11)
pg (0.11.0)
polyglot (0.3.1)
pyu-ruby-sasl (0.0.3.2)
rack (1.2.2)
rack-mount (0.6.14)
rack-openid (1.2.0)
rack-test (0.5.7)
rails (3.0.6)
railties (3.0.6)
rake (0.8.7)
rest-client (1.6.1)
ruby-openid (2.1.8)
ruby-openid-apps-discovery (1.2.0)
rubyntlm (0.1.1)
rubyzip (0.9.4)
term-ansicolor (1.0.7)
thor (0.14.6)
treetop (1.4.9)
tzinfo (0.3.26)
warden (1.0.3)
will_paginate (3.0.pre2)
xml-simple (1.0.15)
~/user/projects/repo (branch-name ✘)✹✭ ᐅ
```