打开命令提示符,也将cd放入您提取RubyGems的目录中,然后执行"ruby​​ setub.rb"在命令行的任何地方运行"gem install rails"我不知道为什么这么多人反对Rails/Windows.我想OS X更容易,因为它已经安装了Rails.另一方面,如果使用apt-get和gems来混合安装库,则可以轻松提升环境. I'm a designer and not a coder and having issues with the first install.I downloaded Rails 1.8.6 and Instant Rails.I opened a console and tried updating gems. Nothing worked there.I think I will just delete everything and start over because I'm sure I broke something by now. I was really thinking about buying a Mac today just to get it working.What do you recommend for:1. What EXACTLY to download?2. Steps to take?Any help is appreciated. Thanks! 解决方案 I've been developing with Rails on Windows 7 for over a year and have never experienced any frustrations due to this. These instructions have always worked perfectly for me.Download and install Ruby 1.8.7http://rubyforge.org/frs/download.php/71492/rubyinstaller-1.8.7-p299.exeDownload the latest RubyGems, and extract the file somewherehttp://rubyforge.org/frs/?group_id=126Open the command prompt, cd into the directory you extracted RubyGems too, and do "ruby setub.rb"On the command line anywhere run "gem install rails"I have no idea why so many people are anti Rails/Windows. I suppose OS X is easier since it comes with Rails already installed. Linux on the other hand you can easily jack up your environment if you mix up using apt-get and gems to install libraries. 这篇关于在Windows 7上安装Ruby on Rails(最新)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-19 17:35
查看更多