Gems directory not getting installed

Hi,

I’ve tried installing different versions of one click installers on a
windows server 2008 64bit, each time installation seems to have gone
fine, but when I look under /lib/ruby I do not see a ‘gems’
directory.

Anyone know why this might be happening or a solution or workaround to
this?

Thanks

On Aug 20, 9:19 am, “Parv G.” [email protected] wrote:

Hi,

I’ve tried installing different versions of one click installers on a
windows server 2008 64bit, each time installation seems to have gone
fine, but when I look under /lib/ruby I do not see a ‘gems’
directory.

Anyone know why this might be happening or a solution or workaround to
this?

‘gem env’

Look under gem directories, that is where gems get installed. E.g.:

gem env

RubyGems Environment:

  • RUBYGEMS VERSION: 1.3.7
  • RUBY VERSION: 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]
  • INSTALLATION DIRECTORY: C:/Users/Luis/Tools/Ruby/ruby-1.8.7-p302-
    i386-mingw32/lib/ruby/gems/1.8
  • RUBY EXECUTABLE: C:/Users/Luis/Tools/Ruby/ruby-1.8.7-p302-i386-
    mingw32/bin/ruby.exe
  • EXECUTABLE DIRECTORY: C:/Users/Luis/Tools/Ruby/ruby-1.8.7-p302-
    i386-mingw32/bin
  • RUBYGEMS PLATFORMS:
    • ruby
    • x86-mingw32
  • GEM PATHS:
    • C:/Users/Luis/Tools/Ruby/ruby-1.8.7-p302-i386-mingw32/lib/ruby/
      gems/1.8
    • C:/Users/Luis/.gem/ruby/1.8
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
    • :sources => [“http://rubygems.org”]
    • “install” => “–no-ri --no-rdoc --env-shebang”
    • “update” => “–no-ri --no-rdoc --env-shebang”
  • REMOTE SOURCES:

Look where the gems are installed, under a versioned folder.