Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Matt Jones's latest activity

Thursday, October 09 2008
1128 Fix config.gem bugs and add more tests was updated in Ruby on Rails
  • Matt Jones
    Matt Jones commented at 2:01 PM

    Most likely a problem with Gem::GemPathSearcher. Will investigate and (hopefully) patch later today.

    The glitch only affects gems that are auto-loaded - Backgro...

Wednesday, October 08 2008
1194 Console --sandbox does not work was created in Ruby on Rails
  • Matt Jones
    Matt Jones created the ticket at 10:01 PM

    As first described on Rails talk, script/console -s gives the error:

    
    .../vendor/rails/activerecord/lib/active_record/base.rb:1824:in `method_missing':NoMeth...
1128 Fix config.gem bugs and add more tests was updated in Ruby on Rails
  • Matt Jones
    Matt Jones commented at 3:33 PM

    Found the problem - VendorGemSourceIndex#find_name (called by the gem loader) was copied from the old version. That's what I get for copy-n-paste... :)

    Attached...

  • Matt Jones
    Matt Jones commented at 2:36 PM

    Oddly enough, Gem.activate in rubygems.rb still uses the old find_name API. That's where the warning is coming from.

  • Matt Jones
    Matt Jones commented at 4:15 AM

    Make loaded false if spec not found - patch against master.

    Note to mislav: Gem.source_index.search isn't deprecated entirely, only in its (name, requirement) f...

Saturday, October 04 2008
1128 Fix config.gem bugs and add more tests was updated in Ruby on Rails
  • Matt Jones
    Matt Jones commented at 7:00 PM

    Tidied up as noted. Also moved a few other conditions into methods, such as the check for vendored Rails.

    The loaded? method is now commented in detail, as is t...

  • Matt Jones
    • Assigned user cleared.
    by Matt Jones at 12:50 AM

    I've attached a path that uses a modified SourceIndex object to find vendor gems. It should be compatible with existing setups.

Friday, October 03 2008
1128 Fix config.gem bugs and add more tests was updated in Ruby on Rails
  • Matt Jones
    Matt Jones commented at 8:54 PM

    The on-disk format change is mostly a matter of symmetry. I also thought it might enable a later version of this mechanism to do a 'gem install' locally, making...

Tuesday, September 30 2008
1128 Fix config.gem bugs and add more tests was updated in Ruby on Rails
  • Matt Jones
    Matt Jones commented at 10:06 PM

    Fix a number of errors in the config.gem mechanism.

    • Rails::GemDependency was missing definitions for hash and eql?, causing Array#uniq to not work.

    • If sever...

  • Matt Jones
    Matt Jones commented at 10:05 PM

    The vendor/gems change is to make it a proper Gem repository. This allows the code to simply use 'gem' to add load paths, whether the gem is frozen or not. Othe...