Help me with deploying on Windows
09 Jun 2009, 03:08
Lube R. Lee (1 post)
I am deploying on a vps running Windows Server 2003
I am just at the 2nd step of installing rails and I got this error:
C:>gem install rails –no-rdoc –no-ri
Bulk updating Gem source index for: http://gems.rubyforge.org
03 Aug 2010, 03:41
Brian P. Hogan (145 posts)
Hi! I can help with this. Older copies of Ruby will cause this problem. Rubyinstaller.org has new, better, faster Ruby installers for Windows.
Here’s the 1.8.6 version: http://rubyforge.org/frs/download.php/71066/rubyinstaller-1.8.6-p398.exe
Install this to c:\ruby
For many gems that have native extensions, you’ll want to grab the Devkit. http://rubyforge.org/frs/download.php/71102/ruby-1.8.6-p398-i386-mingw32-2.7z
You will need 7zip to open that archive… drag both folders within the archive to c:\ruby.
Then from the command prompt, do
gem update –system gem install rails –no-ri –no-rdoc
You should be able to get much, much further.
I wrote that Windows chapter so long ago - very little has changed, surprisingly, but some of hte packages we reference there are kinda old and they (obviously) cause problems.
|You must be logged in to comment|