Changeset 348

Show
Ignore:
Timestamp:
04/07/06 00:42:26 (3 years ago)
Author:
lazyatom
Message:

Seat-of-my-pants bugfix for gem loading error

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/engines/CHANGELOG

    r344 r348  
    11*SVN* 
     2 
    23 
    34----- 
     
    1415- Fixed the test_helper.erb file to use the correct testing extensions and not load any schema - the schema will be cloned automatically via rake test:engines 
    1516- Fixed problem when running with Rails 1.1.1 where version wasn't determined correctly (Ticket #129) 
     17- Fixed bug preventing engines from loading when both Rails 1.1.0 and 1.1.1 gems are installed and in use. 
     18- Updated version (d'oh!) 
     19 
    1620 
    1721----- 
  • plugins/engines/init.rb

    r311 r348  
    3636  Major = 1 # change implies compatibility breaking with previous versions 
    3737  Minor = 1 # change implies backwards-compatible change to API 
    38   Release = 0 # incremented with bug-fixes, updates, etc. 
     38  Release = 1 # incremented with bug-fixes, updates, etc. 
    3939end 
    4040 
  • plugins/engines/lib/engines.rb

    r344 r348  
    44begin 
    55  require 'rails_version' # Rails 1.0, 1.1.0 
    6 rescue LoadError 
     6rescue LoadError, Gem::Exception 
    77  require 'rails/version' # renamed as of Rails 1.1.1 
    88end