This forum is no longer active. Please post your questions to our new community site

error running Use Ruby

Subscribe to error running Use Ruby 3 post(s), 2 voice(s)

 
Avatar petchia 12 post(s)

Hi,

I just recently upgraded to RubyStack 1.0 after having been using the beta versions. I’m getting an error when I run the “Use Ruby” program. Here is the output I get:

C:\Program Files\BitNami RubyStack>use_ruby.bat
’#####’ is not recognized as an internal or external command,
operable program or batch file.
’#####’ is not recognized as an internal or external command,
operable program or batch file.
’#####’ is not recognized as an internal or external command,
operable program or batch file.
’#####’ is not recognized as an internal or external command,
operable program or batch file.
’#####’ is not recognized as an internal or external command,
operable program or batch file.
’#####’ is not recognized as an internal or external command,
operable program or batch file.
’#####’ is not recognized as an internal or external command,
operable program or batch file.

Ruby and everything else seems to run fine, but I’m not quite sure why I’m getting those error messages.

Any ideas?

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi petchia,

It is an error with comment lines, it is not important but it will be fixed the next release, thanks for report this. On windows, the comment lines should start with “rem” and on Unix should be start with ”#”. You can add “rem” before comment lines on “scripts/setenv.bat” file and you don’t see these error messages. For example, you should to replace:

###### RUBY ENV #####

with

rem ###### RUBY ENV #####

 
Avatar petchia 12 post(s)

That did the trick.

Thanks for the help!