Skip to content

Commit 2751d45

Browse files
committed
fix path lookup
1 parent 8e2e042 commit 2751d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sassc/native.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module SassC
44
module Native
55
extend FFI::Library
66

7-
spec = Gem::Specification.find_by_name("sassc")
7+
spec = Gem.loaded_specs["sassc"]
88
gem_root = spec.gem_dir
99
ffi_lib "#{gem_root}/ext/libsass/lib/libsass.so"
1010

0 commit comments

Comments
 (0)