Re: rb-rubygems does not work
Paul Guyot <[email protected]> Tue, 22 Aug 2006 11:04:42 +0900
| Newsgroups | gmane.os.opendarwin.darwinports |
|---|---|
| Message-ID | <[email protected]> |
Le 22 août 06 à 04:25, Tim Pritlove a écrit :
> Is this related to the switch to MacPorts?
You must not use gem. Instead, you should use MacPorts:
$ sudo port install rb-rails
If a gem package is not available from MacPorts, it's extremely easy
to add it to the tree. You can look at the rb-rails Portfile for an
example of such a port.
You need:
- to figure out the URL of the gem package on rubyforge. For example,
on http://rubyforge.org/frs/?group_id=307, you can see that rb-rails
1.1.6 gem URL is:
http://rubyforge.org/frs/download.php/12322/rails-1.1.6.gem
- to put the value in the URL in the ruby.setup line:
ruby.setup rails 1.1.6 gem {} rubyforge:12322
- to fill the other bits of the portfile (dependencies, description,
etc).
Paul
--
Ministre ultraplénipotentiaire en disponibilité.
Mobile. Sans baignoire fixe.
http://www.kallisys.com/
http://www-poleia.lip6.fr/~guyot/