sprockets Questions
4
I've been round and round here with trying to get the assets to pre-compile on my production server (straightforward ubuntu install with ruby 1.9.2 and Rails 3.1.1, and tried 3.1.2RC with the new s...
Epigraphy asked 17/11, 2011 at 17:57
2
I got this error:
ActionView::Template::Error (Asset `application.css` was not declared to be precompiled in production.
Declare links to your assets in `app/assets/config/manifest.js`.
//= link...
Au asked 24/9, 2017 at 14:41
8
Solved
running rake assets:precompile ends with the error.
Can't find why it still requires sassc, sassc only was in project when migrated to sprockets 4 using Guide to upgrading from Sprockets 3.x to 4.x...
Deboer asked 19/8, 2022 at 13:54
4
Solved
I've been pulling my hair out for this one. I've always had a bad relationship with the asset-pipeline, it is always giving me trouble.. And today again..
When I try and compile my assets locally,...
Bobbysoxer asked 17/7, 2014 at 16:58
6
Solved
I've been developing a site in rails, everything going relatively smooth. Suddenly my changes to the views and assets no longer show up. I change a stylesheet or some html and reload my browser at ...
Cone asked 6/10, 2012 at 19:8
5
Solved
I just upgraded my app from Rails 4.2.7 to Rails 5.0.0.1. I used RailsDiff to make sure I had everything covered and I believe I did. So far everything has worked well up until the loading of my ap...
Velum asked 2/9, 2016 at 14:30
1
Solved
Basically, exactly as the title says. I have a gem installed that gives me some JS to use. This wasn't a problem before as I was using Sprockets + Assets pipeline.
Now, I migrated to jsbundling-rai...
Zoezoeller asked 19/5, 2022 at 13:17
2
Solved
I upgraded the tailwindcss-rails gem and got this error when compiling assets for production:
bundle exec rails assets:precompile
rails aborted!
SassC::SyntaxError: Error: unterminated attribute se...
Steatopygia asked 23/8, 2021 at 20:12
6
I was trying out some sample applications for Rails. I created some
controllers and pages. But when i try to access one of them i get an
exception on the webpage:
Sprockets::FileNotFound in Page...
Constance asked 25/11, 2011 at 12:13
1
I just set an empty Rails 7.0.1 project and add Docker file to it, when the command rake assets:precompile run it's not including the files inside the app/assets/builds folder.
Does anyone have an ...
Windhoek asked 23/1, 2022 at 23:15
3
Solved
I cannot seem to find a way to disable the Asset Pipeline in Rails 4.1. I see a lot of information for Rails 3.2.
I want to use Grunt/GulpJs and bower to handle all of my assets and I cannot seem...
Cesya asked 22/3, 2014 at 1:19
4
Porting a web app to phoneGap on iOS, we have asset (and ajax) URLs that are absolute paths, e.g.:
<img src="/img/logo.png">
We have the img directory packaged under PhoneGap's www directo...
4
Solved
Upgrading from rails 5.2 to rails 6.0.1, I get the following error when loading a page in development mode:
Sprockets::FileNotFound - couldn't find file 'leaders.source.coffee'
Checked in these pa...
Misfit asked 14/12, 2019 at 19:24
1
Solved
I am building a rails app and having some odd sass compilation issues.
My setup:
Rails 6.1.3
Ruby 3.0.0
sass-rails 6.0.0
sassc-rails 2.1.2
My application.scss basically loads a few sass files tha...
Unremitting asked 15/3, 2021 at 16:56
1
Solved
I have a Rails 6 app I return to sporadically. It's using webpacker for the JS, and Sprockets for the CSS (as I think is default). If relevant, I'm developing on WSL - the files are in the Ubuntu f...
Slung asked 15/1, 2021 at 14:25
1
I'm experiencing this error while pushing to heroku repo
remote: rake aborted!
remote: Sprockets::DoubleLinkError: Multiple files with the same output path cannot be linked ("style.css")
...
Stigma asked 27/6, 2020 at 17:11
1
We have an issue since we upgraded our project's dependency from rails 4.2 to rails 5.2
We use both Sprockets assets and Webpacker. When booting the server for the first time, and loading the firs...
Radicle asked 15/5, 2020 at 9:23
3
Solved
I seem to have a TON of them in subfolders named for example
sprockets%2F76920e6913c3390459175ac8e6dfd44a3
They seem to contain binary data.
What are they for, why are there so many of them and...
Mirabel asked 7/6, 2013 at 16:51
0
I have a Rails 4 app that was recently heavily upgraded (in terms of gem versions and some other things). Deploys have been working fine, but once we cleared out our tmp directories we noticed that...
Peter asked 13/2, 2020 at 16:41
1
How do you remove Sprockets from Rails?
I've..
removed all the Sprockets Gems.
removed all the config.assets.* from initializers, etc..
Still, Rails is looking for Sprockets
/Users/username/...
Unmannered asked 28/12, 2019 at 22:1
4
Solved
Since I updated several gems all tests fail with the error:
ActionView::Template::Error: Asset was not declared to be precompiled
in production.
Add Rails.application.config.assets.precompile += %...
Prot asked 17/12, 2015 at 20:57
0
It seems sprockets 4.0.0 is compatible with Chrome 78, but not Firefox 70.
Starting with a new rails app:
rails -v # Rails 6.0.0
rails new helloworld
# Gemfile
gem 'sass-rails', '~> 6' # not...
Noachian asked 30/10, 2019 at 20:5
4
Solved
I ran into problems with asset pre-compilation during deploys, so I opted to go for local pre-compilation and check in the resulting files to my source tree. I don't really have any problems with t...
Proofread asked 5/3, 2015 at 21:32
6
Solved
I'm using the following code snippet to manually compile a sass manifest with some variable overrides appended.
template = File.read("#{Rails.root}/app/assets/schemes/#{scheme}/css/styles.css.scss...
Dorolice asked 21/5, 2015 at 14:0
2
Solved
I am using Rails 4.2 and the document states that the fingerprint is an md5 digest calculated based on the content of the compiled file.
If we take a file lets say application-4c697a2e67b1a921abb...
Astolat asked 9/8, 2018 at 12:44
1 Next >
© 2022 - 2024 — McMap. All rights reserved.