|
Re: [rubygems] Build still broken (#1149): msg#00064lang.ruby.gems.devel
Hi, Eric. First of all thanks for your RubyGems improvements. You and other developers are doing great job. On 12/20/06, Cerberus <
anatol.pomozov-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
_______________________________________________------------------------------------------------------------------------ As I see RubyGems could not correctly define that Rake finished with error This is what RubyGems do unless $?.exitstatus.zero? then raise Gem::InstallError, "#{class_name} failed:\n\n#{ results.join "\n"}" end But Rake finishes with return code == 0 on windows even if some error present. I dunno why, better to ask Rake developers. Anyway this is how I define that rake finished with error in Cerberus. def successful? $?.exitstatus == 0 and not @output.include?("rake aborted!") end I dont think that it is very elegant (what if user would print this message from Rake code) but it works both on Windoze and *nix. Any comments on this subject? 2) Failure: puts source_hash gives me following output http://gems.rubyforge.org#<Gem::SourceIndex:0x788f3b8>
http://onestepback.org/betagems#<Gem::SourceIndex:0x63184f0>
code.whytheluckystiff.net#<Gem::SourceIndex:0x63085d8>http://gems.example.com#<Gem::SourceIndex:0x788f7c0>
http://gems.rubyonrails.org#
<Gem::SourceIndex:0x62db140> looks like test uses also my own gem-repositories (not only http://gems.example.com ) 277 tests, 982 assertions, 2 failures, 0 errors Rubygems-developers mailing list Rubygems-developers-GrnCvJ7WPxnNLxjTenLetw@xxxxxxxxxxxxxxxx http://rubyforge.org/mailman/listinfo/rubygems-developers
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Release time! (Was: Release time?), Eric Hodel |
|---|---|
| Next by Date: | Re: Release time! (Was: Release time?), Chad Fowler |
| Previous by Thread: | Re: [rubygems] Build still broken (#1149), Eric Hodel |
| Next by Thread: | Re: [rubygems] Build still broken (#1149), Eric Hodel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |