Comments (7)
I realize this issue is long-fallow, but I think two things are going on here:
- we aren't going to install the libraries necessary to build the pg gem which is the proximate cause of our automatic bundler command fail. I understand this is not what you requested, but it would "work" for some version of work if they were there :)
- we need to allow you to set flags to
bundle install
, so I have opened a new enhancement request to do this: #85
from build-image.
can you post the error here? is it because the bundler version is too old? we should be able to fix that.
from build-image.
Full log is in buildlog.txt. Specific error:
1:03:07 AM: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
...
An error occurred while installing pg (0.18.4), and Bundler cannot continue.
Make sure that `gem install pg -v '0.18.4'` succeeds before bundling.
gem install pg
should never be executed, because it is only present in production
section of our Gemfile:
group :production do
gem 'puma', '~> 3.0'
gem 'pg'
end
And all that happens, because Netlify executes bundler
itself and fails before custom script even has a chance to start
Line 63 in aea09bb
from build-image.
yes, we run bundler to install dependencies directly before running any build script, that's a behavior that we're not going to change. But we can probably change the the script to take additional flags from an env variable, so you could set something like BUNDLER_FLAGS="--without production"
in your site settings.
from build-image.
Either that, or flag that disables automatic ruby step will help.
from build-image.
can you give me the name of your site in Netlify, I'd like to look at the problem further.
from build-image.
yes, it is hackerspace-by
from build-image.
Related Issues (20)
- Customizable Java version HOT 2
- Latest NPM versions throw an error when workspaces are configured HOT 1
- Missing workdir "/opt/build" in build container.
- Change the way how the elm compiler is installed as it is not compatible with arm64 HOT 2
- Why is the Hugo version out of date so much?
- Add Haldo linting to build image dockerfile HOT 1
- Run the docker image size inside CircleCI instead of github actions
- Container-structure-tests fail for arm64 HOT 2
- Create multiarch images and push them to the dockerhub HOT 5
- Cache Playwright browser dependencies HOT 3
- `target` directory for Rust is not stored
- Local build test fails with podman HOT 1
- Builds fail when using `[email protected]` HOT 5
- Same codebase stopped compiling in version 4.13 HOT 4
- Monorepo project cannot found pnpm HOT 2
- Failed to debug netlify locally HOT 1
- Add Support for .NET 7 HOT 6
- `NETLIFY_USE_PNPM: true` environment var not working after v4.15.0 HOT 1
- Show an understandable error when `getBuildInfo` failed
- Not respecting pnpm version specified in packageManager field of package.json 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 build-image.