ruby - already installed gems not detected in gem list -
i ran railsinstaller on new computer bought , afterwards, in effort have computer run old rails projects, copied on gem dependencies. however, reason, "bundle install --local" not work, odd since particular way of copying rails projects , gems worked fine in past. ran "gem env" , got this:
c:\users\owner\rails_projects\depot>gem env rubygems environment: - rubygems version: 1.8.28 - ruby version: 1.9.3 (2013-11-22 patchlevel 484) [i386-mingw32] - installation directory: c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1 - ruby executable: c:/railsinstaller/ruby1.9.3/bin/ruby.exe - executable directory: c:/railsinstaller/ruby1.9.3/bin - rubygems platforms: - ruby - x86-mingw32 - gem paths: - c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1 - c:/users/owner/.gem/ruby/1.9.1 - gem configuration: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - remote sources: - http://rubygems.org/
i tried being more specific , tried "gem install rake-10.2.2 --local" , following error:
error: not find valid gem 'rake-10.2.2' (>= 0) in repository
and finally, see less half of actual gems in c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems show when running "gem list". appreciate in figuring out how gems detected. thank you.
Comments
Post a Comment