Closed spherop closed 12 years ago
Can you post your Gemfile?
source 'https://rubygems.org'
gem 'rails', '3.2.5' gem 'thin' gem "mysql2"
group :development do gem 'debugger' end
group :assets do gem 'sass-rails', '~> 3.2.3' gem 'coffee-rails', '~> 3.2.1' gem 'anjlab-bootstrap-rails', '2.0.4.1', :require => 'bootstrap-rails' gem 'font-awesome-sass-rails' gem 'haml_coffee_assets' gem 'execjs' gem 'uglifier', '>= 1.0.3' gem 'marionette-rails' end
gem 'jquery-rails' gem 'backbone-on-rails' gem 'slim' gem 'sugar-rails' gem "paperclip", "~> 3.0" gem 'aws-sdk', '~> 1.3.4' gem "rabl"
i tried this way and also putting "gem 'backbone-on-rails'" in the assets group.
i just created a new rails app. added the gem. set things up and the underscore file is:
// Underscore.js 1.3.1 // (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc. // Underscore is freely distributable under the MIT license. // Portions of Underscore are inspired or borrowed from Prototype, // Oliver Steele's Functional, and John Resig's Micro-Templating. // For all details and documentation: // http://documentcloud.github.com/underscore
gem list .... backbone-on-rails (0.9.2.0) ....
apologies if i am doing something crazy wrong. is everyone else getting v 1.3.3? could some other gem somehow conflict?
Yes I can confirm this. Underscore is updated in master but I didn't create a release for it yet. Will do this week.
Same problem, solved with
gem 'backbone-on-rails', git: 'https://github.com/meleyal/backbone-on-rails.git'
until the gem gets updated.
Just released v0.9.2.1 with Underscore v1.3.3: http://rubygems.org/gems/backbone-on-rails
This may be a basic thing that I don't get yet about the asset pipeline. But for some reason even though I have the latest version of this gem installed – I am getting errors that when I debug in webkit, I can see are due to the underscore version being 1.3.1.
How do I get that file to update 1.3.3 as it should be? Any help appreciated... MUCHO!