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 via http://www.ruby-forum.com/.
Once you install spec (ir -S gem install rspec), you should then be able to run it via ir -S spec JD -----Original Message----- From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Mohammad Azam Sent: Tuesday, March 02, 2010 1:45 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] 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 -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
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 On Tue, Mar 2, 2010 at 10:45 PM, Mohammad Azam <lists at ruby-forum.com> wrote:> 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 via http://www.ruby-forum.com/. > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100302/70273d8d/attachment.html>
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-- Posted via http://www.ruby-forum.com/.