Skip to content

Commit f24581c

Browse files
committed
Merge pull request #21 from sass/fix_path_lookup
fix path lookup
2 parents 8e2e042 + 2751d45 commit f24581c

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)