Forum: IronRuby Spec Installation in RC2

Posted by Mohammad Azam (azamsharp)
on 2010-03-02 22:45
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
Posted by Ivan Porto Carrero (Guest)
on 2010-03-02 23:14
(Received via mailing list)
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 Carrero
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
Posted by Jim Deville (Guest)
on 2010-03-02 23:31
(Received via mailing list)
Once you install spec (ir -S gem install rspec), you should then be able 
to run it via ir -S spec

JD
Posted by Mohammad Azam (azamsharp)
on 2010-03-02 23:33
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 Deville wrote:
> Once you install spec (ir -S gem install rspec), you should then be able 
> to run it via ir -S spec
> 
> JD
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.