ext/faster_path/extconf.rb in faster_path-0.1.1 vs ext/faster_path/extconf.rb in faster_path-0.1.2
- old
+ new
@@ -9,11 +9,11 @@
puts "curl -sSf https://static.rust-lang.org/rustup.sh | sudo sh -s -- --channel=nightly"
puts
END { puts "Exiting..."}
end
-Dir.chdir('../../') do
+Dir.chdir(File.expand_path("../../", File.dirname(__FILE__))) do
system("rake build_src")
system("rake clean_src")
end
-create_makefile('faster_path/dummy')
\ No newline at end of file
+create_makefile('faster_path/dummy')