Skip to content

Commit

Permalink
WIP: adding spree_auth_devise to sandbox Gemfile
Browse files Browse the repository at this point in the history
This is currently NOT working. Will investigate lateR
  • Loading branch information
radar committed Jun 20, 2012
1 parent 8540b18 commit 47e8226
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/lib/generators/spree/sandbox/sandbox_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 47e8226

Please sign in to comment.