Comments (8)
I can see how this might be our most viable fix, but I'd strongly prefer a solution that retains the
if
andunless
calls here.
I can't see how this can be made to work with the API unless we're embedding Ruby source.
from brew.
I solved the problem by just uninstalling and installing again postgresql@14
and then manually running
initdb --locale=C -E UTF-8 /usr/local/var/postgresql@14
which should have been run automatically, according to the message we see when we install postgresql@14
...
This formula has created a default database cluster with:
initdb --locale=C -E UTF-8 /usr/local/var/postgresql@14
For more details, read:
https://www.postgresql.org/docs/14/app-initdb.html
...
So, there's a bug either in the installation or documentation/message
from brew.
The caveats
1 should've shown you how to handle this but this doesn't interact well with API installs. So that is a bug. CC @Homebrew/brew
Footnotes
from brew.
Agreed on 🐛. Fix should be:
- print
caveats
unconditionally in this case - add a RuboCop to avoid
if
/unless
incaveats
from brew.
Agreed on 🐛. Fix should be:
caveats
unconditionally in this caseadd a RuboCop to avoid
if
/unless
incaveats
I can see how this might be our most viable fix, but I'd strongly prefer a solution that retains the if
and unless
calls here.
Many users blindly run what caveats
show them, so I'd like to avoid showing them commands we know they don't need to run. Adding notes that most users can ignore to caveats
will also tend to make them ignore ones they shouldn't.
from brew.
I can't see how this can be made to work with the API unless we're embedding Ruby source.
I'm not opposed to that, but I don't think we need to. There is already a mechanism for fetching the Ruby source separately, which is why we have the ruby_source_checksum
in the API JSON. Alternatively, the Ruby source is in the bottle, so we can read that after pouring and update the caveats
from there.
from brew.
Alternatively, the Ruby source is in the bottle, so we can read that after pouring and update the
caveats
from there.
This would work. Would mean it's not going to show with brew info
before installation, in case that matters.
from brew.
Would mean it's not going to show with
brew info
before installation, in case that matters.
This is fine with me, I think.
from brew.
Related Issues (20)
- Suggest to change the way to read file in export_homebrew_env_file HOT 4
- Add a more customizable ENV file loading process HOT 2
- Download does not start immediately, a lot of network traffic (file is downloaded twice?) HOT 5
- macos sequoia 15.1 : We do not provide support for this pre-release version. HOT 4
- `brew upgrade -s` does not build from source or error out HOT 7
- [Intentional or bug?] v4.3.19 `brew list` now outputs single column lists HOT 3
- MariaDB fails to start on Debian 12 HOT 3
- Document cryptographic signature usage for authenticity HOT 2
- Forbid using some formulas provided by macOS HOT 7
- Docker images have expired key for github cli packages HOT 9
- update-python-resources munges`--extra-packages` if it's a URL HOT 2
- Tracking Issue: Concurrent Downloads HOT 6
- brew update doesn't show outdated formulae on second run HOT 3
- `update-python-resources` should support non-PyPI indexes HOT 11
- Throttle does not work for llama.cpp HOT 2
- Support specifying replacement formulae in `deprecate!` or `disable!` calls HOT 1
- Brew appears to be broken HOT 3
- shellenv.sh: Failure when user cannot write "${HOMEBREW_PATHS_FILE}" HOT 1
- Archive and deprecate HOT 1
- Consider setting `XDG_DATA_DIRS` in `shellenv` on Linux 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.