Michael Delaney
2009-Jul-30 14:07 UTC
[Ironruby-core] Make IR run as an external tool in VS
hi, was wondering if anyone could help. i''d like to be able to edit a ruby file in visual studio and just fire a key seqeunce to run the file. similar to how rob conery set up the machine specifications runner in his IDE. this pushed all the output nicely to the output window in vs. i gave it a try but am not sure how to replicate how the dev.bat file works. anyone else done this?? -- Posted via http://www.ruby-forum.com/.
Ivan Porto Carrero
2009-Jul-30 14:31 UTC
[Ironruby-core] Make IR run as an external tool in VS
can you not define an external tool. then remember its index in the external tools list and link it to a button? That external tool can be a batch script that includes CALL dev.bat for example. http://msdn.microsoft.com/en-us/library/9814d200(VS.80).aspx the batch script could be as simple as: @ECHO OFF CALL dev.bat ir %* --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero) On Thu, Jul 30, 2009 at 4:07 PM, Michael Delaney <lists at ruby-forum.com>wrote:> hi, > was wondering if anyone could help. > i''d like to be able to edit a ruby file in visual studio and just fire a > key seqeunce to run the file. > > similar to how rob conery set up the machine specifications runner in > his IDE. > this pushed all the output nicely to the output window in vs. > > i gave it a try but am not sure how to replicate how the dev.bat file > works. > > anyone else done this?? > -- > 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/20090730/77e382e1/attachment.html>
Huw Collingbourne
2009-Jul-30 21:21 UTC
[Ironruby-core] Make IR run as an external tool in VS
Michael Delaney wrote:> hi, > was wondering if anyone could help. > i''d like to be able to edit a ruby file in visual studio and just fire a > key seqeunce to run the file. >You could use our free Visual Studio IronRuby IDE: http://www.sapphiresteel.com/Ruby-In-Steel-For-IronRuby best wishes Huw Collingbourne SapphireSteel Software http://www.sapphiresteel.com -- Posted via http://www.ruby-forum.com/.
Michael Delaney
2009-Jul-30 23:48 UTC
[Ironruby-core] Make IR run as an external tool in VS
Huw Collingbourne wrote:> Michael Delaney wrote: >> hi, >> was wondering if anyone could help. >> i''d like to be able to edit a ruby file in visual studio and just fire a >> key seqeunce to run the file. >> > > You could use our free Visual Studio IronRuby IDE: > http://www.sapphiresteel.com/Ruby-In-Steel-For-IronRuby > > best wishes > Huw Collingbourne > > SapphireSteel Software > http://www.sapphiresteel.comi''ve tried it, but as it says on your site its alpha, i couldnt get it to work properly. i''ll look again once you guys have done some work on it. to be honest i''d buy the text edition right away if it did what i wanted. -- Posted via http://www.ruby-forum.com/.
Huw Collingbourne
2009-Jul-31 09:21 UTC
[Ironruby-core] Make IR run as an external tool in VS
Just to clarify that we are waiting for IR 1.0 before commiting any more time to our IronRuby support. In the meantime, the old alpha IDE still works with IronRuby though you may need to adopt this interim fix: http://sapphiresteel.com/forum/index.php?topic=355.0 best wishes Huw SapphireSteel Software http://www.sapphiresteel.com -- Posted via http://www.ruby-forum.com/.
Huw Collingbourne
2009-Jul-31 09:30 UTC
[Ironruby-core] Make IR run as an external tool in VS
By the way, going back to your original idea of running IR as an external tool. What is the problem here? I wrote a small tutorial once explaining how to run MySQL as a VS shortcut: http://www.sapphiresteel.com/Ruby-On-Rails-and-MySQL-faster Are there any things different about running IR in that way? best wishes Huw SapphireSteel Software http://www.sapphiresteel.com -- Posted via http://www.ruby-forum.com/.
Jimmy Schementi
2009-Jul-31 22:35 UTC
[Ironruby-core] Make IR run as an external tool in VS
I''m not sure what you mean my "External Tool". Huw, the way you show is the literal meaning of "External Tool" in VS, and is only useful if you wanted a way to launch the ir.exe REPL from VS. If you want to run "ir.exe script.rb" when you hit F5, then yes, that''s extremely easy ... http://msdn.microsoft.com/en-us/library/68c8335t%28VS.80%29.aspx ________________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Huw Collingbourne [lists at ruby-forum.com] Sent: Friday, July 31, 2009 2:30 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Make IR run as an external tool in VS By the way, going back to your original idea of running IR as an external tool. What is the problem here? I wrote a small tutorial once explaining how to run MySQL as a VS shortcut: http://www.sapphiresteel.com/Ruby-On-Rails-and-MySQL-faster Are there any things different about running IR in that way? best wishes Huw SapphireSteel Software http://www.sapphiresteel.com -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core