Permalink
Browse files

Fix Ctrl-C on Ruby v1.8.7.

Ruby v1.8.7's Module.constants returns strings, not symbols.
  • Loading branch information...
1 parent 91c1306 commit 0a3627f1dfc51576f38e1efe874734f4ddfd8097 @moll moll committed Nov 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/jasmine/dependencies.rb
@@ -19,7 +19,7 @@ def rails3?
end
def legacy_rack?
- !Rack.constants.include?(:Server)
+ !defined?(Rack::Server)
end
def rails_3_asset_pipeline?

0 comments on commit 0a3627f

Please sign in to comment.