aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/tasks/compiler.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/compiler.rake b/lib/tasks/compiler.rake
index 30b4de1..e886cc9 100644
--- a/lib/tasks/compiler.rake
+++ b/lib/tasks/compiler.rake
@@ -31,7 +31,7 @@ namespace :compiler do
Compiler.create!(language: "ruby",
version: args[:version],
- version_long: `#{destdir}#{prefix}/bin/ruby -v`.lines.first.chomp,
+ version_long: `LD_LIBRARY_PATH=#{destdir}#{prefix}/lib #{destdir}#{prefix}/bin/ruby -v`.lines.first.chomp,
command_line: "#{prefix}/bin/ruby PROGRAM")
}
}
@@ -63,7 +63,7 @@ namespace :compiler do
Compiler.create!(language: "php",
version: args[:version],
- version_long: `#{destdir}#{prefix}/bin/php -v`.line.first.chomp,
+ version_long: `LD_LIBRARY_PATH=#{destdir}#{prefix}/lib #{destdir}#{prefix}/bin/php -v`.lines.first.chomp,
command_line: "#{prefix}/bin/php PROGRAM")
}
}