We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b546434 + e0b03fd commit e51fc32Copy full SHA for e51fc32
lib/generators/jquery/install/install_generator.rb
@@ -1,7 +1,7 @@
1
require 'rails'
2
3
# Supply generator for Rails 3.0.x or if asset pipeline is not enabled
4
-if ::Rails.version < "3.1" || !::Rails.application.config.assets.enabled
+if ::Rails.version.to_s < "3.1" || !::Rails.application.config.assets.enabled
5
module Jquery
6
module Generators
7
class InstallGenerator < ::Rails::Generators::Base
0 commit comments