chruby
nix-cde
chruby | nix-cde | |
---|---|---|
17 | 9 | |
2,834 | 29 | |
- | - | |
2.6 | 6.4 | |
about 1 year ago | 2 days ago | |
Shell | Nix | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
chruby
-
Test Driving a Rails API - Part One
Let’s get started. I prefer to manage my Ruby installations on my development machine with chruby paired with ruby-install. Another outstanding set of tools is rbenv with ruby-build. I highly recommend installing Ruby with one of those two sets of tools. Follow the instructions on their project’s READMEs. For this article, I’ll be running Ruby (MRI) v3.3.0.
-
Jekyll Tutorial: How To Create a Static Website
To fix this, you’d need to install Ruby correctly using a version manager such as chruby. You’d need to install Homebrew on your Mac first using the command below in your terminal:
-
As if there weren't enough packaging tools already: mitsuhiko/rye: an experimental alternative to poetry/pip/pipenv/venv/virtualenv/pdm/hatch/…
Now about the second point on the complexity of the shim strategy (cf. the rbenv implementation) with respect to the PATH update strategy (cf. the chruby implementation), what do you think?
-
Local dev environment management tool
I don’t want any of the bells & whistles that come with rvm and rbenv; I prefer the simplicity of chruby. I’ve used it for 10 years (is that possible?!) and I’ve never cursed at it.
-
command outputting source instead of executing
When you type chruby, the function is executed. If it doesn't do what you expect, it's either an issue with the function or your expectations aren't warranted. In any case you'll need to seek help from people who supplied you with this function. If your chrubby function is this one, you can ask from help on https://github.com/postmodern/chruby.
-
Fixing Ruby gems installation once and for all
I knew I saw your username somewhere in my investigation: Properly handle gems installed via --user-install.
- Fastlane is so bad
-
Mac M1 ruby 2.3
I use homebrew, chruby, and ruby-install.
- Ruby feature I want
- Ruby Mac M1 Chip Monterey issues
nix-cde
-
The Magic Nix Cache
This is what I'm using with gitlab: https://github.com/takeda/nix-cde/blob/master/contrib/gitlab...
-
Using Nix as an alternative to dev containers in VScode.
I myself use https://github.com/takeda/nix-cde it just wraps other projects in an opinionated way and contains the boiler plate that I would normally use otherwise.
-
As if there weren't enough packaging tools already: mitsuhiko/rye: an experimental alternative to poetry/pip/pipenv/venv/virtualenv/pdm/hatch/…
There's a project that does this with using Nix: https://github.com/takeda/nix-cde (this is a wrapper around https://github.com/nix-community/poetry2nix)
- Docker multi-stage build with Poetry
-
Python 3.11 delivers.
I personally use this: https://github.com/takeda/nix-cde it has the benefit of a reproducible build environment, but unfortunately anything involving Nix has a steep learning curve.
-
The perfect way to handle project-specific developer configs
I use this myself: https://github.com/takeda/nix-cde
-
Asdf – the language tool version manager
I don't use NixOS myself, but have Nix installed on my Mac, and it seems to provide all functionality of package or version managers I needed.
I think though it is more complex because it is a programming language that provides this functionality instead of purpose build tool like asdf.
For my needs I created a framework for development: https://github.com/takeda/nix-cde to avoid cruft of including the same things over and over in my projects.
-
Use `Python -m Pip`
Not an OP, but I became a big fan of using poetry for managing dependencies. For managing python version I started using Nix package manager. It allows to describe all dependencies via code, but with time that code became a boilerplate, so I created this: https://github.com/takeda/nix-cde
It works very well for me so far.
What are some alternatives?
rbenv - Manage your app's Ruby environment
hasql-interpolate
RVM - Ruby enVironment Manager (RVM)
aws-lambda-python-runtime-interface-client
ruby-build - A tool to download, compile, and install Ruby on Unix-like systems.
nixml - NIX + YAML for easy to use reproducible environments
ruby-install - Installs Ruby, JRuby, Rubinius, TruffleRuby or MRuby
globus-timer-cli - CLI for interacting with the Timer API
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
m1-terraform-provider-helper - CLI to support with downloading and compiling terraform providers for Mac with M1 chip
fry - Simple ruby version manager for fish