Dont use master branch use other stable branches according to your spree version
SpreeAttachDocument is an extension to Spree (a complete open source commerce solution for Ruby on Rails) that enables a site administrator to add and manage product-specific documents.
This branch is for spree 1-3-stable
Add spree_attach_document to your Gemfile:
gem 'spree_attach_document', :git => 'git://github.com/harsshhfs/spree_attach_document.git', :branch => "1-3-stable"
Bundle your dependencies and run the installation generator:
bundle bundle exec rails g spree_attach_document:install
Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.
bundle bundle exec rake test_app bundle exec rspec spec
When testing your applications integration with this extension you may use it's factories.
Simply add this require statement to your spec_helper:
Copyright (c) 2013 [https://github.com/harsshhfs], released under the New BSD License