P
Philip Rhoades
People,
RubyToC installs OK:
# gem install RubyToC
Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed RubyToC-1.0.0.5
Installing ri documentation for RubyToC-1.0.0.5...
Installing RDoc documentation for RubyToC-1.0.0.5...
However when I try and run an example script:
require 'ruby_to_ansi_c'
class MyTest
def say_hello
puts "hello"
end
def main
say_hello
return 0
end
end
I get:
$ ./truby2c.rb
/truby2c.rb:3:in `require': no such file to load -- ruby_to_ansi_c
(LoadError)
from ./truby2c.rb:3
What is wrong?
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: (e-mail address removed)
RubyToC installs OK:
# gem install RubyToC
Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed RubyToC-1.0.0.5
Installing ri documentation for RubyToC-1.0.0.5...
Installing RDoc documentation for RubyToC-1.0.0.5...
However when I try and run an example script:
require 'ruby_to_ansi_c'
class MyTest
def say_hello
puts "hello"
end
def main
say_hello
return 0
end
end
I get:
$ ./truby2c.rb
/truby2c.rb:3:in `require': no such file to load -- ruby_to_ansi_c
(LoadError)
from ./truby2c.rb:3
What is wrong?
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: (e-mail address removed)