spree/spree — Issue #711: Unable to load Spree sample data on Windows 7 (using RailsInstaller)
Author: Ben-M
Created: 2011-10-20 19:26:58+00:00
State: open

Using Windows 7 (with Rails Installer), following through the guide at http://guides.spreecommerce.com/getting_started.html successfully installs Spree and migrates the database but does not load sample data.

When I run 'bundle exec rake spree_sample:load' the only output I get is:
[DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.attribute s.order" is no longer supported

When I run rake db:bootstrap I am asked if I would like to create sample data. If I enter 'y' then I immediately see bootstrap complete.

Here's the full output following through the instructions in the guide:

C:\Sites>rails new spree -d sqlite3 --skip-test-unit
...create stuff...
...run bundle install...
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem
is installed.

C:\Sites>cd spree

C:\Sites\spree>komodo Gemfile
[add gem 'spree']
C:\Sites\spree>bundle install
Using rake (0.9.2)
Using multi_json (1.0.3)
Using activesupport (3.1.1)
Using builder (3.0.0)
Using i18n (0.6.0)
Using activemodel (3.1.1)
Using erubis (2.7.0)
Using rack (1.3.5)
Using rack-cache (1.1)
Using rack-mount (0.8.3)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.0.3)
Using actionpack (3.1.1)
Using mime-types (1.16)
Using polyglot (0.3.2)
Using treetop (1.4.10)
Using mail (2.3.0)
Using actionmailer (3.1.1)
Using braintree (2.11.0)
Using json (1.6.1)
Using activemerchant (1.17.0)
Using arel (2.2.1)
Using tzinfo (0.3.30)
Using activerecord (3.1.1)
Using activeresource (3.1.1)
Using acts_as_list (0.1.4)
Using bcrypt-ruby (3.0.1)
Using bundler (1.0.15)
Using cancan (1.6.5)
Using cocaine (0.2.0)
Using coffee-script-source (1.1.2)
Using execjs (1.2.9)
Using coffee-script (2.2.0)
Using rack-ssl (1.3.2)
Using rdoc (3.11)
Using thor (0.14.6)
Using railties (3.1.1)
Using coffee-rails (3.1.1)
Using nokogiri (1.5.0)
Using rails (3.1.1)
Using deface (0.7.0)
Using orm_adapter (0.0.5)
Using warden (1.0.5)
Using devise (1.4.7)
Using faker (1.0.0)
Using highline (1.5.1)
Using jquery-rails (1.0.16)
Using kaminari (0.12.4)
Using polyamorous (0.5.0)
Using meta_search (1.1.1)
Using nested_set (1.6.8)
Using paperclip (2.4.1)
Using rd_find_by_param (0.1.1)
Using rd_resource_controller (1.0.1)
Using sass (3.1.10)
Using sass-rails (3.1.4)
Using state_machine (1.0.1)
Using stringex (1.0.3)
Using spree_core (0.70.1)
Using spree_auth (0.70.1)
Using spree_api (0.70.1)
Using spree_dash (0.70.1)
Using spree_promo (0.70.1)
Using spree_sample (0.70.1)
Using spree (0.70.1)
Using sqlite3 (1.3.4)
Using uglifier (1.0.4)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem
is installed.

C:\Sites\spree>rails g spree:site
[DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.attribute
s.order" is no longer supported

C:\Sites\spree>bundle exec rake spree_sample:load
[DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.attribute
s.order" is no longer supported

C:\Sites\spree>rake db:bootstrap
This task will destroy any data in the database. Are you sure you want to
continue? [y/n] y
db/development.sqlite3 already exists
...a bunch of migrations...
== CreatePromotionActionLineItems: migrating =================================
-- create_table("promotion_action_line_items")
-> 0.0030s
== CreatePromotionActionLineItems: migrated (0.0050s) ========================

Load Sample Data? [y/n]: y
Bootstrap Complete.