Comments (4)
Nice. Is there a downside to doing this at all? /cc @tenderlove @ko1?
from heroku-buildpack-ruby.
Unstripped binaries and libraries are nice for use with gdb (depending still on how ruby was compiled, eg if -g
made it into CFLAGS
but I'd guess that is not normal). So if buildpack rubies were stripped and you had a core dump you wanted to use with gdb you wouldn't get as much info out of it.
It is possible to save the debug symbols separately, as Debian/Ubuntu do, so you can combine the stripped files + the debug files for use with gdb. Figuring out how to do this for the buildpack would take some research if that's a case that needs covering.
from heroku-buildpack-ruby.
For 2.0.0, configure.in
changed so when gcc is used -ggdb3
is used. This results in huge binaries and shared libraries. To at least help the situation there, configure
should be run like so:
$ debugflags="-g" ./configure ...
from heroku-buildpack-ruby.
I think @hone took care of this?
from heroku-buildpack-ruby.
Related Issues (20)
- JRuby 9.4.2.0 support? HOT 4
- Upgrade to Node 18 LTS HOT 1
- Using ruby 3.3.0 for preview release (as suggested in the notes) raises error with bundler HOT 2
- JRuby 9.4.4.0 support? HOT 1
- Support Bundler 2.4.20+ to enable `ruby file: '.ruby-version'` in Gemfile HOT 9
- Support Ruby 3.2.3 HOT 1
- Bundler 2.5.6 Causes Builds to Fail HOT 10
- Possible Bundler 2.5.6 Issues HOT 5
- ruby required for compiling webpack assets in rails build, missing from nodejs buildpack and stack 22 HOT 1
- Failed to install gems via Bundler (2.5.6) on Ruby 2.7.8 HOT 1
- Rails builds fail if `BUNDLE_WITHOUT="'development:test'"` (note the extra quotes)
- Support ARM64 when using Heroku-24 Docker images HOT 3
- Support Ruby 3.1.6 and 3.3.2 HOT 3
- Upstream bundler change removes credentials from Gemfile.lock, breaking Heroku build process HOT 1
- Support Ruby 3.3.3 HOT 1
- Remove unused logging code
- Windows gemfile breaks deployment HOT 2
- Error deploying Ruby app on heroku-24 HOT 6
- cp: non-portable warning
- Feature Request: Support for Jemalloc w/o Separate Build Pack
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 heroku-buildpack-ruby.