Spree is a complete open source e-commerce solution for Ruby on Rails.  http://spreecommerce.com