Forum: Ruby rubygems environment in vista

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8e7e5b934fcbcdfb475072685755457f?d=identicon&s=25 Taylor Strait (taylorstrait)
on 2008-12-18 19:38
I'm having trouble loading RubyGems into my Vista32 environment.  It
will only run from ruby/bin.  See below:

C:\Rails\rails_apps>gem -v
The filename, directory name, or volume label syntax is incorrect.

C:\Rails\rails_apps>ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]

C:\Rails\rails_apps>rails -v
Rails 2.2.2

C:\Rails\rails_apps>cd..\ruby\bin

C:\Rails\ruby\bin>gem -v
1.3.1

In Vista's environment settings, RUBYOPT -rubygems is present but it
does not work.  Is there something I am missing?  Thanks in advance.
Bcdcdf92d5a7a56512714318e8392574?d=identicon&s=25 Mark Turner (Guest)
on 2008-12-18 19:45
(Received via mailing list)
On Dec 18, 2008, at 10:30 AM, Taylor Strait <taylorstrait@gmail.com>
wrote:

> Rails 2.2.2
>
> C:\Rails\rails_apps>cd..\ruby\bin
>
> C:\Rails\ruby\bin>gem -v
> 1.3.1
>
> In Vista's environment settings, RUBYOPT -rubygems is present but it
> does not work.  Is there something I am missing?  Thanks in advance.

Is the ruby/bin directory in your path?
8e7e5b934fcbcdfb475072685755457f?d=identicon&s=25 Taylor Strait (taylorstrait)
on 2008-12-18 20:02
Mark Turner wrote:
> Is the ruby/bin directory in your path?

Nice call.  The path had been set to something else.  This fixed my
problem.  Thanks!
This topic is locked and can not be replied to.