Skip to content

Commit

Permalink
don't change SAFE when eval'ing gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
rtomayko committed Sep 10, 2010
1 parent 02d2b48 commit 65db48e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -82,7 +82,7 @@ end

if defined?(Gem)
# load gemspec
$spec = eval("$SAFE=3\n#{File.read('rack-cache.gemspec')}")
$spec = eval(File.read('rack-cache.gemspec'))

def package(ext='')
"dist/rack-cache-#{$spec.version}" + ext
Expand Down

0 comments on commit 65db48e

Please sign in to comment.