简体   繁体   English

将InstantRails 2更新为Ruby 1.8.7或1.9.2

[英]Update InstantRails 2 to Ruby 1.8.7 or 1.9.2

I am trying to update InstantRails, and I did really, really google for any tutorial for it but found none. 我正在尝试更新InstantRails,而我确实确实在Google上搜索了任何教程,但均未找到。 One site was mentioned to have contained a tutorial but it is not gone http://dwiardiirawan.com/ . 有人提到一个站点包含一个教程,但没有消失http://dwiardiirawan.com/ I know there's this installer available for Windows, but I think one needs to extract a tar file and replace the existing files in the Ruby folder in the InstantRails dir and some fine-tunings for it to work. 我知道有一个适用于Windows的安装程序,但是我认为需要提取一个tar文件并替换InstantRails目录中Ruby文件夹中的现有文件,并进行一些微调才能使其正常工作。 Would you be kind enough to let me know of something that I can at least try doing? 您是否足以让我知道至少可以尝试做的事情?

Thank You! 谢谢!

I think I got 1.8.7 working - I basically downloaded the zipped up file (not the installer one), I extracted it, then I copied & pasted the extracted to overwrite the files and folders in the ruby dir in instantrails. 我认为我已经可以使用1.8.7了-我基本上下载了压缩文件(不是安装程序),解压缩了文件,然后复制并粘贴了提取的文件,以覆盖Instantrails中ruby目录中的文件和文件夹。 Lastly, I did a gem update --system in the commnand prompt. 最后,我在命令提示符下进行了gem更新--system。 I haven't tried 1.9.2. 我没有尝试过1.9.2。 One note I must add : I suggest backing up a full copy of your instantrails folder, so if something goes wrong, just delete the original and restore it using this back up. 我必须添加一个注意事项:我建议备份您的Instantrails文件夹的完整副本,因此,如果出现问题,只需删除原始文件并使用此备份将其还原。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM