Permalink
Browse files

WIP: adding spree_auth_devise to sandbox Gemfile

This is currently NOT working. Will investigate lateR
  • Loading branch information...
radar committed May 21, 2012
1 parent c4bc1de commit a8edc5ceedb0d42e46fe4a6da0614ee5182fa8b1
Showing with 9 additions and 0 deletions.
  1. +9 −0 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'

0 comments on commit a8edc5c

Please sign in to comment.