Comments (14)
Another option is to install ruby-build as an rbenv plugin by cloning it into ~/.rbenv/plugins
:
$ mkdir -p ~/.rbenv/plugins
$ cd ~/.rbenv/plugins
$ git clone https://github.com/sstephenson/ruby-build.git
Then simply git pull
in the ~/.rbenv/plugins/ruby-build
directory when you want to update the definitions.
from ruby-build.
I'd recommend using homebrew for automated updates.
brew install ruby-build
from ruby-build.
@josh: What do you recommend to Linux users?
from ruby-build.
@citizen428: If you are using a Debian based distro, you could try the ruby-build packages in my rbenv launchpad repository. The packages are tested on Ubuntu 10.04-11.10 and Debian Squeeze.
from ruby-build.
@sometimesfood: Excellent, thanks! I still see my response as kind of a +1 on adding an update command to ruby-build.
from ruby-build.
@sstephenson: Perfect, that works for me.
from ruby-build.
Still would rather have an easy command line call.
from ruby-build.
@trans: Sure, but for the time being rbenv-update='(cd ~/.rbenv/plugins/ruby-build && git pull)'
is good enough for me.
from ruby-build.
I can pledge $40 toward a ruby-build update definitions feature. Thanks for considering it, and for building ruby-build. -Joel
from ruby-build.
I wrote this https://github.com/fesplugas/rbenv-installer which has a command to update rbenv
and it's friends ...
from ruby-build.
Sometimes I just touch a file named the version and patchlevel of the Ruby I want to get installed in ~/.rbenv/plugins/ruby-build/share/ruby-build/
and copy the contents of the original file (on GitHub) into it. Brew doesn't get it, when running upgrade, or install. ::broken_heart::
from ruby-build.
If you installed ruby-build with Homebrew, just running brew upgrade
will do the trick.
from ruby-build.
It would nice to have an information about the upgrade in the readme ...
from ruby-build.
@muescha Feel free to submit a pull request to update the README
or add a Wiki.
from ruby-build.
Related Issues (20)
- ruby-build: definition not found: 3.3.0.rc1 HOT 3
- Wiki open to edits HOT 2
- Ruby 2.2.10 install fails due to OpenSSL issue HOT 3
- RUBY_BUILD_MIRROR_URL ignored HOT 7
- Can't upgrade above 20211019 via brew on macos HOT 3
- 3.3.1 fails to build YJIT with Homebrew LLVM 18 HOT 7
- Failure to detect bz2 HOT 6
- RUBY_BUILD_ROOT docs misleading
- On Ubuntu 24.04 the launch of Ruby built using ruby-build is noticeably slower HOT 4
- Build failure of Ruby 3.3.1 and 3.3.2 on systems without [email protected] HOT 3
- CONFIGURE_OPTS='--disable-install-doc' is passed to the openssl build which fails HOT 1
- trying to install ruby 2.7.0 HOT 1
- Enable YJIT Seems to not support arm64 HOT 1
- Issues with installing ruby 3.3.4 on mac HOT 5
- [Feature Request] Enable SOCKS support by default HOT 3
- Warning in installation v3.3.4 HOT 2
- BUILD FAILED (macOS 14.6.1 on arm64 using ruby-build 20240727) HOT 1
- Build of any Ruby fails on Arch Linux if system Ruby (3.2.4) is installed - `cannot load such file -- erb` HOT 4
- Instructions out of date for RHEL 8/9 HOT 2
- Yes, the example only works for bash. I'll update the example by using a more compatible way.
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 ruby-build.