diff --git a/core/lib/generators/spree/sandbox/sandbox_generator.rb b/core/lib/generators/spree/sandbox/sandbox_generator.rb index 80d3a5041aa..2c67d0342c3 100644 --- a/core/lib/generators/spree/sandbox/sandbox_generator.rb +++ b/core/lib/generators/spree/sandbox/sandbox_generator.rb @@ -19,6 +19,15 @@ def drop_database end end + def use_spree_auth_devise + inside dummy_path do + File.open("Gemfile", "a+") do |f| + f.write %Q{gem 'spree_auth_devise', :git => "git://github.com/radar/spree_auth_devise"} + end + end + run 'bundle install' + end + protected def dummy_path 'sandbox'