it should throw a load error (not just return false) for missing versions, even back to 0.8.11. I just verified this a couple days ago as part of an unrelated project. Strange...
On Jan 23, 2008 10:46 PM, Giles Bowkett <[EMAIL PROTECTED]> wrote: > > try requiring 'xmlsimple': > > > > irb(main):001:0> require 'rubygems' > > => true > > irb(main):002:0> require 'xmlsimple' > > => true > > > > This is with the latest 1.0.11 xml-simple gem. Did you find a require > > of 'xml_simple' in the ccrb source? That did not work for me, > > xmlsimple is the only file I see in the gem. > > Yep - in the Subversion log parser model > (app/models/subversion_log_parser.rb). Line 2. > > The crazy part is that it worked before. In fact my .irbrc uses a gem > which requires XmlSimple - in IRB, when I do the require your way, no > underscore, it returns false, because the gem's autoloaded by my > .irbrc. > > Should I just file a patch? I don't understand why that's in the code > because logically it couldn't *ever* have worked. Rails before 2.0 > loads your .irbrc in development mode due to an odd quirk, but that > can't explain it because it worked on other people's boxes as well. > Possibly Rails requires xmlsimple elsewhere and somehow prevents the > LoadError from being visible? It seems weird any way you slice it. > > -- > > Giles Bowkett > > Podcast: http://hollywoodgrit.blogspot.com > Blog: http://gilesbowkett.blogspot.com > Portfolio: http://www.gilesgoatboy.org > Tumblelog: http://giles.tumblr.com > > > > On Jan 23, 2008 5:59 PM, Giles Bowkett <[EMAIL PROTECTED]> wrote: > > > Hi all - trying to set up Cruise Control with Rails 2. It ran just > > > fine when I was on 1.2.5 not long ago but it's going nuts now. It > > > might not be a compatibility issue; I'm using it in an enterprisey > > > setting with a lot of confusing custom config. > > > > > > I'm getting a LoadError on 'xml_simple' from the Subversion log > > > parser. I installed the gem and I get the same LoadError if I go in > > > IRB and do: > > > > > > require 'rubygems' > > > require 'xml_simple' > > > > > > But I don't see anywhere else it would be in the dir structure and it > > > sure seems like requiring the gem would be the logical choice. > > > > > > -- > > > Giles Bowkett > > > > > > Podcast: http://hollywoodgrit.blogspot.com > > > Blog: http://gilesbowkett.blogspot.com > > > Portfolio: http://www.gilesgoatboy.org > > > Tumblelog: http://giles.tumblr.com > > > _______________________________________________ > > > Cruisecontrolrb-users mailing list > > > [email protected] > > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > > > _______________________________________________ > > Cruisecontrolrb-users mailing list > > [email protected] > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > _______________________________________________ > Cruisecontrolrb-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > _______________________________________________ Cruisecontrolrb-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
