We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 059198d commit 0e9ca86Copy full SHA for 0e9ca86
lib/sassc/native.rb
@@ -9,7 +9,7 @@ module Native
9
spec = Gem.loaded_specs["sassc"]
10
gem_root = spec.gem_dir
11
12
- dl_ext = (RUBY_PLATFORM =~ /darwin/ ? 'bundle' : 'so')
+ dl_ext = (RbConfig::CONFIG['host_os'] =~ /darwin/ ? 'bundle' : 'so')
13
ffi_lib "#{gem_root}/lib/sassc/libsass.#{dl_ext}"
14
15
require_relative "native/sass_value"
0 commit comments