github-gem
github-gem copied to clipboard
Problem on Windows 7 (still claims to require win32-open3 w/ 1.9.2)
I'm running into a problem on Windows 7 x64, where the github gem claims to require win32-open3 even though this functionality (I think?) is baked into ruby 1.9.2.
I tried installing a work-around I found via Google, win32-open3-19, but then got the following error trace when trying to run 'gh create-from-local':
C:/RubyOnRails/Ruby1.9.2/lib/ruby/1.9.1/open3.rb:202:in spawn': No such file or directory - pwd (Errno::ENOENT) from C:/RubyOnRails/Ruby1.9.2/lib/ruby/1.9.1/open3.rb:202:inpopen_run'
from C:/RubyOnRails/Ruby1.9.2/lib/ruby/1.9.1/open3.rb:90:in popen3' from C:/RubyOnRails/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/github-0.6.2/lib/github/command.rb:127:inrun'
from C:/RubyOnRails/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/github-0.6.2/lib/github/command.rb:61:in sh' from C:/RubyOnRails/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/github-0.6.2/lib/commands/commands.rb:242:inblock in load'
from C:/RubyOnRails/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/github-0.6.2/lib/github/command.rb:25:in call' from C:/RubyOnRails/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/github-0.6.2/lib/github.rb:76:ininvoke'
from C:/RubyOnRails/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/github-0.6.2/lib/github.rb:70:in activate' from C:/RubyOnRails/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/github-0.6.2/bin/gh:8:in<top (required)>'
from C:/RubyOnRails/Ruby1.9.2/bin/gh:19:in load' from C:/RubyOnRails/Ruby1.9.2/bin/gh:19:in
I believe I am getting the same problem, with a fresh install using latest Railsinstaller on Windows 7
C:\Sites\sciteachplan>gh --help You must 'gem install win32-open3' to use the github command on Windows
C:\Sites\sciteachplan>gem install win32-open3 ERROR: Error installing win32-open3: win32-open3 requires Ruby version < 1.9.0.
On the suggestion above, installing win32-open3-19 initially works to get the help menu up.
C:\Sites\sciteachplan>gem install "win32-open3-19" Fetching: win32-open3-19-0.0.1.gem (100%) Successfully installed win32-open3-19-0.0.1 1 gem installed Installing ri documentation for win32-open3-19-0.0.1... Installing RDoc documentation for win32-open3-19-0.0.1...
C:\Sites\sciteachplan>gh --help
Usage: github command
But then when building local I get the following:
C:\Sites\sciteachplan>gh create-from-local
Please enter your GitHub credentials:
Username: polymatter
Your account token is at https://github.com/account under 'Account Admin'.
Press Enter to launch page in browser.
Token:
some of the formatting went a bit weird with the error above, and I thought it would be useful to indicate this occured with vanilla railsinstaller on windows.
still open?
I have the same issue. Any ideas?
get the same issue !
same issue, please fix...
Same issue here
Same problem.
Same issue here. Help would be greatly appreciated.
Same issue
+1 on this
Same issue
same issue
same issue
same problem here....
Same here.
same here... :(
Scott, this sucks!
$ ruby --version
ruby 1.9.3p0 (2011-10-30) [i386-mingw32]
$ gem install github
Successfully installed github-0.6.2
$ gh
You must 'gem install win32-open3' to use the github command on Windows
$ gem install win32-open3
Fetching: win32-open3-0.3.2-x86-mingw32.gem (100%)
ERROR: Error installing win32-open3:
win32-open3 requires Ruby version < 1.9.0.
will this be fixed? I'm still seeing the same error as in previous comment.
+1 to ryenus. Will this be fixed or do I need to look for alternatives?
How fix it? help me
same issue
+1 same problem here
Still the same Problem, Any fix-up guys !!!