Wednesday, December 8, 2010

Installing Sinatra

Install sinatra.
$ sudo gem install sinatra
Successfully installed rack-1.2.1
Successfully installed tilt-1.1
Successfully installed sinatra-1.1.0
3 gems installed
Installing ri documentation for rack-1.2.1...
Installing ri documentation for tilt-1.1...
Installing ri documentation for sinatra-1.1.0...
Installing RDoc documentation for rack-1.2.1...
Installing RDoc documentation for tilt-1.1...
Installing RDoc documentation for sinatra-1.1.0...
$ sudo gem1.9.1 install sinatra
Successfully installed rack-1.2.1
Successfully installed tilt-1.1
Successfully installed sinatra-1.1.0
3 gems installed
Installing ri documentation for rack-1.2.1...
Installing ri documentation for tilt-1.1...
Installing ri documentation for sinatra-1.1.0...
Updating class cache with 2246 classes...
Installing RDoc documentation for rack-1.2.1...
Installing RDoc documentation for tilt-1.1...
Installing RDoc documentation for sinatra-1.1.0...

Test the installation.
$ irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'sinatra'
=> true
irb(main):003:0> exit
$ irb1.9.1 
irb(main):001:0> require 'sinatra'
=> true
irb(main):002:0> exit
$ 

No comments:

Post a Comment