Skip to content
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

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

Closed
pioter opened this issue Sep 13, 2024 · 5 comments
Closed

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

pioter opened this issue Sep 13, 2024 · 5 comments

Comments

@pioter
Copy link

pioter commented Sep 13, 2024

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
Copy link
Collaborator

texpert commented Sep 13, 2024

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 - sass-contrib/sass-embedded-host-ruby#227

@pioter
Copy link
Author

pioter commented Sep 13, 2024

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

@texpert
Copy link
Collaborator

texpert commented Sep 13, 2024

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

@texpert
Copy link
Collaborator

texpert commented Sep 13, 2024

@pioter, you can even fork the repo and remove the commits from this PR - #1078

@texpert texpert closed this as completed Sep 13, 2024
@pioter
Copy link
Author

pioter commented Sep 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants