[CentOS-devel] Ruby and Rails packaging effort

Wed Dec 7 03:33:35 UTC 2011
Jarod Watkins <jwatkins at jarodw.com>

I would suggest for you to package the Rails app with RPM and include
the Ruby Gems in the vendor directory (see bundler and packing gems).
That way you only depend on Ruby as a true dependency and can have up
to date gems. Some of the Ruby Gems in EPEL are way out of date and
you will run into issues with dependencies.

On Tue, Dec 6, 2011 at 1:19 PM, Ali Corbin <ali.corbin at gmail.com> wrote:
> On Tue, Dec 6, 2011 at 9:06 AM, Anthony J Burton <ant at coshx.com> wrote:
>>
>> I am working on getting Ruby and Rails working via RPMs on CentOS. It
>> seems like much could be ported from Fedora, but that could very well be
>> crazy talk on my part. We have a client who is using CentOS for whom we are
>> delivering a working application, albeit with a lot of manual labor to get a
>> working Ruby environment. Getting it working with RPM is part of the
>> requirements and I'd like this to translate into a benefit for CentOS, if
>> possible.
>>
>> We're using fpm right now to package the application. I have built and
>> maintained RPMs in the past but am unfamiliar with the peculiarities of
>> legacy commitments in CentOS (i.e. Ruby+Rails is a fast moving target;
>> CentOS implies more stability).
>>
>> Any advice on getting this completed is welcomed.
>>
>> Thanks,
>> Anthony
>> _______________________________________________
>> CentOS-devel mailing list
>> CentOS-devel at centos.org
>> http://lists.centos.org/mailman/listinfo/centos-devel
>
>
> EPEL has ruby and rubygems packages available for both rhel/centos 5 and 6.
> It appears that you need to install them and then use gem to install ruby on
> rails.
> Ali
>
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> http://lists.centos.org/mailman/listinfo/centos-devel
>