Ruby on Rails on Windows: gem install fails, no output at all
I installed ruby through the windows i开发者_StackOverflow社区nstaller yesterday. All seemed fine.
Today, I went installing the rmagick
win32 gem like so:
c:\ruby187\bin\gem install rmagick-2.7.1-x86-mswin32.gem
in the directory with the gem.
That also seemed to work fine, got the familiar
1 gem installed
Installing ...[all the ri and other docs].
But after that, I am tried:
c:\ruby187\bin\gem install --version '= 2.3.5' rails
it just returned immediately with no output. Probably doing nothing.
c:\ruby187\bin\gem list --local
the same, no output, but returns to the cmd line (no hang).
c:\ruby187\bin\gem install rails
c:\ruby187\bin\gem install --debug rails
c:\ruby187\bin\gem install --debug --version '= 2.3.5' rails
does exactly the same. Any idea what's wrong? I am a RoR newbie, although I already have some experience with it on linux - but not on Windows.
Can anybody help? Really appreciated, started to get concerned now...
I've already had problems for installing rails on windows using the command gem install. The solution was executing the file cmd.exe like Administrator. This file is encountered in path C:\windows\system32 on Windows XP. Try do it.
精彩评论