Comments (4)
We've had some gems that suddenly don't install on high sierra either and I haven't tracked down the exact cause of the problem. If you want to troubleshoot further, I'd suggest running brew gem formula mailcatcher > mailcatcher.rb
and playing around with the resulting formula in mailcatcher.rb
. I suspect something to do with the way we are overriding GEM_HOME
in the formula may be part of the cause.
from brew-gem.
I was able to fix the issue by replacing the initialization of the gem paths in the generated bin:
I replaced this:
ENV['GEM_HOME']="/usr/local/Cellar/gem-mailcatcher/0.6.5"
ENV['GEM_PATH']="/usr/local/Cellar/gem-mailcatcher/0.6.5"
with this:
Gem.paths = {
'GEM_HOME' => "/usr/local/Cellar/gem-mailcatcher/0.6.5",
'GEM_PATH' => "/usr/local/Cellar/gem-mailcatcher/0.6.5"
}
And now it works for me. I found Gem.paths=
by googling a bit around (from https://stackoverflow.com/a/30369485/891458), but haven't looked into it further. Maybe it makes sense to use it generally?
from brew-gem.
Ah! I didn't realize that mailcatcher installed but the binstub wasn't working. For that, you might try #49.
from brew-gem.
Ok, just tested it, #49 also fixes the problem. Closing this 👍
from brew-gem.
Related Issues (20)
- Autodetect or configurable Ruby path HOT 2
- Don't short-circuit upgrade command
- Cannot run installed "mono" gems (ie: fastlane) HOT 6
- Spec fails when GEM_ env var is set
- test suite fails (for surprising reasons) when rspec is run outside of bundle
- gem download fails with EPERM HOT 15
- Cannot find ruby.h with --homebrew-ruby HOT 8
- Unsure how to diagnose this one HOT 3
- Problem with installing Jeykll HOT 1
- Issues with brew-bundle HOT 1
- Ty
- Jo
- request new release
- asciidoctor-diagram HOT 2
- brew gem install neovim requires gcc@5 formula and crashes if the formula is absent
- Feature request: `reinstall`
- [Question] how does this differ from normal gem installation HOT 2
- Neens to be fixed with latest Homebrew Latest with Homebrew's 3.2.0 ruby HOT 1
- brew uninstall brew-gem 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 brew-gem.