-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Can't install gem #313
Comments
I also encountered this problem, could you tell me is how to solve @digitalheir |
Windows has 260 character path limit, in this case the path length is 268. A temporary solution is to make a new folder to install the gems into instead of the |
What I did was
It showed two paths:
I picked the latter, and set it through |
Why is this issue closed? It's obvious that Octokit cannot be installed properly on Windows and needs dirty workarounds, which aren't documented. Can you make the directory nesting and naming a bit more sane? I don't use Windows much, but I don't recall any other major RubyGem to have such issue. |
@pengwynn can we do without this in the gemspec? spec.files += Dir.glob("spec/**/*") Seems like that may resolve this very long path issues expressed here. |
I closed this issue because the issue was solved for me. Considering that we're in a bug tracker, and yes, this is a bug, I'll reopen it. |
@digitalheir Thank you! I really want to take advantage of the beautiful new Releases API, but without the ugly workarounds and, unfortunately, my stuff needs to run under Windows as well. |
Fixes #313. While shipping specs with the gem is preferable, running the test suite requires some additonal setup anyway so developers will end up needing the full source from GitHub.
@catsby Good idea. Just opened #318. @nikolay or @digitalheir, can one of you pull that branch and try to install the gem on Windows with |
@pengwynn I will try in a few hours. Thanks! |
Great! |
@pengwynn Thanks! It works just fine on Windows now! |
🤘 |
Tring to install this gem on Rails 4.0 using Ruby 2.0, I get the folling error after both
bundler install
andgem install
:I think the path name is too long for the Windows file system.
The text was updated successfully, but these errors were encountered: