Skip to content

Commit 7ffec85

Browse files
committed
Merge pull request Nerian#53 from cedel/master
Stringify Rails.version when comparing with string
2 parents 6b8b0cc + 595a77a commit 7ffec85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/bootstrap-wysihtml5-rails.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
module BootstrapWysihtml5Rails
55
module Rails
6-
if ::Rails.version < "3.1"
6+
if ::Rails.version.to_s < "3.1"
77
require "bootstrap-wysihtml5-rails/railtie"
88
else
99
require "bootstrap-wysihtml5-rails/engine"
1010
end
1111
end
12-
end
12+
end

0 commit comments

Comments
 (0)