Joyent

Translations of this page:

Ruby on Accelerators

Introduction

This page is a guide to creating and deploying scripts and applications developed in the Ruby programming language on Accelerators.

Ruby Overview

If you're new to Ruby, or want a general introduction to developing and deploying Ruby scripts and applications, start off by reading the Ruby Overview in the All Accelerators Knowledge Base.

Version

Finding the Ruby Version

admin$ ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-solaris2]

For more help on command-line switches, type:

ruby -h

RubyGems

To check your version of the RubyGems package manager:

gem --version

To list the gems you have installed on your Accelerator:

gem list --local

To list the gems that may be outdated, and need upgrading:

gem outdated

To upgrade your version of the RubyGems package manager:

gem update --system

For a list of all gem commands:

gem help commands

For a list of all command-line switches:

gem --help

Reference

 
accelerators/kb/ruby.txt · Last modified: 2008/05/12 13:16 by roger
 
Recent changes RSS feed Creative Commons License Driven by DokuWiki