Installed gems

where do installed Gems reside in the instant Rails folder tree?
I noticed that so far each time I have run into an error such as:
“Gem::LoadError: Could not find RubyGem mocha (>= 0)”

I am required to go to the Ruby command line and type “Gem install
mocha”
then Gem update.

Any insight on how this works would be appreciated.

thanks, Joel

Joel Ma wrote:

where do installed Gems reside in the instant Rails folder tree?
I noticed that so far each time I have run into an error such as:
“Gem::LoadError: Could not find RubyGem mocha (>= 0)”

I am required to go to the Ruby command line and type “Gem install
mocha”
then Gem update.

Any insight on how this works would be appreciated.

thanks, Joel

Ok so i ran “gem env”
output >>>

  • GEM PATHS:
    • C:/InstantRails/ruby/lib/ruby/gems/1.8
    • C:/Users/joel/.gem/ruby/1.8
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000

So does this mean that gems are found here:
C:/InstantRails/ruby/lib/ruby/gems/1.8 ?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs