C
Cheyne Li
Hey there,
i tried to include libs in my ruby file, just as ruby cookbook shows,
require 'rubygems'
request 'win32/service'
include Win32
after run, it shows error msg, 'require' no such file to load -
win32/service
I check the lib folder, service.rb is not under the regular lib path,
which is C:\Ruby\lib\ruby\1.8.
I found service.rb in
C:\Ruby\lib\ruby\gems\1.8\gems\windows-pr-0.9.3\lib\windows and in the
file, it requires "windows/api", which i can only find it in
C:\Ruby\lib\ruby\gems\1.8\gems\windows-api-0.2.4\lib\windows.
So, I don't know how to make the file work since the required files are
all over the places.
i tried to include libs in my ruby file, just as ruby cookbook shows,
require 'rubygems'
request 'win32/service'
include Win32
after run, it shows error msg, 'require' no such file to load -
win32/service
I check the lib folder, service.rb is not under the regular lib path,
which is C:\Ruby\lib\ruby\1.8.
I found service.rb in
C:\Ruby\lib\ruby\gems\1.8\gems\windows-pr-0.9.3\lib\windows and in the
file, it requires "windows/api", which i can only find it in
C:\Ruby\lib\ruby\gems\1.8\gems\windows-api-0.2.4\lib\windows.
So, I don't know how to make the file work since the required files are
all over the places.