Unable to Install RubyGems
Hi,
I downloaded the zip file containing Ruby Gems and unpacked
everything, enabled full permission, CD'd to the directory but I am
unable to run "ruby setup.rb " I receive the following message
'ruby' is not recognized as an internal or external command,
operable program or batch file. Is there something else I need to
do to set it up?
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Luis Lavena on 20 Nov, 2011 07:14 PM
Hello,
You didn't provide information about your environment, so I assume you're
using Windows.
RubyGems is part of RubyInstaller, so you don't need to manually install
it.
The error you're getting is because Ruby is not in the PATH.
During installation you're offered to add it to the path. You csb aldi use
the specific command prompt shortcut.
3 Posted by thefinestgirls on 21 Nov, 2011 03:38 AM
Hi,
Yes, you are correct. I am using Win 7 64bit. I am attempting to use RubyGems to install Foreman in order to run and test a Facebook App locally. The instructions specify running the install in RubyGems. https://github.com/ddollar/foreman
Support Staff 4 Posted by Luis Lavena on 21 Nov, 2011 10:11 AM
Foreman will not work on Windows.
It uses background process approach which do not successfully work or apply to Windows.
You can simulate what foreman does with multiple consoles.
Again, you don't need to install RubyGems, is part of the Ruby provided by RubyInstaller.
Closing this out.
Luis Lavena closed this discussion on 21 Nov, 2011 10:11 AM.
thefinestgirls re-opened this discussion on 23 Nov, 2011 05:06 AM
5 Posted by thefinestgirls on 23 Nov, 2011 05:06 AM
Hi Luis, I am resubmitting "Unable to Install RubyGems" from the following http://tinyurl.com/brvpwzg - You stated that "Foreman will not work on Windows" Actually there is a version of Foreman that works with windows https://github.com/ddollar/foreman-windows - Is there a link to the ruby installer? Instructions include the following - (Rubygems) gem install foreman
Support Staff 6 Posted by Luis Lavena on 23 Nov, 2011 10:07 AM
Hello,
I was not aware of fiteman-Windows project, however, looking at the code it
is clear is not part of the gem.
Please ask them gem author where to get the executable or installer for it.
Support Staff 7 Posted by Luis Lavena on 23 Nov, 2011 10:11 AM
As for RubyInstaller go here:
http://RubyInstaller.org
Probably you already have it since is the version of ruby recommended at ruby-lang.org
Luis Lavena closed this discussion on 23 Nov, 2011 10:12 AM.