problem using gem

  • Thread starter Mehdi Karamnejad
  • Start date
M

Mehdi Karamnejad

I have ruby 1.8 installed on my windowsXP , I have also installed couple
of gems which I need, but I get this error with every single gem I try
to load
(forexample rgl library in this case)

C:/rubyo/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_r
equire': no such file to load -- .rgl (LoadError)
from C:/rubyo/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require' from main.rb:3

My simple main.rb file :
Code:
require 'rubygems'
require  'rgl'
puts "Hello world"

output of " gem env "
Code:
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.1
- RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
- INSTALLATION DIRECTORY: C:/rubyo/lib/ruby/gems/1.8
- RUBY EXECUTABLE: C:/rubyo/bin/ruby.exe
- EXECUTABLE DIRECTORY: C:/rubyo/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-mswin32-60
- GEM PATHS:
- C:/rubyo/lib/ruby/gems/1.8
- D:/Documents and Settings/Sepehr/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rubyforge.org/


what am I not doing? what's wrong?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top