Ruby Forum JRuby > Error while trying to install rails on JRuby

Posted by rgmoganti (Guest)
on 04.05.2008 07:11
(Received via mailing list)
Hi,
I am new to JRuby and trying to install the rails on JRuby and getting 
the
below error.
"The filename, directory name, or volume label syntax is incorrect."

For your convenience, I printed the environment variables.
_STARTJAVA
JRUBY_BAT_ERROR
_VM_OPTS
CLASSPATH
C:\Softwares\jruby-1.1.1\lib\bsf.jar;C:\Softwares\jruby-1.1.1\lib\prof
ile.jar;C:\Softwares\jruby-1.1.1\lib\jruby.jar
JRUBY_HOME C:\Softwares\jruby-1.1.1
JRUBY_OPTS
ERRORLEVEL 0
The filename, directory name, or volume label syntax is incorrect.

I am not sure why I am getting this error.  I checked the Proxy setting 
and
disabled it.  Still I am getting the same error.  I would appreciate if
someone can help me in resolving this.

Thanks
--
View this message in context: 
http://www.nabble.com/Error-while-trying-to-install-rails-on-JRuby-tp17042885p17042885.html
Sent from the JRuby - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Matthew Williams (mdweezer)
on 05.05.2008 02:00
(Received via mailing list)
What syntax were you using?  And the jruby/bin directory should be in 
your PATH.

Give the following a shot:

jruby -S gem install rails

On Sun, May 4, 2008 at 1:11 AM, rgmoganti <rgm220448@yahoo.com> wrote:
>  CLASSPATH
>
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by rgmoganti (Guest)
on 10.05.2008 07:09
(Received via mailing list)
I added JRuby/bin to PATH variable and tried the below command (jruby -S 
gem
install rails).  But still I am getting the same error.
"C:\Softwares\jruby-1.1.1\bin>jruby -S gem install rails
The filename, directory name, or volume label syntax is incorrect."
Here is the JRuby version I installed "jruby-1.1.1" and the PATH 
variable
"C:\Documents and Settings\gangs>echo %PATH%
c:\Softwares\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:
\Program Files\Common Files\Ulead Systems\MPEG;C:\Program Files\Ulead
Systems\Ul
ead VideoStudio 8.0 SE DVD\DMF;C:\Program Files\Common Files\Roxio
Shared\DLLSha
red\;C:\Softwares\jruby-1.1.1\bin;"

I appreciate any help in this regard.

Thanks



MDWeezer wrote:
>>  Hi,
>>  C:\Softwares\jruby-1.1.1\lib\bsf.jar;C:\Softwares\jruby-1.1.1\lib\prof
>>
>>     http://xircles.codehaus.org/manage_email
> 
> 

--
View this message in context: 
http://www.nabble.com/Error-while-trying-to-install-rails-on-JRuby-tp17042885p17160036.html
Sent from the JRuby - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Phillip Gawlowski (Guest)
on 10.05.2008 08:00
(Received via mailing list)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

rgmoganti wrote:
| I added JRuby/bin to PATH variable and tried the below command (jruby
- -S gem
| install rails).  But still I am getting the same error.
| "C:\Softwares\jruby-1.1.1\bin>jruby -S gem install rails
| The filename, directory name, or volume label syntax is incorrect."
| Here is the JRuby version I installed "jruby-1.1.1" and the PATH variable
| "C:\Documents and Settings\gangs>echo %PATH%
|
c:\Softwares\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:
| \Program Files\Common Files\Ulead Systems\MPEG;C:\Program Files\Ulead
| Systems\Ul
| ead VideoStudio 8.0 SE DVD\DMF;C:\Program Files\Common Files\Roxio
| Shared\DLLSha
| red\;C:\Softwares\jruby-1.1.1\bin;"
|
| I appreciate any help in this regard.

It doesn't look like a path issue.

If it were, it should look like this:

C:\Documents and Settings\CynicalRyan>noexec
'noexec' is not recognized as an internal or external command,
operable program or batch file.

Run scandisk/chkdsk on your system (depending on your Windows version,
for NT-based it's the latter, for Win95-based it's the former), to rule
out issues with your file system.

You might also check for this:
<http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/w2000Msgs/2993.mspx?mfr=true>

Even though, try a reboot. Windows versions before Vista need a reboot
or log off/log on cycle so that the path propagates properly into the
cmd shell.

- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
Blog: http://justarubyist.blogspot.com

Terminate input by end-of-file or marker, not by count.
~            - The Elements of Programming Style (Kernighan & Plaugher)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkglOeEACgkQbtAgaoJTgL8szACfZbNoUcLYaGTsTgaS1DqjFOZU
zqMAoKOi5IO9q+5GAo3zOBdyVtcZC0wV
=BlAA
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email