Skip to content

Commit

Permalink
update gemspec loading method
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkerbot committed Jul 12, 2011
1 parent 1e92de6 commit 63a94e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Rakefile
Expand Up @@ -7,9 +7,7 @@ Bundler::GemHelper.install_tasks
#

def gemspec
require 'rubygems/specification'
path = File.expand_path('configurable.gemspec')
eval(File.read(path), binding, path, 0)
@gemspec ||= eval(File.read('configurable.gemspec'), TOPLEVEL_BINDING)
end

desc 'Prints the gemspec manifest.'
Expand Down

0 comments on commit 63a94e0

Please sign in to comment.