Topic: Imac G4 or G5 for Ruby on Rails

Is anyone running Ruby on Rails on an Imac G4 or G5? Im on a tight budget right now and dont wanna spend more than I have to. Are either of these models working for anyone? I would love to get feedback and advice on these. Thanks.