Ruby

From Things and Stuff Wiki
Revision as of 14:02, 23 August 2012 by Milk (talk | contribs)
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 install [rubygem]
  install a gem
gem upgrade
  upgrade installed gems
gem env
ruby -r rubygems -e "p Gem.path"   

Development

  • 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

Mobile apps