[Ironruby-core] Trying to duplicate Phil Haack's example

Curt Hagenlocher curth at microsoft.com
Sun Jun 8 13:35:23 EDT 2008

What happens if you try to require an empty .rb file in the startup directory?  Same error, or success?

-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Greg Akins
Sent: Sunday, June 08, 2008 9:39 AM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] Trying to duplicate Phil Haack's example

Using rev 113, I tried to duplicate Phil Haack's blog post (here

I downloaded Rspec 1.1.4

and ran the exact code from the blog; setting the path on the first
'require' to point to where I extracted RSpect

require File.dirname(__FILE__) + '/../../Libraries/rspec-1.1.4/spec/spec_helper'

The error I get is:

IronRuby.Libraries:0:in `require': Type 'IronRuby, Version=, Culture=neut
ral, PublicKeyToken=31bf3856ad364e35, Ruby.Runtime.RubyContext' is missing or ca
nnot be loaded. (Microsoft::Scripting::Runtime::MissingTypeException)
        from :0:in `Initialize##1'

When I comment out the entire file, and just include the first
'require' I still get this error; so I assume the problem is in
loading that RSpect spec_helper file?

Anyone else run into this?

Greg Akins

Ironruby-core mailing list
Ironruby-core at rubyforge.org

More information about the Ironruby-core mailing list