Resolve unitialized constant error in Ruby 1.8.7