Skip to content
New issue

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

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

Already on GitHub? # to your account

Missing manifest.txt causes NoMethodError #22

Closed
madebyherzblut opened this issue Jul 20, 2012 · 1 comment
Closed

Missing manifest.txt causes NoMethodError #22

madebyherzblut opened this issue Jul 20, 2012 · 1 comment

Comments

@madebyherzblut
Copy link

I checked out the latest version and ran bundle install within my project directory:

cat: /Users/chris/.rbenv/plugins/bundler/share/rbenv/bundler/manifest.txt: No such file or directory
cat: /Users/chris/.rbenv/plugins/bundler/share/rbenv/bundler/manifest.txt: No such file or directory
    ...

Right after I tried rbenv rehash, which resulted in:

/Users/chris/.rbenv/plugins/bundler/etc/rbenv.d/bundler/rehash.rb:233:in `block (2 levels) in rehash': undefined method `[]' for    #<File:0x007fdb7382ef28> (NoMethodError)
    from /Users/chris/.rbenv/plugins/bundler/etc/rbenv.d/bundler/rehash.rb:226:in `each'
    from /Users/chris/.rbenv/plugins/bundler/etc/rbenv.d/bundler/rehash.rb:226:in `block in rehash'
    from /Users/chris/.rbenv/plugins/bundler/etc/rbenv.d/bundler/rehash.rb:225:in `open'
    from /Users/chris/.rbenv/plugins/bundler/etc/rbenv.d/bundler/rehash.rb:225:in `open'
    from /Users/chris/.rbenv/plugins/bundler/etc/rbenv.d/bundler/rehash.rb:225:in `rehash'
    from /Users/chris/.rbenv/plugins/bundler/etc/rbenv.d/bundler/rehash.rb:410:in `<main>'

The issue was fixed by touch /Users/chris/.rbenv/plugins/bundler/share/rbenv/bundler/manifest.txt.

Shouldn't be the file created when it doesn't exist?

carsomyr added a commit that referenced this issue Jul 21, 2012
… exist or the ruby_profiles.yml is first created

This should resolve issue #22.
carsomyr added a commit that referenced this issue Jul 21, 2012
…e doesn't exist or the ruby_profiles.yml file is first created

This should resolve issue #22.
@carsomyr
Copy link
Owner

Hi there, and thanks for being a first time user! It really helps tease out the bugs, both of which were related to initialization corner cases. I am closing this issue for now, and do reopen if you continue to have problems.

jerrycattell pushed a commit to pulseenergy/rbenv-bundler that referenced this issue Sep 28, 2012
…e doesn't exist or the ruby_profiles.yml file is first created

This should resolve issue carsomyr#22.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants