summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gemfile2
-rw-r--r--ext/mkrf_conf.rb14
-rw-r--r--hcl.gemspec1
3 files changed, 2 insertions, 15 deletions
diff --git a/Gemfile b/Gemfile
index 3be9c3c..a62eae4 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,2 +1,4 @@
source "https://rubygems.org"
gemspec
+# XXX this is dumb but it's crazy hard to get platform specfic deps into a gemspec
+gem 'rubysl-test-unit', platform:'rbx'
diff --git a/ext/mkrf_conf.rb b/ext/mkrf_conf.rb
deleted file mode 100644
index 8639e62..0000000
--- a/ext/mkrf_conf.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-require 'rubygems'
-require 'rubygems/command.rb'
-require 'rubygems/dependency_installer.rb'
-begin
- Gem::Command.build_args = ARGV
-rescue NoMethodError
-end
-begin
- if RUBY_VERSION >= "2.0"
- Gem::DependencyInstaller.new.install "rubysl-test-unit"
- end
-rescue
- exit(1)
-end
diff --git a/hcl.gemspec b/hcl.gemspec
index 7c31a60..6965e47 100644
--- a/hcl.gemspec
+++ b/hcl.gemspec
@@ -4,7 +4,6 @@ require 'hcl'
Gem::Specification.new do |s|
s.name = "hcl"
s.version = HCl::VERSION
- s.extensions = 'ext/mkrf_conf.rb'
s.authors = ["Zack Hobson"]
s.email = "zack@zackhobson.com"