Comments (9)
Make sure you have "git" executable in your PATH.
You can check it from cmd.exe by typing "git --version".
Best regards,
Sijawusz Pur Rahnama
On Oct 12, 2012, at 9:00 PM, GoodEveningMiss [email protected] wrote:
I tried to install this by inserting the following line into my gemfile & running bundle install, but no go.
gem 'garb', :git => 'git://github.com/Sija/garb.git'I get this error:
Fetching git://github.com/Sija/garb.git
Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:582:in
': No such file or directory - git clone "git://github.com/Sija/garb.git" "C:/R
uby193/lib/ruby/gems/1.9.1/cache/bundler/git/garb-e842720de50ae026d8afe9526ed8e7
9cc2ed72b8" --bare --no-hardlinks (Errno::ENOENT)At first I had vigetlabs's garb installed, but same error after removing that.
I was able to clone this repository from git, but couldn't get it to install from source either. Something about lack of a gem file. Tried building it from the gemspec, and I get "Invalid gemspec in [garb.gemspec]: No such file or directory - git ls-files ERROR: Error loading gemspec. Aborting."
Is anyone else having this problem, or am I having a bizarre error on my end? And yes, I'm on Windows 7.
—
Reply to this email directly or view it on GitHub.
from garb.
Git's in my path :\
from garb.
Try setting up git by following instructions from https://help.github.com/articles/set-up-git#platform-windows.
Hope it helps.
from garb.
I have git version 1.7.11.msysgit.1 on my computer. I'll download the (non-developer? the shiny blue one) version of git for windows and try again.
As far as I can tell, the problem is with line 12 in the gemspec: " gem.files = git ls-files
.split $\ " I checked vidget's gemspec file, and that gemspec lists each file name directly in the gem.files = line. My friend's suggesting that gem doesn't recognize git or can't find git's path, even though Ruby does. I'll try the other version of git for Windows, but that doesn't work I'll just install a VM and run it on Linux.
Thanks.
from garb.
Hi!
https://github.com/Sija/garb/blob/master/garb.gemspec#L12 invokes ls-file
git command which is system independent (http://linux.die.net/man/1/git-ls-files). Vigetlab's version specifies all files in a static array instead of pulling list of them from git, which apparently causes problem for your windows installation.
On Oct 15, 2012, at 7:04 PM, GoodEveningMiss [email protected] wrote:
I have git version 1.7.11.msysgit.1 on my computer. I'll download the (non-developer? the shiny blue one) version of git for windows and try again.
As far as I can tell, the problem is with line 12 in the gemspec: " gem.files = git ls-files.split $\ "
Windows, at least my computer, doesn't know how to deal with the ls command, I believe. I checked vidget's gemspec file, and that gemspec lists each file name directly in the gem.files = line.I'll let you know if the other Windows version of git works, cause if it's Windows/ls command compatibility thing, I find it weird no one else has had an issue on Windows.
—
Reply to this email directly or view it on GitHub.
from garb.
Yes, you're right about the first part. The ls-file error doesn't have to do with Windows.
Today and last week I've tried cloning this repository, and I got it to work on Windows, but I just tried on Ubuntu and I got "fatal: remote error: Repository not found." which was what I was getting on and off last week on Windows. But I guess it's a fluke or something since I've gotten it to work.
Feel free to close the error if you feel, since it's most likely something with my install and not your fork. I'm not sure what else can be done.
from garb.
Okay, I got your fork installed on the Linux VM. The remote error was probably a fluke since I don't think anything was done differently the second time. As far as my windows install, whatever. Thanks for the help!
from garb.
I'm glad it worked for you! :)
from garb.
Yup, thanks! It was actually a really stupid-easy solution.
clone repository
cd garb
bundle install
rake install
I'm not entirely sure why, but perhaps something in bundle helped gem get past the git ls-file line.
from garb.
Related Issues (20)
- Why don't you push on rubygems HOT 2
- Sample Application HOT 1
- Garb returns duplicate values HOT 2
- Contributors and link to Legato HOT 6
- unexpected json version errors HOT 2
- Please make this Gem available on RubyGems. HOT 13
- Multiple filters using OR HOT 1
- Unable to handle account without profiles HOT 1
- Unable to get access_token when using garb HOT 2
- Unable to authenticate from Travis HOT 1
- Unable to get profile. HOT 1
- Unable to get all profiles
- undefined method `token' for HOT 1
- Unable to Login with Single User - Garb::AuthenticationRequest::AuthError HOT 2
- Unable to fetch the profiles from Google Analytics using Server to server OAuth2 HOT 5
- Garb::ClientError: There was an internal error. HOT 1
- Are results fetched via Garb sampled
- After the OAuth 1.o shutdown on April 20, 2015 the Garb authentication is not working HOT 1
- Unable to filter using metrics operator such as >,>=, < and <=
- Dependabot can't resolve your Ruby dependency files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from garb.