Spec Installation in RC2

I know in RC1 I had to manually copy the following files:

copy C:\ironruby\lib\ironruby\gems\bin\spec C:\ironruby\bin\ispec
copy C:\ironruby\lib\ironruby\gems\bin\spec.bat
C:\ironruby\bin\ispec.bat

But in RC2 do I have to take these steps or is it automatic?

Thanks,
Azam

instead of copying you can now use

ir -S spec and ironruby knows which script to load

Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C.
Web: http://whiterabbitconsulting.eu - http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
Microsoft IronRuby/C# MVP

So after installing spec as a gem I can run it like this:

ir -S spec myfile.rb

So, the following will not work:

ispec myfile.rb

Jim D. wrote:

Once you install spec (ir -S gem install rspec), you should then be able
to run it via ir -S spec

JD

Once you install spec (ir -S gem install rspec), you should then be able
to run it via ir -S spec

JD

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs