Closed sime closed 9 years ago
I could not replicate in a new application. It may be something in your setup.
@sime you might my answer at https://github.com/rails/jquery-rails/issues/180 helpful
Sounds similar to how I made the problem go away.
I switch from system wide gems to using rbenv. On 14 Dec 2014 03:50, "Matt De Leon" notifications@github.com wrote:
@sime https://github.com/sime you might my answer at #180 https://github.com/rails/jquery-rails/issues/180 helpful
— Reply to this email directly or view it on GitHub https://github.com/rails/jquery-rails/issues/177#issuecomment-66900621.
Hi,
I can't quite put my finger on what is going on here, but I'm running Rails 4.2.0.beta4 and just updated to jquery-rails 4.0.0.
Oddly I get a similar error when I try to include 'jquery2'. If I view source and visit the jquery URL directly it presents me jQuery version 2.1.1, but 'jquery.js' in the gem is 1.11.1.
I then cleaned the jquery-rails gem: sudo gem clean jquery-rails, and no difference.
I thought it might be something to do with rails-assets but removing that made no difference.