Merge pull request #44 from dcuddeback/master

Fix for issue #43: unitialized constant during `rake` for Rails 2.3 applications
This commit is contained in:
John Bintz 2011-07-29 18:35:08 -07:00
commit 316383671a

View File

@ -5,5 +5,5 @@ module Jasmine
end end
end end
require 'jasmine/headless/railtie' if defined?(Rails) require 'jasmine/headless/railtie' if defined?(Rails) && Rails::VERSION::MAJOR >= 3