Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem on Windows 7 (still claims to require win32-open3 w/ 1.9.2) #75

Open
eviljosh opened this issue Oct 23, 2011 · 23 comments
Open

Comments

@eviljosh
Copy link

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

'

@polymatter
Copy link

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
Available commands:
....

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:
C:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/open3.rb:202:in 'spawn': No such file or directory - curl -F 'repository[name]=sciteachplan' -F 'repository[public]=true' -F 'login='polymatter'' -F 'token='' https://github.com/repositories (Errno::ENOENT)
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/open3.rb:202:in 'popen_run'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/open3.rb:90:in 'popen3'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/github-0.6.2/lib/github/command.rb:127:in 'run'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/github-0.6.2/lib/github/command.rb:61:in 'sh'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/github-0.6.2/lib/commands/commands.rb:246:in 'block in load'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/github-0.6.2/lib/github/command.rb:25:in 'call'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/github-0.6.2/lib/github.rb:76:in 'invoke'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/github-0.6.2/lib/github.rb:70:in 'activate'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/github-0.6.2/bin/gh:8:in '<top (required)>'
from C:/RailsInstaller/Ruby1.9.2/bin/gh:19:in 'load'
from C:/RailsInstaller/Ruby1.9.2/bin/gh:19:in '<main>'

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.

@byousri
Copy link

byousri commented Nov 17, 2011

still open?

@riverblufftrail
Copy link

I have the same issue. Any ideas?

@djeremh
Copy link

djeremh commented Nov 23, 2011

get the same issue !

@ddierickx
Copy link

same issue, please fix...

@ghost
Copy link

ghost commented Nov 26, 2011

Same issue here

@magee
Copy link

magee commented Nov 29, 2011

Same problem.

@MartinOST
Copy link

Same issue here. Help would be greatly appreciated.

@ghost
Copy link

ghost commented Dec 3, 2011

Same issue

@ramatgan
Copy link

ramatgan commented Dec 6, 2011

+1 on this

@cyberarm
Copy link

cyberarm commented Dec 7, 2011

Same issue

@xxxazxxx
Copy link

xxxazxxx commented Dec 9, 2011

same issue

1 similar comment
@leemour
Copy link

leemour commented Dec 9, 2011

same issue

@cbusacca
Copy link

same problem here....

@ewillyb
Copy link

ewillyb commented Dec 20, 2011

Same here.

@domainadmin
Copy link

same here... :(

@hickford
Copy link

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.

@ryenus
Copy link

ryenus commented Jul 12, 2012

will this be fixed? I'm still seeing the same error as in previous comment.

@RyannosaurusRex
Copy link

+1 to ryenus. Will this be fixed or do I need to look for alternatives?

@NurjanovUlugbek
Copy link

How fix it? help me

@anonprotag
Copy link

same issue

@guillaume86
Copy link

+1 same problem here

@dev-amit
Copy link

Still the same Problem,
Any fix-up guys !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests