[haiku-development] Re: Read-only Directory problems

  • From: Pete Goodeve <pete.goodeve@xxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 15 May 2015 14:38:21 -0700

[Sorry to have awakened the troll... (:-/)]

On Fri, May 15, 2015 at 10:53:04PM +0200, Fran??ois Revol wrote:

On 15/05/2015 22:51, Urias McCullough wrote:
On Fri, May 15, 2015 at 1:47 PM, François Revol <revol@xxxxxxx> wrote:
Ruby should be patched to support more than 1 site directory, and
install to non-packaged when using gem...

Isn't there some RUBYPATH variable you can export, like PYTHONPATH that
lists site directories, until it's fixed?

Yes, you're right -- there is RUBYLIB. But that shouldn't be necessary.
(And I just checked -- Python currently has the same problem.)


It does seem rather short-sighted to assume that you will have write
permissions to install libs in a path relative to the binary...

Was Ruby designed to be used in a shared server environment?

It's true of course that under Linux i have to be su to update such
things.


When using gem as a user it likely uses some ~/.dotdir/ instead...

Now that you mention it... (:-)) I'd forgotten gem, but of course it
is completely screwed!

"ERROR: While executing gem ... (Errno::EROFS)
Read-only file system - /packages/ruby-1.9.1-2/.self/lib/ruby/gems"

I don't see any easy way of telling it a different place to put things.

-- Pete --

Other related posts: