Ruby for OpenVMS Alpha X1.8-1X014 is based on Ruby 1.8.1 (2003-12-25).
All core Ruby libraries are included; However, all libraries have not been tested.
The kit includes only the socket library. You can use the libraries which call socket library instantaly. (ex. net/http)
Other library will be included in future releases.
Ruby for OpenVMS installed on SYS$COMMON:[RUBY] by default.
[RUBY] | Ruby interpreter files |
[RUBY.LIB] | Libraries. Pointed to by Logical name RUBY_LIBROOT. |
[RUBY.SRC] | Source files to make extension library. (Currentry only ruby.h is included.) |
The global variable $: keeps directory list referred to by require. Directories in the list are defined as relative path from the directory pointed to by logical name RUBY_LIBROOT.
Your directories can be included in the directory list using the logical name RUBYLIB. For details, 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 the required logical names. This file placed on SYS$STARTUP. System manager must modify the SYS$STARTUP:SYSTARTUP_VMS.COM to execute this command procedure.
Ruby for OpenVMS refers to the 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) | Directories searched by require. (written in UNIX path form separated by colon) |
TBD
TBD