[Alexandria-list] alexandria won't start: ruby -Ku permissions
Laurent Sansonetti
laurent.sansonetti at gmail.com
Mon Aug 30 04:38:47 EDT 2004
Hi Todd,
On Sun, 29 Aug 2004 22:41:26 -0700, Todd Walton <todd at hardboot.org> wrote:
> Hi, I just installed Alexandria and installation went wonderfully.
> However, when I try to start it, by running `alexandria`, I get the
> following error:
>
> /usr/bin/env: ruby -Ku: Permission denied
>
> I searched through the mailing list archives and found a similar problem
> from last month (July). I didn't see there how the problem was fixed,
> though, and I'm not sure if I have the same problem anyway. I have read
> and execute permission on /usr/bin/env and /usr/bin/ruby. The problem
> in July turned out to be, I think, that env was treating "ruby -Ku" as a
> whole file.
>
> How do I fix this?
>
Two solutions:
1) Edit the "bin/alexandria" script and change the ``#!/usr/bin/env
ruby -Ku'' line by ``#!/usr/bin/ruby -Ku'' (if ruby is installed in
/usr/bin)
2) Download latest CVS tarball at:
http://rubyforge.org/cgi-bin/viewcvs/cgi/viewcvs.cgi/alexandria/alexandria.tar.gz?tarball=1&cvsroot=alexandria
In CVS the "bin/alexandria" script is auto-generated with the good
path. But the CVS version is still under development, and there are
bugs. So I recommend you the first option :-)
--
Laurent
More information about the Alexandria-list
mailing list