New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling assets (relative paths, fonts) correctly #83
Comments
Yes! Any help is appreciated. But there are some points that I'd like to clarify.
If we follow the link to Rails' pull and see files we should notice that So does it mean we should just configure sprockets properly? |
I'll take a further look into the mentioned topics soon. Gotta go now. TTYL. |
@SergeyKishenin, I decided to stick with rails-assets.org. It feels more natural to be able to simply do a I read somewhere that you are planning to join forces with rails-assets.org? I wish both projects big success, having a working solution for assets management is highly anticipated by the Rails community and long overdue. Thank you for your work! |
Yes, we are! But now the development is stopped because of lack of time :( Hope, we'll get back to it asap. |
Hello!
I really appreciate bower-rails, but so far it seems to be only useful for js-only packages.
I tried to get Bootstrap to work, and while figuring out how to integrate it correctly into my development process, it doesn't work for production, as there are some issues with relative paths and other assets (like e.g. fonts), as you may already know.
Are you interested in some help fixing these? I'm thinking of two things:
Fix the relative assets problem. I think this shouldn't be a big problem, as resolve_asset_paths looks pretty simple. Instead of converting the
.css
file into a.css.erb
file I suggest replacing all file paths directly and saving the file as normal.css
file.Copy additional assets to
public/assets
. This should be possible, too. I don't really know where's specified which files should be available for use (I could imagine that it's themain
directive), but then we could simply copy the files to the Railspublic/assets
directory.The text was updated successfully, but these errors were encountered: