cross-installing gems

K

Kero

Obvisouly I want post-install.rb to write in ./ipkg, as setup.rb does.
What is post-install.rb trying to do?

I am trying to prepare a ruby-gems package for the iPAQ (armv4l
architecture, linux familiar distro)

$ uname -a
Linux chmeee 2.6.14.2 #7 PREEMPT Sat Nov 19 23:16:29 CET 2005 i686 GNU/Linux
$ cd iPAQ/Ruby
$ ls
ruby-1.8.5/ # contains functional, cross-compiled Ruby for arm
rubygems-0.9.0/
$ cd rubygems-0.9.0/
$ ruby -I ../ruby-1.8.5 -rfake -rrbconfig setup.rb config
[...]
$ ruby -I ../ruby-1.8.5 -rfake -rrbconfig setup.rb install --prefix=./ipkg
[...]
As of RubyGems 0.8.0, library stubs are no longer needed.
Searching $LOAD_PATH for stubs to optionally delete (may take a while)...
....done.
No library stubs found.

Successfully built RubyGem
Name: sources
Version: 0.0.1
File: sources-0.0.1.gem
hook /mnt/sda2/kero/iPAQ/Ruby/rubygems-0.9.0/./post-install.rb failed:
You don't have write permissions into the /usr/lib/ruby/gems/1.8 directory.
Try 'ruby setup.rb --help' for detailed usage.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top