[Bug 668090] Review Request: rubygem-railties - Rails internals: application bootup, plugins, generators, and rake tasks.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=668090

--- Comment #7 from Mohammed Morsi <mmorsi@xxxxxxxxxx> 2011-01-27 01:16:43 EST ---
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> Spec URL: http://dl.dropbox.com/u/14118661/rubygem-railties.spec
> SRPM URL:
> http://dl.dropbox.com/u/14118661/rubygem-railties-3.0.3-4.fc14.src.rpm 
> 
> koji scratch build: green
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2742125 
> TEST DON'T PASS. Not all gems packed.
> Packages built.

To get around the failed tests you will need the following which I've added to
all the other rails 3 rpms:

--- test/abstract_unit.rb.orig  2011-01-26 22:08:06.697352089 -0500
+++ test/abstract_unit.rb       2011-01-26 22:53:04.463351981 -0500
@@ -1,4 +1,4 @@
-require File.expand_path("../../../load_paths", __FILE__)
+require 'rubygems'

 require 'stringio'
 require 'test/unit'

This will only get you to another set of errors. Looking into those its
apparent that the railties test suite is dependent on the rails gem itself to
work, introducing a circular dependency, thus cannot be included in the rpm. I
verified the functionality though through use via the rubygem-rails package.

With this you can remove (or at least comment out) quite a few things relating
to the test suite. Also remove the bits deleting the .empty_directory files.
After that I'll approve.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review


[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]