Comments (3)
@jamesgecko I can't seem to reproduce this issue from a clean ARM64 Linux VM. Couple of followup questions:
- Were you ever using a different version of Ruby in this project before switching to
[email protected]
? - Were there any other packages that had been in the devbox.json that you've since removed?
- Did you already try deleting
.devbox/virtenv/ruby_2_7/
and then re-runningbundle install && bundle exec rails
?
I'm wondering if there was a package that put a newer version of gcc/glibc in $DEVBOX_PACKAGES_DIR/lib
at one point. This would've caused bundler to compile/link the gems with GLIBC 2.38. But if that package got removed later, then the newer GLIBC would no longer be available.
from devbox.
To create the reproduction, I started a brand new devbox project and copy/pasted the devbox.json
file from my original project into it. There was no preexisting .devbox
for this project.
In the original project directory, I tried all sorts of different stuff in devbox.json
. In this stack trace it's a date gem crashing. In the original project it was a postgresql gem crashing.
Is it possible there's something in my host NixOS setup that is problematic with the devbox environment? I thought that programs.nix-ld.enable = true;
(used for remotely connecting with VSCode) might be problematic, but I disabled it. ran sudo nixos-rebuild switch
, rebooted the vm, deleted .devbox
, and things are still broken.
I'm wondering if there's something getting cached in my home directory that could be causing this? But another Rails devbox project I have that uses Ruby 3.1.3 is fine.
from devbox.
I upgraded my NixOS and now I'm able to reproduce it. I think I know why this is happening. When bundler installs the gems, it's using the stdenv's gcc which is linking against glibc 2.38. However, the ruby interpreter itself is linked against glibc 2.37.
I'm going to try out a couple potential fixes and see if something works.
from devbox.
Related Issues (20)
- [Python-pip] I can't install toga HOT 1
- [Question]: Can I remotely connect to devbox services using Visual Studio Code's remote connection extentions? HOT 6
- Support non-root setup HOT 3
- Cannot install pip-tools for Python 3.12
- Poetry erroneously recommended
- Installed programs are not available
- Conflicting Python recommendations HOT 1
- Stop setting LD_LIBRARY_PATH and LIBRARY_PATH
- Dozer CLI for building, deploying and maintaining real-time data products
- best way to get store path for resource HOT 5
- Support passing `SIGINT` to scripts that are running via `devbox run` HOT 4
- devbox install reports Error: "nix print-dev-env ..." HOT 3
- Hide banner message from python plugin HOT 7
- devbox shell fails when git+ssh flakes with flake references are used HOT 3
- support for more complex package definitions HOT 1
- [Request] add sql-migrate HOT 2
- Plugins from the same repo share the same state directories HOT 2
- .devbox/bin/devbox symlink appears to be wrong? HOT 4
- Nix GC command breaks nix completely HOT 3
- Curl flake with ^out,dev not adding dynamic libraries HOT 3
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 devbox.