monde (owner)

Revisions

gist: 12630 Download_button fork
public
Public Clone URL: git://gist.github.com/12630.git
Embed All Files: show embed
Text #
1
2
3
4
5
6
7
8
9
10
# this file resides in dev_tools/github.rb of mms2r's project
# based on Trouble shooting section in http://gems.github.com/
require 'rubygems'
require 'rubygems/specification'
data = File.read(File.join(File.dirname(__FILE__), "..", "mms2r.gemspec"))
spec = nil
result = Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
puts spec
(!!result) ? exit(0) : exit(1)