Created
September 24, 2008 18:35
-
-
Save monde/12630 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment