Giter Site home page Giter Site logo

Command to update defintions about ruby-build HOT 14 CLOSED

rbenv avatar rbenv commented on September 25, 2024
Command to update defintions

from ruby-build.

Comments (14)

sstephenson avatar sstephenson commented on September 25, 2024 1

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.

josh avatar josh commented on September 25, 2024

I'd recommend using homebrew for automated updates.

brew install ruby-build

from ruby-build.

citizen428 avatar citizen428 commented on September 25, 2024

@josh: What do you recommend to Linux users?

from ruby-build.

sometimesfood avatar sometimesfood commented on September 25, 2024

@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.

citizen428 avatar citizen428 commented on September 25, 2024

@sometimesfood: Excellent, thanks! I still see my response as kind of a +1 on adding an update command to ruby-build.

from ruby-build.

citizen428 avatar citizen428 commented on September 25, 2024

@sstephenson: Perfect, that works for me.

from ruby-build.

trans avatar trans commented on September 25, 2024

Still would rather have an easy command line call.

from ruby-build.

citizen428 avatar citizen428 commented on September 25, 2024

@trans: Sure, but for the time being rbenv-update='(cd ~/.rbenv/plugins/ruby-build && git pull)' is good enough for me.

from ruby-build.

 avatar commented on September 25, 2024

I can pledge $40 toward a ruby-build update definitions feature. Thanks for considering it, and for building ruby-build. -Joel

from ruby-build.

fesplugas avatar fesplugas commented on September 25, 2024

I wrote this https://github.com/fesplugas/rbenv-installer which has a command to update rbenv and it's friends ...

from ruby-build.

rodrigoalvesvieira avatar rodrigoalvesvieira commented on September 25, 2024

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.

dugjason avatar dugjason commented on September 25, 2024

If you installed ruby-build with Homebrew, just running brew upgrade will do the trick.

from ruby-build.

muescha avatar muescha commented on September 25, 2024

It would nice to have an information about the upgrade in the readme ...

from ruby-build.

sferik avatar sferik commented on September 25, 2024

@muescha Feel free to submit a pull request to update the README or add a Wiki.

from ruby-build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.