owen2345 / camaleon-cms

Camaleon CMS is a dynamic and advanced content management system based on Ruby on Rails
https://camaleon.website
MIT License
1.21k stars 285 forks source link

Problem with Installing sass-embedded 1.78.0 with native extensions #1098

Closed pioter closed 1 week ago

pioter commented 1 week ago

Hi,

Do you have any idea how to get around this? My hosting (and I don't want to change it) doesn't allow me to install this

Installing sass-embedded 1.78.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /usr/home/offside/.rvm/gems/ruby-3.2.4/gems/sass-embedded-1.78.0/ext/sass
/usr/home/offside/.rvm/rubies/ruby-3.2.4/bin/ruby -rrubygems /usr/home/offside/.rvm/gems/ruby-3.2.4/gems/rake-13.2.1/exe/rake RUBYARCHDIR\=/usr/home/offside/.rvm/gems/ruby-3.2.4/extensions/x86_64-freebsd-14/3.2.0/sass-embedded-1.78.0
RUBYLIBDIR\=/usr/home/offside/.rvm/gems/ruby-3.2.4/extensions/x86_64-freebsd-14/3.2.0/sass-embedded-1.78.0 --platform\=ruby
invalid option: --platform=ruby

rake failed, exit code 1

Gem files will remain installed in /usr/home/offside/.rvm/gems/ruby-3.2.4/gems/sass-embedded-1.78.0 for inspection.
Results logged to /usr/home/offside/.rvm/gems/ruby-3.2.4/extensions/x86_64-freebsd-14/3.2.0/sass-embedded-1.78.0/gem_make.out
texpert commented 1 week ago

Hi, @pioter !

You're running it on Free BSD, as the logs show?

Then, unfortunately, there is no solution, because Dart VM does not have BSD support. See - https://github.com/sass-contrib/sass-embedded-host-ruby/issues/227

pioter commented 1 week ago

@texpert yes. Cms is so cool and I won't be able to use it :(

texpert commented 1 week ago

Well, you can use an older version without dartsass-sprockets - 2.8.0, for example.

texpert commented 1 week ago

@pioter, you can even fork the repo and remove the commits from this PR - https://github.com/owen2345/camaleon-cms/pull/1078

pioter commented 1 week ago

yes I know, it's just easier to use the main repository. Thanks for your help :)