This is a sample rails app using the tourets and ruby-rets gems.
just clone it, and add in a config/rets_config.yml file. You can copy the sample in that folder as an example.
TouRETS.establish_connection(‘SOME_MLS’) @properties = TouRETS::Property.where(:bedrooms => 2)