summaryrefslogtreecommitdiff
path: root/json-java.gemspec
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2011-06-15 00:43:53 +0200
committerFlorian Frank <flori@ping.de>2011-06-15 00:43:53 +0200
commit96e24da84893ea9724122ae3929aff66dbb3a9db (patch)
treeb2593bef3f0b18dbe275e1d02d5204ce81089f7f /json-java.gemspec
parent1363331e4b4a8d36b5cfad636e3671005017d7f0 (diff)
downloadjson-96e24da84893ea9724122ae3929aff66dbb3a9db.tar.gz
gemspec needs to return spec for gem build to work
Diffstat (limited to 'json-java.gemspec')
-rw-r--r--json-java.gemspec4
1 files changed, 3 insertions, 1 deletions
diff --git a/json-java.gemspec b/json-java.gemspec
index 144f650..422efec 100644
--- a/json-java.gemspec
+++ b/json-java.gemspec
@@ -1,4 +1,4 @@
-#! /usr/bin/env jruby
+#!/usr/bin/env jruby
require "rubygems"
spec = Gem::Specification.new do |s|
@@ -17,4 +17,6 @@ end
if $0 == __FILE__
Gem::Builder.new(spec).build
+else
+ spec
end