Well, apparently I'm the last to notice this one (likely because I've been up to my ears in PowerShell, not Ruby) but "SapphireInSteel" is a Visual Studio 2005 Project add-on that adds Ruby *editing* support to Visual Studio.
好吧,显然我是最后一个注意到这一点的人(可能是因为我一直在PowerShell中而不是Ruby上工作),但是“ SapphireInSteel ”是Visual Studio 2005 Project加载项,它将Ruby * editing *支持添加到视觉工作室。
This has nothing to do with turning Ruby into IL or making Ruby a .NET Language (although those projects exist.) This is about editing and debugging Ruby within Visual Studio 2005.
这与将Ruby转换为IL或使Ruby成为.NET语言(尽管存在这些项目)无关。这与在Visual Studio 2005中编辑和调试Ruby有关。
If you haven't played with Ruby, take a moment and do this:
如果您还没有玩过Ruby,请花点时间进行以下操作:
Download the Ruby for Windows One-Click Installer from here.
You can use Notepad2 to edit your Ruby files. There's a version that has Ruby syntax support hosted here (Thanks Wesner).
If you have Visual Studio 2005, use SapphireInSteel for editing and running. Make sure you follow the directions.
如果您具有Visual Studio 2005,请使用SapphireInSteel进行编辑和运行。 确保遵循指示。
If you have Visual Studio 2005, use SapphireInSteel for editing and running. Make sure you follow the directions. Run ProjectAggregator2.msi FIRST, then Setup.msi.
如果您具有Visual Studio 2005,请使用SapphireInSteel进行编辑和运行。 确保遵循指示。 首先运行ProjectAggregator2.msi,然后运行Setup.msi。
Download the FREE PDF Little Book of Ruby.
下载免费的PDFRuby小书。
Also, as an aside, if you want to do some Web Application Testing in Ruby (WATiR - pronounced "Water") then open a standard command line and type "gem install watir"
另外,顺便说一句,如果您想在Ruby中进行一些Web应用程序测试(WATiR-发音为“ Water”),请打开标准命令行并键入“ gem install watir”
Download the Source Code ZIP for the Little Book of Ruby. If you've installed SapphireInSteel you can just open the Visual Studio Project from the zip and you've got all the samples from the book ready to follow along.
下载Ruby Little Book的源代码ZIP 。 如果您已经安装了SapphireInSteel,则可以从zip中打开Visual Studio Project,并且已经准备好了本书中的所有示例。
This'll be great for everyone who does both Ruby and .NET, but especially for those doing .NET plus Watir development. This is apparently a very actively development project so subscribe to their blog.
这对于同时使用Ruby和.NET的每个人来说都是很棒的,但是特别是对于那些同时进行.NET和Watir开发的人。 这显然是一个非常积极的开发项目,因此请订阅他们的博客。
翻译自: https://www.hanselman.com/blog/sapphire-in-steel-ruby-within-visual-studio-2005