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 Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim On Tue, Nov 4, 2008 at 11:16 PM, Ben Hall <[EMAIL PROTECTED]> wrote: > 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 > > On Tue, Nov 4, 2008 at 9:57 PM, John Lam (IRONRUBY) <[EMAIL PROTECTED]> > wrote: > > You can set GEM_PATH environment variable in your user profile to point > to your <mri>\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 > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] On Behalf Of Ben Hall > > Sent: Tuesday, November 04, 2008 12:59 PM > > To: ironruby-core@rubyforge.org > > Subject: Re: [Ironruby-core] SVN r169 is out > > > > 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 > > > > On Tue, Nov 4, 2008 at 5:45 PM, John Lam (IRONRUBY) <[EMAIL PROTECTED]> > wrote: > >> rake compile is still busted due to command line overflow. Will fix this > >> sometime after RubyConf J > >> > >> > >> > >> Thanks, > >> > >> -John > >> > >> > >> > >> _______________________________________________ > >> Ironruby-core mailing list > >> Ironruby-core@rubyforge.org > >> http://rubyforge.org/mailman/listinfo/ironruby-core > >> > >> > > _______________________________________________ > > Ironruby-core mailing list > > Ironruby-core@rubyforge.org > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > _______________________________________________ > > Ironruby-core mailing list > > Ironruby-core@rubyforge.org > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core@rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >
_______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core