-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Font-awesome issue. Again. #3216
Comments
The current published verison of the rails_admin gem has an issue regarding the transclusion of a stylesheet pertaining to Font Awesome. For more information please see: railsadminteam/rails_admin#3216 Signed-off-by: Charlie Jonas <charlie@charliejonas.co.uk>
I have the same issue too:
|
Same too :((
|
As @CHTJonas mentioned, we can use rails_admin directly from github gem 'rails_admin', '~> 2.0', git: 'https://github.com/sferik/rails_admin.git' instead of rubygems for now. |
@airled Thanks! Your solution works. I just didn't know I could import gem like that. |
Why using it like this from git directly is needed? Curious. |
Because last version on rubygems is 2.0.0 (august) and fix was merged after that time. You can use the gem from rubygems again after it will be updated on rubygems. |
Such patches should be released on ASAP basis though, thanks for explaining. 🙂 |
To avoid an issue related to font-awesome, currently this gem is installed from GitHub following the instruction written here: railsadminteam/rails_admin#3216
Dup of #3204 and fixed in the latest release 2.0.1. |
Updating Version to 2.0.2 works for me. |
I had issue in version 2.2.1 and tried that one above with url 2.0 but like url dont exists anymore so tried also 2.0.2 and worked. Thank you! |
Popping up again in version 3.1.0 Kindly take a look |
What issue are you referring to? Please provide the error trace. |
I think I also have the same issue in version 3.1 SassC::SyntaxError in RailsAdmin::Main#dashboard Error: File to import not found or unreadable: rails_admin/src/rails_admin/styles/base.
In my gemfile I have specified: gem 'rails_admin', '~> 3.1', git: 'https://github.com/sferik/rails_admin.git' |
That looks unrelated to font-awesome, please open a new issue. |
In add: In the manifest.js will become:
I'm using rails_admin 3.1.2, ruby 3.1.4, rails 7.0.5 and it works for me. |
here is the perfect mainfest ;- //= link_tree ../images Assets.rb Rails.application.config.assets.version = '1.0' Rails.application.config.assets.paths << Rails.root.join('app', 'assets', 'builds') Rails.application.config.assets.paths << Rails.root.join('node_modules/@fortawesome/fontawesome-free/webfonts') |
New
rails 6.0.1
withsass-rails 6.0.0
withsprockets 4
andrails_admin 2.0.0
raises this again:The text was updated successfully, but these errors were encountered: