Bug 901540

Summary: missing requirements
Product: [Fedora] Fedora Reporter: Miroslav Suchý <msuchy>
Component: rubygem-compass-railsAssignee: Troy Dawson <tdawson>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 18CC: tdawson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-12 08:26:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miroslav Suchý 2013-01-18 12:59:55 UTC
Description of problem:
I got traceback when using compass-rails.

Version-Release number of selected component (if applicable):
rubygem-compass-rails-1.0.3-3.fc18.noarch

How reproducible:
deterministic

Steps to Reproduce:
1. try to use with rails 3.2
  
Actual results:
+ compass compile --trace
LoadError on line ["36"] of /usr/share/rubygems/rubygems/custom_require.rb: cannot load such file -- sass-rails
  /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
  /usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `block in require'
  /usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency'
  /usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
  /usr/share/gems/gems/compass-rails-1.0.3/lib/compass-rails.rb:25:in `load_rails'
  /usr/share/gems/gems/compass-rails-1.0.3/lib/compass-rails.rb:114:in `configuration'


Expected results:
no traceback

Additional info:
This is cause by:
./lib/compass-rails.rb

...
      if rails31? || rails32?
        require 'sass-rails'
        require 'sprockets/railtie'
        require 'rails/engine'
...
You should add these to requirements on Fedoras where is rails 3.2 (F18+).

Comment 1 Miroslav Suchý 2013-01-18 13:12:20 UTC
This resolves to:
rubygem(sass-rails) rubygem(rubygem-actionpack) rubygem(rails)

Comment 2 Miroslav Suchý 2013-01-18 13:15:02 UTC
err
rubygem(sass-rails) rubygem(actionpack) rubygem(rails)

Comment 3 Fedora Update System 2013-03-01 21:59:56 UTC
rubygem-compass-rails-1.0.3-6.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/rubygem-compass-rails-1.0.3-6.fc18

Comment 4 Fedora Update System 2013-03-02 20:21:25 UTC
Package rubygem-compass-rails-1.0.3-6.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rubygem-compass-rails-1.0.3-6.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3326/rubygem-compass-rails-1.0.3-6.fc18
then log in and leave karma (feedback).

Comment 5 Miroslav Suchý 2013-03-04 15:58:07 UTC
Yes, this build requires those 3 gems.
Thanks

Comment 6 Fedora Update System 2013-03-12 08:26:32 UTC
rubygem-compass-rails-1.0.3-6.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.