Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #28 from Canar/master

As per our email
  • Loading branch information...
commit 62af6373cf39e38d5838946960a6215316c34df6 2 parents faaa91b + d453f5b
@mwotton authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 Rakefile
  2. +1 −1  lib/hubris.rb
View
4 Rakefile
@@ -20,8 +20,8 @@ Rake::ExtensionTask.new('stub')
# intended to be called by the gem builder
task :haskell_compile => [:compile] do
- ghc_version='/usr/bin/ghc' # FIXME, should be able to pick
- # this out from somewhere
+ ghc_version=`which ghc`.strip
+
# write the Includes file
pwd =`pwd`.strip
arch_headers = "#{RbConfig::CONFIG['rubyhdrdir']}/#{RbConfig::CONFIG['arch']}"
View
2  lib/hubris.rb
@@ -94,7 +94,7 @@ def hubrify(mod, args, src,packages=[])
end
def dylib_suffix
- case Config::CONFIG['target_os']
+ case RbConfig::CONFIG['target_os']
when /darwin/; "bundle"
when /linux/; "so"
else; "so" #take a punt
Please sign in to comment.
Something went wrong with that request. Please try again.