Using git:// urls after a windows install

76 views
Skip to first unread message

Daniel Giles Helm

unread,
Jun 13, 2013, 7:42:52 PM6/13/13
to railsin...@googlegroups.com
So I was trying to initialize a hobo application in rails (http://www.hobocentral.net/) and if fails when it gets to a gem that it tries to pull from github using the git:// protocol. After lots of different routes of installing it anyway, I'm just left frustrated. I eventually came back to why it wasn't working when it seemed to work for everyone else, and I'm curious if a standard windows 8 install of the latest version of railsinstaller ought to be working with git:// urls. I can't even do a stardard clone through a the git protocol, I merely get the error:

Cloneing into 'phonegap-start'...
fatal: write error: Invalid argument

Https works just fine. Am I missing something? Is this a known problem with windows?

Daniel
Rails 3.2.13
ruby 1.9.3p392
 give 1.8.1.msysgit.1

Evan Machnic

unread,
Jun 13, 2013, 7:47:00 PM6/13/13
to railsin...@googlegroups.com

What does the Gemfile look like as well the version of Bundler?

Evan

--
You received this message because you are subscribed to the Google Groups "RailsInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to railsinstalle...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Daniel Giles Helm

unread,
Jun 13, 2013, 11:35:24 PM6/13/13
to railsin...@googlegroups.com
Well in the case of that error, there is no gemfile for the project, as I'm looking to start one via clone. For Hobo it's just the base gem file that if not identical, looks quite similar to this: https://github.com/ciban/hobo-test-app/blob/master/Gemfile

As for my version of bundler, it's 1.3.4.

Evan Machnic

unread,
Jun 14, 2013, 8:40:22 AM6/14/13
to railsin...@googlegroups.com
Are you using Command Prompt or msysgit? Can you run `git init` from a folder to make sure everything is working properly?

Evan



Evan B. Machnic // Application Support

Engine Yard

The Leading Platform as a Service

Office: 415.994.5365

Skype: evan.ey

Twitter:  @emachnic


Distill: A conference to explore the development of inspired applications
Tickets are now on sale, be sure to get yours before they sell out!



Daniel Giles Helm

unread,
Jun 14, 2013, 12:11:28 PM6/14/13
to railsin...@googlegroups.com
I've used the command prompt, the command prompt rails installer provides and the windows powershell that the "git shell" uses. And yes, git init works fine, as well as any other git command I've tried. It seems more like a problem with the git protocol urls, since I can clone the exact same repo if I use an https:// or http:// url. I've also tried on at least three different networks, but I'm afraid git or my windows environment doesn't know even how to parse the git:// url since it isn't a host not found error, but rather a "fatal: write error: Invalid argument" problem.

Daniel

Daniel Giles Helm

unread,
Jun 14, 2013, 12:27:48 PM6/14/13
to railsin...@googlegroups.com
Oh, I've also tried the GitBash "MINGW32" unix style terminal. Same errors.

Evan Machnic

unread,
Jun 14, 2013, 3:05:25 PM6/14/13
to railsin...@googlegroups.com
Daniel,

This may just be an issue with Windows 8 and SSH or the port that Git is using some other protocol. Using git:// URLs typically works fine. We tried on a fresh-and-so-clean-clean Windows 8 environment and didn't have any issues.

May try removing everything and starting over but not sure on this.

Evan





Evan B. Machnic // Application Support

Engine Yard

The Leading Platform as a Service

Office: 415.994.5365

Skype: evan.ey

Twitter:  @emachnic


Distill: A conference to explore the development of inspired applications
Tickets are now on sale, be sure to get yours before they sell out!





On Fri, Jun 14, 2013 at 12:27 PM, Daniel Giles Helm <dan....@gmail.com> wrote:
Oh, I've also tried the GitBash "MINGW32" unix style terminal. Same errors.

Will Luongo

unread,
Jun 14, 2013, 11:38:23 PM6/14/13
to railsin...@googlegroups.com
Hi Daniel, I've got an Windows 8 machine that I am running railsinstaller on, and I wasn't able to reproduce this issue with the git protocol. Could we please have the complete output including the commands you run when it gives you the error?

Daniel Giles Helm

unread,
Jun 15, 2013, 6:32:41 PM6/15/13
to railsin...@googlegroups.com
Well, unfortunately, I don't have much more info to give and perhaps the mystery will remain. Will, the full command and output is:

C:\Sites>git clone git://github.com/rails/rails.git
Cloning into 'rails'...

fatal: write error: Invalid argument

Using the -v doesn't change the output. I've tried reinstalling and it works fine in a virtual machine I setup of CentOS, so it's not my network. I guess I'll try a fresh install of everything git, ruby and rails related and see if anything helps it.

Reply all
Reply to author
Forward
0 new messages