Ruby

From Things and Stuff Wiki
Revision as of 22:08, 16 August 2012 by Milk (talk | contribs) (→‎Tools)
Jump to navigation Jump to search


Guides

Tools

  • RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.
  • The Ruby Toolbox

Gems

install ruby rubygems

gem env
ruby -r rubygems -e "p Gem.path"   
  • jim - jim is your friendly javascript library manager. He downloads, stores, bundles, vendors and compresses.

Sinatra

require 'sinatra'

get '/hi' do
  "Hello World!"
end
gem install sinatra
ruby hi.rb

CMS/F