You are not logged in.
Pages: 1
Sorry if someone has already posted anything about it, I used the search and didn't find anything about it.
I type 'ruby' at bash and then nothing happens. The only output I have is when I press Ctrl+C (which prints that ruby was interrupted) or Ctrl+D (that prints the last statement, like 'print 1' and it prints '1').
Apps that depend on ruby (like gvim) work nicely.
I've already compiled it with makepkg instead of using 'pacman -S', but it didn't work.
Last edited by andre.ramaciotti (2007-07-06 13:37:34)
(lambda ())
Offline
I'm confused - what should it do?
Offline
Err, you should use ruby command to run scripts (ruby blahblah.rb). If you want interactive ruby, run "irb".
Offline
D'oh! I'm so stupid. The ruby interpreter is called by 'irb', not 'ruby'.
Thanks anyway
(lambda ())
Offline
I've just realized it, lucke. Thanks.
PS: it could appear anywhere in 'man ruby' that you should use 'irb'...
(lambda ())
Offline
Pages: 1