Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2015 14:05
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
customized spree sandbox
#!/usr/bin/env bash
set -e
cd ~/repos/spree
bundle install --quiet 1> /dev/null || bundle update --quiet
bundle exec rake sandbox
cat <<RUBY > sandbox/config/initializers/huzzah.rb
Rails.application.config.to_prepare do
Spree::ReturnItem::DefaultEligibilityValidator.permitted_eligibility_validators = [
say 'spree sandbox is ready'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment