FreeBSD Port: rubygem-passenger-4.0.41_2

David Keller david.keller at litchis.fr
Fri Apr 11 11:59:42 UTC 2014


Managed to get it working with:

(cd ${STAGEDIR}${PREFIX}/${GEMS_DIR} && ${LN} -s *${GEM_NAME}* ${PORTNAME})

Now everything is working.

If you want it to be perfect, you may change the post install message from

passenger_root /usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.41
> passenger_ruby /usr/local/bin/ruby19


to

passenger_root /usr/local/lib/ruby/gems/1.9/gems/passenger
> passenger_ruby /usr/local/bin/ruby19



When symlink option is enabled.

Thanks for patches :-)


On Fri, Apr 11, 2014 at 1:09 PM, Steven Hartland <killing at multiplay.co.uk>wrote:

> ----- Original Message ----- From: "Steven Hartland" <
> killing at multiplay.co.uk>
> To: "David Keller" <david.keller at litchis.fr>
> Cc: <ports at freebsd.org>; <osa at freebsd.org>
> Sent: Friday, April 11, 2014 12:04 PM
> Subject: Re: FreeBSD Port: rubygem-passenger-4.0.41_2
>
>
>
>  ----- Original Message ----- From: "David Keller" <
>> david.keller at litchis.fr>
>>
>>
>>  It's working :-)
>>>
>>> But the symlink seems incorrect:
>>> * passenger -> lib/ruby/gems/1.9/gems/passenger-4.0.41
>>>
>>> I might be better like this:
>>> * passenger -> passenger-4.0.41
>>>
>>
>> Sorry David I've never used the link option, I just corrected
>> the syntax to work with stage, could you give me some context
>> on that please?
>>
>
> Actually I think I know what you might mean try changing the LN cmd
> to:
> (cd ${STAGEDIR}${PREFIX}/${GEMS_DIR} && ${LN} -s ${GEM_LIB_DIR}
> ${PORTNAME})
>
>    Regards
>    Steve
>


More information about the freebsd-ports mailing list