Bug 1141890 - RFE: Move bundler from ror40 SCL and into ruby2XX collection to easily enable bundler outside of Rails
Summary: RFE: Move bundler from ror40 SCL and into ruby2XX collection to easily enable...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: distribution
Version: ror40
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 2.2
Assignee: Brian Gollaher
QA Contact:
URL:
Whiteboard:
: 1165294 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-15 16:22 UTC by Joe Rafaniello
Modified: 2018-12-09 18:34 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-22 11:15:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Joe Rafaniello 2014-09-15 16:22:32 UTC
Description of problem:
Bundler should reside the ruby software collection, not Rails.

Bundler doesn't depend on Rails and one can use bundler outside of rails using the existing ror40 collection so it makes sense to include bundler only in the ruby software collection.  I can see many developers wanting to use plain ruby, sinatra, or padrino projects while still using bundler.

Running yum install ror40-rubygem-bundler, while possible, seems strange.

More information in this mailing list discussion:
https://www.redhat.com/archives/sclorg/2014-September/msg00022.html

From that discussion:
"One option might be to move Bundler from ror40 collection to ruby200
collection and that would be something similar to what we did in RHEL7,
i.e. there is provided just Ruby and Bundler, nothing more."

Perhaps there were good reasons to include bundler in the Rails SCL and perhaps we can delegate the ror40-rubygem-bundler to ruby200-rubygem-bundler to make upgrades easier.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Need to run yum install ror40-rubygem-bundler to install bundler in a Non-Rails project.
2.
3.

Actual results:


Expected results:
yum install ruby200-rubygem-bundler should be used to install bundler.

Additional info:

Comment 2 Vít Ondruch 2014-09-16 05:36:46 UTC
In addition to the discussion on the list referred in comment 0, I just want to clarify two things with regards to this remark:

(In reply to Joe Rafaniello from comment #0)
> Perhaps there were good reasons to include bundler in the Rails SCL and
> perhaps we can delegate the ror40-rubygem-bundler to ruby200-rubygem-bundler
> to make upgrades easier.

* Bundler has two dependencies (rubygem-net-http-persistent and
rubygem-thor), which would need to be moved as well.

* All these packages need other build dependencies to execute their test suites. This was actually the main reason to have Bundler in ror40 collection, where all the dependencies are satisfied. Moving them into ruby200 collection would be possible, but we might end up moving half of the ror40 collection there. The intention was to keep ruby200 collection small and concise.

Comment 3 Eli Heady 2014-09-23 16:49:56 UTC
This is just a +1 here.

We use ruby193 for a few projects and are being asked to support Ruby 2. All of our internal Ruby projects depend on bundler, and as it is shipped with ruby193 we hope to see it included in ruby200.

Thanks!
Eli

Comment 4 William Yardley 2014-09-23 16:52:33 UTC
Just a note that as noted on the mailing list, the ror40-rubygem-bundler package can be installed without installing Rails.

Comment 5 Vít Ondruch 2015-01-06 11:21:53 UTC
*** Bug 1165294 has been marked as a duplicate of this bug. ***

Comment 6 Vít Ondruch 2015-01-06 11:27:52 UTC
Quote from bug 1165294:

> Quoting sfdc 01288099
> 
> """
> We would like to upgrade our ruby version to 2.0. We have a ROR 3
> application and we are dependent on the bundle command. In ruby193 there is
> a ruby193-rubygem-bundler package and our application works fine.This
> package seems to have moved to ror40-rubygem-bundler in SCL 1.1.
> 
> Would it be possible to add ruby200-rubygem-bundler or how do you recommend
> a ROR3 application dependent on bundle to use ruby 2.0?
> """

Comment 8 Honza Horak 2016-07-22 11:15:36 UTC
Actually bundler has been moved to ruby collections since Ruby 2.2, so rh-ruby22 and rh-ruby23 SCLs already include bundler and there is no need to install RoR SCL for having bundler any more in those newer collections.

Since we don't plan to change this in already existing old collections ruby193 and ror40, I believe we can close this bug now.


Note You need to log in before you can comment on or make changes to this bug.