-
Notifications
You must be signed in to change notification settings - Fork 95
Update install_generator.rb #37
base: master
Are you sure you want to change the base?
Conversation
I don't think this is correct. Your spree assets should be under vendor/assets not app/assets, and this may just be an issue with upgrading from an older version of spree without moving them to vendor from app. Did you try installing this in a fresh 2.4 store or did you upgrade to 2.4 then try to install the extension? |
You are changing the manifest files. Changing them in vendor/assets does not seem to work. Kruby
|
Where in your application do the manifest files exist? They should be under vendor/assets not assets. |
Hi Jeff, They exist in both places. Venlig hilsen / Kind regards Kruby Den 26/11/2014 kl. 17.29 skrev Jeff Dutil [email protected]:
|
I believe this is some sort of issue with your application itself, and not a required change in this extension. It appears to be that your assets are not within the expected locations. Can you reproduce the problem on a fresh 2.4 store? |
Hi Jeff, I will try that and get back to you. If you are upgrading from Rails 3, please take into account that assets under lib/assetsor vendor/assets are available for inclusion via the application manifests but no longer part of the precompile array. See Precompiling Assets for guidance. Venlig hilsen / Kind regards Kruby
|
Hi Jeff, Just another thought. Besides the standard assets/* paths, additional (fully qualified) paths can be added to the pipeline in config/application.rb. For example: config.assets.paths << Rails.root.join("lib", "videoplayer", "flash") Venlig hilsen / Kind regards Kruby
|
I boiled it down to changing this one file.
I tested back and forth, an realized that I did not need to create a separate CSS file or bring over the images.
All that was needed was to change the files in assets instead of vendor/assets.
Hope you agree.
Kind regards.