Verified Commit 99eaacef authored by paz's avatar paz

Fix Task 'publish_gem'

parent 6357aa66
......@@ -110,7 +110,7 @@ end
desc 'Publish gem-file to'
task :publish_gem do
puts "Really push #{@filename_gem} to [yN]"
if gets.match(/^y/i)
if $stdin.gets.match(/^y/i)
puts "Pushing..."
`gem push #{@filename_gem}`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment