[Ironruby-core] require 'spec' not working

Shri Borde Shri.Borde at microsoft.com
Thu Mar 26 15:17:53 EDT 2009

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.


-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at 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

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__) +

describe IronRubyInterop::Product do

  it "should have a name" do end
  it "should have a category"
  it "should have product lines"


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???

Posted via http://www.ruby-forum.com/.
Ironruby-core mailing list
Ironruby-core at rubyforge.org

More information about the Ironruby-core mailing list