[openstreetmap/openstreetmap-website] We need to move away from dartsass-ruby (Issue #5313)

Tom Hughes notifications at github.com
Tue Nov 12 17:20:20 UTC 2024


We are currently using `dartsass-ruby` as a dependency of `dartsass-sprockets` but v1.x of the `uri` gem has an ABI change which breaks it:

```
bin/rails aborted!
ArgumentError: wrong number of arguments (given 1, expected 0) (ArgumentError)
/home/tom/.bundle/ruby/3.3.0/gems/uri-1.0.1/lib/uri/rfc3986_parser.rb:73:in `initialize'
/home/tom/.bundle/ruby/3.3.0/gems/dartsass-ruby-3.0.2/lib/sassc/url.rb:5:in `new'
/home/tom/.bundle/ruby/3.3.0/gems/dartsass-ruby-3.0.2/lib/sassc/url.rb:5:in `<module:URL>'
/home/tom/.bundle/ruby/3.3.0/gems/dartsass-ruby-3.0.2/lib/sassc/url.rb:4:in `<module:SassC>'
/home/tom/.bundle/ruby/3.3.0/gems/dartsass-ruby-3.0.2/lib/sassc/url.rb:3:in `<main>'
/home/tom/.bundle/ruby/3.3.0/gems/dartsass-ruby-3.0.2/lib/sassc.rb:54:in `require_relative'
/home/tom/.bundle/ruby/3.3.0/gems/dartsass-ruby-3.0.2/lib/sassc.rb:54:in `<main>'
```

As `dartsass-ruby` has been abandoned it seems either `dartsass-sprockets` will need updating or we will need to replace it.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5313
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/5313 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241112/5c691385/attachment.htm>


More information about the rails-dev mailing list