Skip to content

Commit

Permalink
Adds Windows compatibility. Open3 requires fork, so we need win32-open3.
Browse files Browse the repository at this point in the history
  • Loading branch information
vertiginous committed Apr 24, 2008
1 parent 1737468 commit 144d616
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/github/command.rb
@@ -1,4 +1,10 @@
require 'open3'
if Gem.win_platform?
require 'win32/open3'
warn "You must 'gem install win32-open3' to use the github command on Windows"
exit 1
else
require 'open3'
end

module GitHub
class Command
Expand Down

0 comments on commit 144d616

Please sign in to comment.