[Ironruby-core] require ''spec'' not working

Shri Borde
Thu, 26 Mar 2009 19:17:53 -0000

rubyforge.org] On Behalf Of Michael Delaney
Sent: Thursday, March 26, 2009 8:57 AM
To: ironruby-core at 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 at rubyforge.org