[MacPorts] RubySection modified

MacPorts noreply at macports.org
Fri Apr 10 11:38:08 PDT 2009


Changed page "RubySection" by febeling at macports.org from 91.37.248.37*
Page URL: <http://trac.macports.org/wiki/RubySection>
Diff URL: <http://trac.macports.org/wiki/RubySection?action=diff&version=10>
Revision 10

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: RubySection
=========================================================================
--- RubySection (version: 9)
+++ RubySection (version: 10)
@@ -11,7 +11,8 @@
 Ports providing a ruby library package have a prefix {{{rb}}} or {{{rb19}}}. So the Rails port is called rb-rails, e.g. If you installed a port which installs a rubygem, you should avoid manipulating that port with {{{gem}}} directly, since that makes the information inside MacPorts inconsistent. If you use gem a lot directly, you might be better off if you these exclusively.
 
 == Guidelines for Ruby Ports ==
- * should have a name prefix of "rb" for 1.8, and "rb19" for 1.9. It would be nice to have ports compatible with both, but that is not possible, since the library paths for ruby get determined during configuration phase and are specific for the different versions.
+ * should have a name prefix of "rb" for 1.8, and "rb19" for 1.9. It would be nice to have ports compatible with both, but that is not possible, since the library paths for ruby get determined during configuration phase and are specific for the different versions. 
+ * should generally be created using the ruby port group. This provides almost everything you need to do in a ruby portfile if you use the {{{ruby.setup}}} command. {{{ruby.setup}}} allows to create ports for ruby (1.8) and ruby19 already.
 
 
 == Problems & Potential Improvements ==

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on RubySection. If it was not you, please
report to .


More information about the macports-changes mailing list