1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$ irb
irb(main):001:0> Date.today
NameError: uninitialized constant Date
  from (irb):1
irb(main):002:0> require 'rubygems'
=> true
irb(main):003:0> Date.today
=> #<Date: 4910067/2,0,2299161>
irb(main):004:0> require 'sinatra'
=> true
irb(main):005:0> Date.today
=> #<Date: 4910067/2,0,2299161>
irb(main):006:0> require 'will_paginate'
=> true
irb(main):007:0> Date.today
=> Tue, 21 Jul 2009
irb(main):008:0>