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

  • From: Pete Goodeve <pete.goodeve@xxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 17 May 2015 14:30:22 -0700

On Sat, May 16, 2015 at 07:41:40AM +0200, Adrien Destugues wrote:

On Fri, May 15, 2015 at 01:42:49PM -0700, Pete Goodeve wrote:
I make extensive use of Ruby, and have a number of libraries of
my own that are used by my apps. The Ruby standard is that
they should go in .../lib/ruby/site-ruby, but under PM this is
installed in /boot/system/lib and is read-only! Ruby does not
know about the 'non-packaged' tree.

[......]

We patched Python to have site-packages in a writable location and a
separate vendor-package in our package directories. We would need to do
the same for Ruby.

Hmmm. I don't see this:

import sys
print(sys.path)
['', '/packages/python-2.7.9-1/.self/lib/python27.zip',
'/packages/python-2.7.9-1/.self/lib/python2.7',
'/packages/python-2.7.9-1/.self/lib/python2.7/plat-haiku1',
'/packages/python-2.7.9-1/.self/lib/python2.7/lib-tk',
'/packages/python-2.7.9-1/.self/lib/python2.7/lib-old',
'/packages/python-2.7.9-1/.self/lib/python2.7/lib-dynload',
'/packages/python-2.7.9-1/.self/lib/python2.7/vendor-packages']


Please open a bug report about this at haikuports so we can fix the Ruby
port.

OK, but I suspect this is going to be an ongoing problem...

-- Pete --

Other related posts: