ruby-build
A tool to download, compile, and install Ruby on Unix-like systems. (by rbenv)
dotenv
A Ruby gem to load environment variables from `.env`. (by bkeepers)
ruby-build | dotenv | |
---|---|---|
24 | 19 | |
3,848 | 6,503 | |
0.2% | - | |
8.8 | 8.6 | |
3 days ago | 4 days ago | |
Shell | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
ruby-build
Posts with mentions or reviews of ruby-build.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-11.
-
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.
-
what's the linux distribution you are using for rails dev?
Seems someone was able to fix your problem with openssl installed from linuxbrew, see herehttps://github.com/rbenv/ruby-build/discussions/2199
-
Ruby on Rails en Windows con WSL2
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
-
Rails 7: production deploy from scratch (Ubuntu 22.04 edition)
$ git clone https://github.com/rbenv/rbenv.git ~/.rbenv $ echo 'eval "$(~/.rbenv/bin/rbenv init - bash)"' >> ~/.bashrc $ exec $SHELL $ git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build $ git clone https://github.com/rbenv/rbenv-vars.git "$(rbenv root)"/plugins/rbenv-vars $ rbenv install 3.2.0 $ rbenv global 3.2.0 # Test complete install with rbenv-doctor $ curl -fsSL https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-doctor | bash $ ruby -v # Shows ruby version number if correctly installed $ gem install bundler # You might be prompted to update some gems, see command below $ gem update --system 3.4.6 # Check if this is recommended after bundler installation $ bundle -v # Shows bundler version number if correctly installed
-
Ruby 3.2.0 Released
Great! Already available via ruby-build on rbenv!
-
Setup Ubuntu / WSL For Ruby Development
# Part One: Install basics # zlib1g-dev might be zlib-dev on Ubuntu 22.04 # lsb-release might be lsb_release on Ubuntu 22.04 sudo apt-get update && sudo apt-get -y install \ git \ ca-certificates \ curl \ gnupg \ build-essential \ lsb-release \ zlib1g-dev \ libssl-dev \ zsh && \ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" # Part Two: Installs & sets up rbenv, installs ruby git clone https://github.com/rbenv/rbenv.git ~/.rbenv && \ echo 'eval "$(~/.rbenv/bin/rbenv init - zsh)"' >> ~/.zshrc && \ source ~/.zshrc && \ git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build && \ rbenv install 3.1.2 && \ rbenv global 3.1.2 # Part Three: Optional minimum setup for Rails development echo "gem: --no-document" >> ~/.gemrc && \ gem install bundler && \ gem install rails
-
OpenSSL::Digest::DigestError when using MD4
I'm using rbenv to manage Ruby versions, and it turns out they recently started building Ruby with OpenSSL 3.0 instead of OpenSSL 1.1.
- Any suggestions on environment options to be able run old Ruby version required by an old app?
-
Troubleshooting ruby build
ruby-build Wiki is good to learn.
- Installing RoR on WSL
dotenv
Posts with mentions or reviews of dotenv.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-21.
-
Test Driving a Rails API - Part Two
This is the second part of my Test Driving a Rails API series. In Part 1 we set up our development environment, generated a Rails API-only application, installed dotenv to easily store configuration values in the environment, and installed and configured PostgreSQL version 16 as our database.
-
Test Driving a Rails API - Part One
Storing environment variables for a Rails app can be problematic. The dotenv gem will automatically, when Rails boots, load environment variables from .env files into the Rails ENV. This is a great way to store private information that varies per developer or deployment environment, such as your development database configuration. Rails Encrypted Credentials is a great way to store private information, like API keys, etc, but I wouldn’t use it for storing my local development environment’s database information. The Encrypted Credentials file is checked into the git repository and would, therefore, be shared by all developers on the project. dotenv allows each developer or deployment environment to store their own information in .env files that are ignored by git.
-
Performance e elegância! Escrevendo uma CLI CRUD utilizando ScyllaDB e Ruby
dotenv
- Samhlaigh na féidearthachtaí!
- We have this many ".env" files in a project at work. Is this normal? Is there a better way?
-
Bootstrapping with Ruby on Rails Generators and Templates
Install the dotenv gem.
- Dum: An NPM scripts runner written in Rust
- railstart-niceadmin support more features
-
railstart-niceadmin release now!Backend management system based on Bootstrap 5 and NiceAdmin and Rails 7
dotenv-rails
-
Where Rails look for environment variables
Yeah, now that I think of it, it does require a gem. I have used this in most projects https://github.com/bkeepers/dotenv
What are some alternatives?
When comparing ruby-build and dotenv you can also consider the following projects:
RVM - Ruby enVironment Manager (RVM)
Figaro - Simple Rails app configuration
ruby-install - Installs Ruby, JRuby, Rubinius, TruffleRuby or MRuby
RailsConfig - Easiest way to add multi-environment yaml settings to Rails, Sinatra, Padrino and other Ruby projects.
rbenv - Manage your app's Ruby environment
cross-env
chruby - Changes the current Ruby
ENVied - Ensures presence and type of your app's ENV-variables (mirror)
fry - Simple ruby version manager for fish
Configatron - A super cool, simple, and feature rich configuration system for Ruby apps.
Tokaido - The home of the Tokaido app
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS