Git Product home page Git Product logo

rbenv-installer's Introduction

rbenv installer

This tool is used to install rbenv and some plugins. It also provides scripts to install required software to be able to compile Ruby.

Installed plugins are rbenv-vars, ruby-build & rbenv-installer.

Before Installing

Install git and curl:

sudo apt-get -y install git-core curl

Make sure your user has sudo privileges.

Install

Install rbenv and friends by running:

curl https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash

Installing a Ruby

Install Ruby 1.9.3-p194 and make it global:

rbenv install 1.9.3-p194
rbenv global 1.9.3-p194

Updating

Update rbenv and plugins provided by the installer running:

rbenv update

Bootstrap

If you are installing rbenv in Ubuntu you'll probably need to install required packages first:

rbenv bootstrap-ubuntu-12-04
rbenv bootstrap-ubuntu-10-04

To update RubyGems and install bundler and rake:

rbenv bootstrap

Patch: Ruby Packages

Install patched ruby-build by using the following command:

rbenv patch-ruby-build

Now when you install a new Ruby it will try to download a package from a RUBY_PACKAGE_REPO. If no packages available it will compile the package as usual.

export RUBY_PACKAGE_REPO=https://www.strongspace.com/shared/lxc1jwhowa

You can always add the previous export into your .bashrc to install always from that package repo.

About rbenv

rbenv source code is available at https://github.com/sstephenson/rbenv

rbenv-installer's People

Contributors

fesplugas avatar subosito avatar fehlersturm avatar kalbasit avatar quasor avatar phil-monroe avatar

Stargazers

 avatar

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.