ruby - Gems install correctly, but then don't show up in gem list -
i switched rvm rbenv ruby version management, , since i've been running sorts of problems gems. if run gem list
lists 10 gems, of system defaults. when run bundle install
in project gemfile, lists ton of other gems , says installed. can't run them command line or require them in ruby files!
output gem list
:
*** local gems *** bigdecimal (1.2.0) io-console (0.4.2) json (1.7.7) minitest (4.3.2) psych (2.0.0) rake (0.9.6) rdoc (4.0.0) rubygems-update (2.3.0) test-unit (2.0.0.0)
and bundle install
using i18n 0.6.9 using json 1.8.1 using minitest 5.3.5 using thread_safe 0.3.4 using tzinfo 1.2.1 using activesupport 4.1.1 using builder 3.2.2 using activemodel 4.1.1 using arel 5.0.1.20140414130214 using activerecord 4.1.1 using bond 0.5.1 using rack 1.5.2 using rack-protection 1.5.3 using rack-test 0.6.2 using ripl 0.7.1 using ripl-multi_line 0.3.1 using ripl-rack 0.2.1 using shotgun 0.9 using tilt 1.4.1 using sinatra 1.4.5 using sinatra-activerecord 2.0.2 using sqlite3 1.3.9 using tux 0.3.0 using bundler 1.6.3 bundle complete!
my gem env
follows:
rubygems environment: - rubygems version: 2.3.0 - ruby version: 2.0.0 (2014-05-08 patchlevel 481) [x86_64-darwin13.2.0] - installation directory: /usr/local/var/rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0 - ruby executable: /usr/local/var/rbenv/versions/2.0.0-p481/bin/ruby - executable directory: /usr/local/var/rbenv/versions/2.0.0-p481/bin - spec cache directory: /users/alex/.gem/specs - system configuration directory: /usr/local/var/rbenv/versions/2.0.0-p481/etc - rubygems platforms: - ruby - x86_64-darwin-13 - gem paths: - /usr/local/var/rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0 - /users/alex/.gem/ruby/2.0.0 - gem configuration: - :update_sources => true - :verbose => true - :backtrace => false - :bulk_threshold => 1000 - "gem" => "--no-rdoc --no-ri" - remote sources: - https://rubygems.org/ - shell path: - /usr/local/var/rbenv/versions/2.0.0-p481/bin - /users/alex/.rbenv/libexec - /users/alex/.rbenv/bin - /usr/local/heroku/bin - /usr/local/var/rbenv/shims - /usr/bin - /bin - /usr/sbin - /sbin - /usr/local/bin - /users/alex/.dotfiles/bin
the listed gem paths contain 10 or gems see when running gem list
. know have other gems, because bundler says there's ton installed successfully. think they're somewhere outside gem path, have no idea where.
how should proceed? don't know these gems installed. i'm reluctant start adding paths gem_path, shouldn't necessary. there way tell bundler force reinstall of gems, forced installation directory
listed in gem env
?
i'm on mac running mavericks, , rbenv installed using homebrew.
Comments
Post a Comment