SVN r169 is out

rake compile is still busted due to command line overflow. Will fix this
sometime after RubyConf :slight_smile:

Thanks,
-John

Hi John,

I thought you mentioned previously on the list that the MRI gems will
be used for the time being, I just tried and it doesn’t seem to be
picking them up.

Is there anything extra I have to do? I was hoping I would just be
able to do a require on the gem

Ben

You can set GEM_PATH environment variable in your user profile to point
to your \lib\ruby\gems\1.8 directory. This works fine on my machine
here.

Curt just got gem install working (modulo rdoc binary regex strangeness)
here, so we’re really close to gem install working.

Thanks,
-John

Hi Ben

I had trouble but you can try to write your code like this

require ‘rubygems’
gem ‘spec’

that should work… that’s how i have to require rails

Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C.
GSM: +32.486.787.582
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim

Hi John,

I feel we might be talking about different things. I’ve got my
GEM_PATH variable set.

C:\Program Files\Microsoft Visual Studio 9.0\VC>echo %GEM_PATH%
C:\ruby\lib\ruby\gems\1.8

When I try and access the gem, it fails - I expected this to work but
feel this is where I might have misunderstood.

E:\IronRuby\r169\build\debug>ir

require ‘rubygems’
=> true

require ‘spec’
e:\IronRuby\r169\src\IronRuby.Libraries\Builtins\kernelops.cs:400:in
`require’: no such file to load – spec (LoadError)

    from custom_require.rb:26:in `require'
    from :0

The only way I have got this to work is to set the lib path to the
spec.rb file for LibraryPaths in the ir.config. Should this have
worked?

Thanks

Ben