Ruby for OpenVMS Alpha X1.8-1X014 is based on Ruby 1.8.1 (2003-12-25).
All libraries are attached which are wirtten in Ruby. But all libraries are not tested.
The kit includs only the socket library. You can use the libraries which call socket library instanally. (ex. net/http)
Other library will be attached in future release.
Ruby for VMS installed on SYS$COMMON:[RUBY] in default.
[RUBY] | Ruby interpreter files |
[RUBY.LIB] | Libraries. Pointed by Logical name RUBY_LIBROOT. |
[RUBY.SRC] | Source files to make extension library. (Currentry only ruby.h is placed.) |
The global variable $: keeps directory list referred by require. Directories in the list are defined as relative path from the directory that is pointed by logical name RUBY_LIBROOT.
Your directories can be included in the directory list using the logical name RUBYLIB. For detail, see values of the global variable $: (ruby -e "puts $:").
$ ruby -e "puts $:" /RUBY_LIBROOT/site_ruby/018 /RUBY_LIBROOT/site_ruby/018/alpha-vms /RUBY_LIBROOT/site_ruby /RUBY_LIBROOT/018 /RUBY_LIBROOT/018/alpha-vms
This command procedure will define logical names. This file placed on SYS$STARTUP. System manager must modify SYS$STARTUP:SYSTARTUP_VMS.COM to execute this command procedure.
Ruby for VMS refers following logical names.
Logical Name | Equivalence Name | Remarks |
---|---|---|
RUBY_ROOT | SYS$COMMON:[RUBY] | Defined by RUBY_STARTUP.COM |
RUBY | RUBY_ROOT:RUBY.EXE | Defined by RUBY_STARTUP.COM |
RUBYSHR | RUBY_ROOT:RUBYSHR.EXE | Defined by RUBY_STARTUP.COM |
RUBY_LIBROOT | RUBY_ROOT:[LIB] | Defined by RUBY_STARTUP.COM |
RUBYLIB | (none) | Drectories for require to search. (written in UNIX path form separated by colon) |
TBD
TBD