Skip to content

Commit

Permalink
Re-added sandbox shell script
Browse files Browse the repository at this point in the history
Add linebreaks between gems in sandbox. Also specify correct --user_class option
  • Loading branch information
radar committed Aug 17, 2012
1 parent c69ac34 commit 7f6e78f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/sandbox.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Used in the sandbox rake task in Rakefile
#!/bin/bash
rm -rf sandbox
rails new sandbox --skip-bundle
cd sandbox
echo "gem 'spree', :path => '..'\n" >> Gemfile
echo "gem 'spree_auth_devise', :git => 'git://github.com/spree/spree_auth_devise'\n" >> Gemfile
bundle install --gemfile Gemfile
rails g spree:install --auto-accept --user_class=Spree::User

0 comments on commit 7f6e78f

Please sign in to comment.