Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

Commit

Permalink
Fix Ctrl-C on Ruby v1.8.7.
Browse files Browse the repository at this point in the history
Ruby v1.8.7's Module.constants returns strings, not symbols.
  • Loading branch information
moll committed Nov 7, 2012
1 parent 91c1306 commit 0a3627f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jasmine/dependencies.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def rails3?
end end


def legacy_rack? def legacy_rack?
!Rack.constants.include?(:Server) !defined?(Rack::Server)
end end


def rails_3_asset_pipeline? def rails_3_asset_pipeline?
Expand Down

0 comments on commit 0a3627f

Please sign in to comment.