spree-contrib / spree_fancy

SpreeFancy is a responsive theme for Spree Commerce.
http://guides.spreecommerce.org
BSD 3-Clause "New" or "Revised" License
86 stars 186 forks source link

couldn't find file 'jquery.ui.all' #45

Closed BlackMiso closed 11 years ago

BlackMiso commented 11 years ago

The latest change didn't fix the previous problem in Issue #43.

LBRapid commented 11 years ago

@BlackMiso Did you bundle and run the install generator? bundle exec rails g spree_fancy:install

The fix is working for me with a spree 2-0-stable store using the 2-0-stable branch of spree_fancy

BlackMiso commented 11 years ago

I did and I am having the same issue.

BlackMiso commented 11 years ago

Here is the error that I am getting

couldn't find file 'jquery.ui.all' (in /usr/local/rvm/gems/ruby-1.9.3-p392/bundler/gems/spree_fancy-831cdf41efb9/app/assets/javascripts/store/spree_fancy.js:3)

LBRapid commented 11 years ago

@BlackMiso Can you paste the contents of bundle show in a gist or as a comment on this issue so I can make sure jquery-ui-rails is included?

BlackMiso commented 11 years ago

sure

/usr/local/rvm/gems/ruby-1.9.3-p392/bundler/gems/spree_fancy-831cdf41efb9

LBRapid commented 11 years ago

Can you do that bundle show without any other arguments? I'm looking for the full list of application dependencies.

BlackMiso commented 11 years ago

ah here you go

Gems included by the bundle:

LBRapid commented 11 years ago

@BlackMiso Everything looks good, I'm still unable to reproduce your problem though.

Here is what I did for my test store:

  1. rails new mystore
  2. cd mystore
  3. Added the following to the Gemfile
gem 'spree', :github => 'spree/spree', :branch => '2-0-stable'  
gem 'spree_fancy', :github => 'spree/spree_fancy', :branch => '2-0-stable'
  1. rails g spree:install
  2. rails g spree_fancy:install
  3. rails server

That worked for me. I'm not entirely sure why yours is presenting problems but I really do want to help you out.

BlackMiso commented 11 years ago

I fixed it by copy and pasting the Master javascript code, replacing the link to the javascript for 2-0. It's working so far! Thanks for your help =)