-
Notifications
You must be signed in to change notification settings - Fork 406
Closed
Description
Hi,
Since I updated to the latest rails (edge), i'm not able to load jquery-rails (2.2.1) anymore.
/usr/local/rvm/gems/ruby-2.0.0-p0/gems/jquery-rails-2.2.1/lib/jquery/rails.rb:2:in `>=': comparison of Gem::Version with String failed (ArgumentError)
from /usr/local/rvm/gems/ruby-2.0.0-p0/gems/jquery-rails-2.2.1/lib/jquery/rails.rb:2:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.0.0-p0/gems/jquery-rails-2.2.1/lib/jquery-rails.rb:1:in `require'
from /usr/local/rvm/gems/ruby-2.0.0-p0/gems/jquery-rails-2.2.1/lib/jquery-rails.rb:1:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.0.0-p0/gems/bundler-1.3.4/lib/bundler/runtime.rb:72:in `require'
from /usr/local/rvm/gems/ruby-2.0.0-p0/gems/bundler-1.3.4/lib/bundler/runtime.rb:72:in `block (2 levels) in require'
from /usr/local/rvm/gems/ruby-2.0.0-p0/gems/bundler-1.3.4/lib/bundler/runtime.rb:70:in `each'
from /usr/local/rvm/gems/ruby-2.0.0-p0/gems/bundler-1.3.4/lib/bundler/runtime.rb:70:in `block in require'
from /usr/local/rvm/gems/ruby-2.0.0-p0/gems/bundler-1.3.4/lib/bundler/runtime.rb:59:in `each'
from /usr/local/rvm/gems/ruby-2.0.0-p0/gems/bundler-1.3.4/lib/bundler/runtime.rb:59:in `require'
from /usr/local/rvm/gems/ruby-2.0.0-p0/gems/bundler-1.3.4/lib/bundler.rb:132:in `require'
from /data/home/me/www/netadge/bo/trunk/config/application.rb:6:in `<top (required)>'
from /data/home/me/.bundler/ruby/2.0.0/rails-8caafd9076c5/railties/lib/rails/commands.rb:78:in `require'
from /data/home/me/.bundler/ruby/2.0.0/rails-8caafd9076c5/railties/lib/rails/commands.rb:78:in `block in <top (required)>'
from /data/home/me/.bundler/ruby/2.0.0/rails-8caafd9076c5/railties/lib/rails/commands.rb:75:in `tap'
from /data/home/me/.bundler/ruby/2.0.0/rails-8caafd9076c5/railties/lib/rails/commands.rb:75:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
Here's the affected line:
require 'jquery/rails/engine' if ::Rails.version >= '3.1'I'm not sure if this is a jquery-rails or a rails4 issue but as it seems that rails4 has change the type of Rails.version i think it should be the test that needs to be changed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels