Comments (3)
Just tried with a brand new app generated with:
rails new -d sqlite3 -M -C -c sass -j esbuild -T -B testapp71 # Rails 7.1.1
bundle add dartsass-rails
bundle add administrate
rails dartsass:install
rails g model Page title body
rails db:setup
rails generate administrate:install
no dice, same error on production servers running on Amazon Linux 2023 with Ruby 3.2
from administrate.
Also doesn't work with Rails 7.0.6 on Ruby 3.2.2 in this combination.
Oddly enough, I have another application running with Rails 7.0.8 and Ruby 3.0 and the following gems, but set up with webpacker (and older Ruby 3.0)
gem 'administrate'
gem 'administrate-field-image'
gem 'dartsass-rails'
gem 'sprockets-rails'
and it works just fine with dartsass
from administrate.
Thank you for opening this issue and your patience whilst we figured out how to handle assets for now and in the future.
I took the decision to go with #2397, which will mean in our next release we'll be bundling the assets required for Administrate in the gem itself. My expectation is that this will mean there's no longer any downstream problems caused by us when people change the way they go about bundling their assets, or Rails itself changes how they want to do things.
I'm going to start releasing some pre-release versions of the gem in the coming days, as I'm sure I'm about to break stuff for people, and so we can get feedback and make sure there's nice migration help sorted out.
from administrate.
Related Issues (20)
- DEPRECATION WARNING: The method `valid_action?` is deprecated HOT 1
- Enum field: undefined method `roles' for User:Class HOT 2
- Scope select options to a particular resource?
- Error when excluding asset paths in application.rb
- Sorting on "virtual" column
- Enum issues in Rails 7.1.2 and Ruby 3.2.1 HOT 1
- Model Field Not Picked Up HOT 1
- Selectize fields with drag&drop functionality HOT 1
- Incompatibility with `importmap-rails` HOT 7
- Doubtful usage of `<fieldset>` in dashboard show page HOT 2
- CSS selector change in PR #2492 hides the checkbox input when editing a Field:Boolean HOT 3
- Document the removal of the transitive `sprockets-rails` dependency
- Will v1.0.0 provide built-in support for Active Storage and Action Text? HOT 1
- Handling of scoped dynamic routes HOT 2
- Upgrade to v1 breaks with applications using Bootstrap 4.6 HOT 11
- Flakey spec: Search admin search with a filter with arguments HOT 1
- Cannot see the value of most fields in edit forms unless you mouseover them (1.0.0.beta1) HOT 2
- Selectize removes the blank options from selects HOT 1
- How to type an attribute that returns a model but doesn't use a has_one association HOT 1
- generator `administrate:install` fails if ActionCable is disabled HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from administrate.