ruby_select experimental implementation

C. Florian Ebeling florian.ebeling at gmail.com
Sun May 10 11:50:51 PDT 2009


>> Any idea what select does when it encouters a real file being in the place
>> where it intends to put a symlink?
>
> It will overwrite the file.

bummer. With ruby the situation is that there are
executables in 1.9 which are provided by ports
in 1.8.

lang/ruby: ruby1.8, irb1.8
ruby/rb-rubygems: gem

lang/ruby19: ruby1.9, irb1.9, gem1.9

Gems also don't allow a suffix on installation
for executables.

The only solution I see now is to make the symlinks
to unprefixed symlinks already in the portfile, and make
it plain conflicting with the ports installing unprefixed
executables. Even though that makes them not fully
parallel-installable. That, or some serious patching
of rb-rubygems to force suffix.

Florian


-- 
Florian Ebeling
Twitter: febeling
florian.ebeling at gmail.com


More information about the macports-dev mailing list