Could not find valid gem __fake_gem
See original GitHub issueI’m having trouble getting the hooks installed on OSX:
[INFO] Installing environment for https://github.com/chriskuehl/puppet-pre-commit-hooks.git.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: Command: (u'/bin/bash', u'/Users/ray.ward/.rbenv/shims/gem', 'install', '--no-ri', '--no-rdoc', '__fake_gem-0.gem')
Return code: 2
Expected return code: 0
Output: (none)
Errors:
ERROR: Could not find a valid gem '__fake_gem-0.gem' (>= 0) in any repository
ERROR: Possible alternatives: fake_gem, fake-gem, fake_gem_push
Check the log at ~/.pre-commit/pre-commit.log
$ ruby -v
ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-darwin14.0]
$ gem -v
2.2.3
$ pre-commit -V
pre-commit 0.9.1
$ uname -a
Darwin SYD-MBP-WARD 15.6.0 Darwin Kernel Version 15.6.0: Mon Aug 29 20:21:34 PDT 2016; root:xnu-3248.60.11~1/RELEASE_X86_64 x86_64
any ideas?
Issue Analytics
- State:
- Created 7 years ago
- Comments:19 (11 by maintainers)
Top Results From Across the Web
"Could not find a valid gem in any repository" (rubygame and ...
If your gem command is not current, you can update it like this: gem update --system. To see if you can connect to...
Read more >Error: Could not find a valid gem 'rails' Unable to install rails
ERROR: Could not find a valid gem 'rails' (= 5.0.0), here is why: Unable to download data from https://rubygems.org/ - SSL_connect ...
Read more >ruby-fakegem.eclass - Gentoo Development Guide
This eclass allows to install arbitrary Ruby libraries (including Gems), providing integration into the RubyGems system even for "regular" ...
Read more >Fake Gem Decor Bikini Bottom -SHEIN
Shop Fake Gem Decor Bikini Bottom online. SHEIN offers Fake Gem Decor Bikini Bottom & more to fit your fashionable needs.
Read more >How to Identify Gemstones (with Pictures) - wikiHow
1. Invest in a gemstone identification chart. If you think you'll be identifying gemstones often, it would be in your best interest to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m not sure why I have
--remote
in the gemrc…I removed it and everything is working perfectly now! Woo!
No worries, thanks for all your help!