muraii
12/12/2006 3:00:00 PM
Lei Ming wrote:
> On Tue, Dec 12, 2006 at 02:05:05PM +0900, muraii@yahoo.com wrote:
> >
> > Ruby installed into /usr/local/bin/, and responds to "$ ruby -v"; but
> > when I type only "$ ruby", it hangs. I don't imagine it's properly
>
> Are you sure it's really hanging? Maybe it's just waiting for your
> input.
>
> Type this when it hangs:
>
> puts 'Hello world!'
>
> Press <Return> and Ctrl-D. See if it works.
>
> By the way, since you use Slackware, if you want to compile ruby (or any
> software) from source, I suggest you use checkinstall so uninstalling or
> upgrading will be easier.
I was wondering if that mightn't have been what was going on, but I'm
not at all familiar with using Ruby. I'm really only motivated to
install it because I'm installing amaroK. But you're absolutely
correct!
This leaves me with the question: is it installed sufficiently well to
work for that purpose? I'm not really keen on leaving partially
crippled apps on my machine, but if it's okay for now, it's okay. I'll
give it a shot.
And thanks for the checkinstall pointer. I'm looking into it.
Especially for folks newer to Linux, understanding where things are and
how to clean an unused software off, or upgrade it effectively, is a
little daunting. Luckily, it's not the Windows registry.
Daniel