Hi Did you edit your ir.exe.config to point to the right gems dir?
I don't think you still need to set the GEM_PATH do you? It works for me and all I do is edit the ir.exe.config to point to the right directories. I am on the git layout so my paths won't make sense for you. When I did that I could do >> igem list *** LOCAL GEMS *** >> igem install rspec ************************************************ Thank you for installing rspec-1.2.2 Please be sure to read History.rdoc and Upgrade.rdoc for useful information about this release. ************************************************* Successfully installed rspec-1.2.2 1 gem installed Installing ri documentation for rspec-1.2.2... Installing RDoc documentation for rspec-1.2.2... Could not find main page README.rdoc Could not find main page README.rdoc Could not find main page README.rdoc Could not find main page README.rdoc >> ir IronRuby 0.3.0.0 on .NET 2.0.50727.3074 >>> require 'rubygems' => true >>> require 'spec' => true >>> true.should == true => true >>> exit On Thu, Mar 26, 2009 at 8:17 PM, Shri Borde <shri.bo...@microsoft.com>wrote: > Does it work with MRI (not the IronRubyInteorp part ofcourse)? Where do you > expect spec.rb to be loaded from? I don't have spec.rb on my machine. > > Thanks, > Shri > > -----Original Message----- > From: ironruby-core-boun...@rubyforge.org [mailto: > ironruby-core-boun...@rubyforge.org] On Behalf Of Michael Delaney > Sent: Thursday, March 26, 2009 8:57 AM > To: ironruby-core@rubyforge.org > Subject: [Ironruby-core] require 'spec' not working > > hi, > i've downloaded the latest ironruby 0.3 and built it locally. > its in my path > > GEM_PATH C:\ruby\lib\ruby\gems\1.8\gems > PATH c:\ruby\bin;C:\ironruby\Merlin\Main\bin\Debug > > File: product_spec.rb > > require 'rubygems' > require 'spec' > require File.dirname(__FILE__) + > '/IronRubyInterop/IronRubyInterop/bin/Debug/IronRubyInterop.dll' > > describe IronRubyInterop::Product do > > it "should have a name" do end > it "should have a category" > it "should have product lines" > > end > > running ir product_spec.rb > > i get: > > D:\IronRuby\RSpec>ir product_spec.rb > :0:in `require': no such file to load -- spec (LoadError) > from custom_require.rb:26:in `require' > from product_spec.rb:0 > > > Is there anything I'm missing??? > > Regards. > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > 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