Coder Social home page Coder Social logo

Comments (3)

januszm avatar januszm commented on June 21, 2024

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.

januszm avatar januszm commented on June 21, 2024

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.

nickcharlton avatar nickcharlton commented on June 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.