Skip to content

kano4/rsm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSM: Ruby Simple Manger

RSM is a simple script for switching Ruby.

Usage

$ rsm 1.9.3-p0

Getting Started

  1. Clone this repository.

     $ git clone https://github.com/kano4/rsm.git ~/.rsm
    
  2. Add rsm to your ~/.bashrc or ~/.zshrc.

    source "$HOME/.rsm/rsm.sh"
    
  3. Install Ruby versions into ~/.rsm/versions/ . For example, download the source and run:

     $ ./configure --prefix=$HOME/.rsm/versions/1.9.3-p0 --enable-shared --disable-install-doc
     $ make
     $ make install
    
  4. Switch Ruby by 'rsm' command.

     $ rsm 1.9.3-p0
    
  5. Set default Ruby.

     $ echo "1.9.3-p0" > ~/.rsmrc
    

About

RSM: Ruby Simple Manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages