Skip to content

Commit

Permalink
probably can't expand path since we're not using a shell?
Browse files Browse the repository at this point in the history
  • Loading branch information
godfat committed Sep 28, 2013
1 parent 577cc2a commit 8e7b298
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gemgem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def sh_git *args
end

def sh_gem *args
Rake.sh(strip_path(Gem.ruby), '-S', 'gem', *args)
Rake.sh(Gem.ruby, '-S', 'gem', *args)
end

def readme
Expand Down Expand Up @@ -163,7 +163,7 @@ def gitignore

desc 'Install gem'
task :install => [:build] do
Gemgem.sh_gem('install', Gemgem.strip_path(Gemgem.gem_path))
Gemgem.sh_gem('install', Gemgem.gem_path)
end

desc 'Build gem'
Expand Down Expand Up @@ -192,7 +192,7 @@ def gitignore
sh_git('tag', Gemgem.gem_tag)
sh_git('push')
sh_git('push --tags')
sh_gem('push', Gemgem.strip_path(Gemgem.gem_path))
sh_gem('push', Gemgem.gem_path)
end
end

Expand Down

0 comments on commit 8e7b298

Please sign in to comment.