Forum: IronRuby rspec no likely :(

49937800ddb918787f61f88fe100562f?d=identicon&s=25 andrew Wilson (Guest)
on 2010-11-09 02:04
(Received via mailing list)
So I tried out the 1.1.1 release and am having a bit of issues.

First the installer doesn't seem to care about the location I pick and
installs to program files (x86) regardless.  I end up moving the files
and
redoing the paths but visual studio still expects the files to be in
program
files.

Second, I can't get rspec to work for the life of me.  I am just doing--

igem install rspec

then in IR, I'm trying to test out mocking with:

require 'spec' && require 'spec/mocks'

both of which say they cannot be found.  If I require 'rubygems'
'spec/mocks' is found (but doesn't seem to work as I cannot stub
anything)
but 'spec' is not.

Any thoughts on what I can do to salvage this?

-Andrew

--
If I had six hours to chop down a tree, Id spend the first four of them
sharpening my axe.

-Abraham Lincoln
3a9ff49a9e689dcbfc8242f05180cc31?d=identicon&s=25 Orion Edwards (Guest)
on 2010-11-09 03:25
(Received via mailing list)
you always need to require 'rubygems' before requiring spec and friends,
even in MRI.

Are you doing that?
3a9ff49a9e689dcbfc8242f05180cc31?d=identicon&s=25 Orion Edwards (Guest)
on 2010-11-09 03:47
(Received via mailing list)
err.. woops, consider that last email unsent :-)
This topic is locked and can not be replied to.