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 <[email protected]>wrote:

> ----- Original Message ----- From: "Steven Hartland" <
> [email protected]>
> To: "David Keller" <[email protected]>
> Cc: <[email protected]>; <[email protected]>
> Sent: Friday, April 11, 2014 12:04 PM
> Subject: Re: FreeBSD Port: rubygem-passenger-4.0.41_2
>
>
>
>  ----- Original Message ----- From: "David Keller" <
>> [email protected]>
>>
>>
>>  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
>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to