I'm setting up a continuous integration server for an application that uses cucumber. I'm trying to install cucumber gem on ubuntu linux 10.04 but it doesn't work on ruby 1.8.6. It works on ruby 1.8.7 but it doesn't solve my problem because cruisecontrolrb demands 1.8.6. I have found this link http://www.ruby-forum.com/topic/198581, and I have installed the gcc 4.3 and exported the CC environment variable but I got the same problem.
$ gem install cucumber
ERROR: While executing gem ... (ArgumentError)
invalid date
How can I install cucumber?