C
ClassRubyExceptionHandline
Hi All... I have just downloaded the ruby-1.8.5-i386-mswin32.zip file
with the hope that I can use ruby under the Interix 2.2 ksh shell
implementation. So I created a directory at the C: root C//ksh_ruby
and unzipped the install file there. Here is a listing
$ ls -ltr
total 1775
-rwx---rwx 1 Compaq_Owner None 20531 Aug 26 01:16 ruby.exe
-rwx---rwx 1 Compaq_Owner None 856124 Aug 26 01:16 msvcrt-ruby18.dll
-rwx---rwx 1 Compaq_Owner None 20532 Aug 26 01:16 rubyw.exe
-rwx---rwx 1 Compaq_Owner None 1708 Aug 26 01:17 ri.bat
-rwx---rwx 1 Compaq_Owner None 1776 Aug 26 01:17 rdoc.bat
-rwx---rwx 1 Compaq_Owner None 545 Aug 26 01:17 irb.bat
-rwx---rwx 1 Compaq_Owner None 326 Aug 26 01:17 testrb.bat
-rwx---rwx 1 Compaq_Owner None 4191 Aug 26 01:17 erb.bat
Being somewhat familiar with Ruby, I thought I could simple run irb.bat
by ./irb.bat similar to the way it is done under the DOS Shell.
Howerver, when I tried it I got the following error.
$ ./irb.bat
../irb.bat: ./irb.bat[1]: @echo: not found
../irb.bat: ./irb.bat[20]: syntax error: `__FILE__' unexpected
So... since I can't seem to locate any documentation on this
implementation, I need some guidance. Is there something I need to add
to my .profile to make this work. I'm on Interix 2.2 (MS hasn't
released an SFU for Windows XP Home yet).
with the hope that I can use ruby under the Interix 2.2 ksh shell
implementation. So I created a directory at the C: root C//ksh_ruby
and unzipped the install file there. Here is a listing
$ ls -ltr
total 1775
-rwx---rwx 1 Compaq_Owner None 20531 Aug 26 01:16 ruby.exe
-rwx---rwx 1 Compaq_Owner None 856124 Aug 26 01:16 msvcrt-ruby18.dll
-rwx---rwx 1 Compaq_Owner None 20532 Aug 26 01:16 rubyw.exe
-rwx---rwx 1 Compaq_Owner None 1708 Aug 26 01:17 ri.bat
-rwx---rwx 1 Compaq_Owner None 1776 Aug 26 01:17 rdoc.bat
-rwx---rwx 1 Compaq_Owner None 545 Aug 26 01:17 irb.bat
-rwx---rwx 1 Compaq_Owner None 326 Aug 26 01:17 testrb.bat
-rwx---rwx 1 Compaq_Owner None 4191 Aug 26 01:17 erb.bat
Being somewhat familiar with Ruby, I thought I could simple run irb.bat
by ./irb.bat similar to the way it is done under the DOS Shell.
Howerver, when I tried it I got the following error.
$ ./irb.bat
../irb.bat: ./irb.bat[1]: @echo: not found
../irb.bat: ./irb.bat[20]: syntax error: `__FILE__' unexpected
So... since I can't seem to locate any documentation on this
implementation, I need some guidance. Is there something I need to add
to my .profile to make this work. I'm on Interix 2.2 (MS hasn't
released an SFU for Windows XP Home yet).