Sunday, April 17, 2011

Ruby Gems for PostgreSQL and Simple Web Frameworks

Check installation of ruby gems for PostgreSQL access and simple (non-Rails) Web frameworks.
$ irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'pg'
=> true
irb(main):003:0> require 'sequel'
=> true
irb(main):004:0> require 'sinatra'
=> true
irb(main):005:0> require 'ramaze'
=> true
irb(main):006:0> exit
$ irb1.9.1 
irb(main):001:0> require 'pg'
=> true
irb(main):002:0> require 'sequel'
=> true
irb(main):003:0> require 'sinatra'
=> true
irb(main):004:0> require 'ramaze'
=> true
irb(main):005:0> exit

No comments:

Post a Comment