Commit 03757a64 authored by John E. Vincent's avatar John E. Vincent

fixing engine detection. ANNOYING

parent bbc41bbe
...@@ -2,20 +2,14 @@ ...@@ -2,20 +2,14 @@
$:.push File.expand_path("../lib", __FILE__) $:.push File.expand_path("../lib", __FILE__)
require "noah/version" require "noah/version"
begin def engine
platform = RUBY_ENGINE defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby'
rescue
case RUBY_PLATFORM
when "java"
platform = 'jruby'
else
platform = 'ruby'
end
end end
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "noah" s.name = "noah"
s.version = Noah::VERSION s.version = Noah::VERSION
s.platform = platform s.platform = engine
s.authors = ["lusis"] s.authors = ["lusis"]
s.email = ["lusis.org+rubygems.org@gmail.com"] s.email = ["lusis.org+rubygems.org@gmail.com"]
s.homepage = "https://github.com/lusis/noah" s.homepage = "https://github.com/lusis/noah"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment