Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

No such file or directory - git ls-files (Errno::ENOENT) #1838

Closed
kdelchev opened this issue Apr 11, 2012 · 4 comments
Closed

No such file or directory - git ls-files (Errno::ENOENT) #1838

kdelchev opened this issue Apr 11, 2012 · 4 comments

Comments

@kdelchev
Copy link

Hi all,

i installed ruby 1.9.3,
gem install bundle
and then run in powershell (win 7 32bit)
bundle install

Got the error:

PS D:\repos\devise> bundle install
Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/c
arlhuda/bundler/issues so that we can fix it. Please include the full output of the command, your Gemfile and Gemfile.lo
ck. Thanks!
D:/repos/devise/devise.gemspec:17:in ``': No such file or directory - git ls-files (Errno::ENOENT)
from D:/repos/devise/devise.gemspec:17:inblock in <main>' from C:/Ruby/193/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1357:in initialize'
from D:/repos/devise/devise.gemspec:5:in`new'
from D:/repos/devise/devise.gemspec:5:in `

'
from C:/Ruby/193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler.rb:280:in`eval'
from C:/Ruby/193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler.rb:280:in `rescue in block in load_gemspec'
from C:/Ruby/193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler.rb:275:in`block in load_gemspec'
from C:/Ruby/193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler.rb:273:in `chdir'
from C:/Ruby/193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler.rb:273:in`load_gemspec'
from C:/Ruby/193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/dsl.rb:39:in `gemspec'
from D:/repos/devise/Gemfile:3:in`evaluate'
from C:/Ruby/193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/dsl.rb:7:in `instance_eval'
from C:/Ruby/193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/dsl.rb:7:in`evaluate'
from C:/Ruby/193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/definition.rb:18:in `build'
from C:/Ruby/193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler.rb:135:in`definition'
from C:/Ruby/193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/cli.rb:220:in `install'
from C:/Ruby/193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/vendor/thor/task.rb:22:in`run'
from C:/Ruby/193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_tas
k'
from C:/Ruby/193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/vendor/thor.rb:263:in`dispatch'
from C:/Ruby/193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/vendor/thor/base.rb:386:in `start'
from C:/Ruby/193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/bin/bundle:13:in`<top (required)>'
from C:/Ruby/193/bin/bundle:19:in `load'
from C:/Ruby/193/bin/bundle:19:in`'

Gemfiel and Gemfile.lock are the ones from the git repository, no changes are made.

@radar
Copy link
Contributor

radar commented Apr 11, 2012

I suspect that you don't have Git installed. Is this right?

@kdelchev
Copy link
Author

Yes, I uninstalled all gems, should have see it.

@radar
Copy link
Contributor

radar commented Apr 11, 2012

Git is not a gem though, it's another "application" that you can install. Please read this page

@stereobooster
Copy link

can be closed @indirect

@radar radar closed this as completed May 20, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants