Skip to content

Instantly share code, notes, and snippets.

@brylor
Last active August 29, 2015 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brylor/11000724 to your computer and use it in GitHub Desktop.
Save brylor/11000724 to your computer and use it in GitHub Desktop.
➜ my_store bundle
Using rake (10.3.0)
Using Ascii85 (1.0.2)
Using i18n (0.6.9)
Using minitest (4.7.5)
Using multi_json (1.9.2)
Using thread_safe (0.3.3)
Using tzinfo (0.3.39)
Using activesupport (4.0.4)
Using builder (3.1.4)
Using erubis (2.7.0)
Using rack (1.5.2)
Using rack-test (0.6.2)
Using actionpack (4.0.4)
Using mime-types (1.25.1)
Using polyglot (0.3.4)
Using treetop (1.4.15)
Using mail (2.5.4)
Using actionmailer (4.0.4)
Using active_utils (2.0.2)
Using json (1.8.1)
Using money (6.1.1)
Using mini_portile (0.5.3)
Using nokogiri (1.6.1)
Using activemerchant (1.42.9)
Using activemodel (4.0.4)
Using activerecord-deprecated_finders (1.0.3)
Using arel (4.0.2)
Using activerecord (4.0.4)
Using acts_as_list (0.3.0)
Using afm (0.2.0)
Using awesome_nested_set (3.0.0.rc.3)
Using uuidtools (2.1.4)
Using aws-sdk (1.27.0)
Using bcrypt (3.1.7)
Using cancan (1.6.10)
Using bundler (1.5.3)
Using thor (0.19.1)
Using railties (4.0.4)
Using hike (1.2.3)
Using tilt (1.4.1)
Using sprockets (2.11.0)
Using sprockets-rails (2.0.1)
Using rails (4.0.4)
Using canonical-rails (0.0.7)
Using climate_control (0.0.3)
Using cocaine (0.5.4)
Using coffee-script-source (1.7.0)
Using execjs (2.0.2)
Using coffee-script (2.2.0)
Using coffee-rails (4.0.1)
Using colorize (0.7.2)
Using deface (1.0.0)
Using orm_adapter (0.5.0)
Using warden (1.2.3)
Using devise (3.2.4)
Using devise-encryptable (0.1.2)
Using ffaker (1.24.0)
Using friendly_id (5.0.3)
Using hashery (2.1.1)
Using highline (1.6.21)
Using multi_xml (0.5.5)
Using httparty (0.13.1)
Using jbuilder (1.5.3)
Using jquery-rails (3.1.0)
Using jquery-ui-rails (4.1.2)
Using kaminari (0.15.1)
Using monetize (0.3.0)
Using paperclip (3.4.2)
Using paranoia (2.0.2)
Using ruby-rc4 (0.1.5)
Using ttfunk (1.0.3)
Using pdf-reader (1.3.3)
Using polyamorous (0.6.4)
Using prawn (0.12.0)
Using prawn-labels (0.11.5.0)
Using rabl (0.9.3)
Using ransack (1.1.0)
Using rdoc (4.1.1)
Using sass (3.2.19)
Using sass-rails (4.0.3)
Using sdoc (0.4.0)
Using select2-rails (3.4.9)
Using state_machine (1.2.0)
Using stringex (1.5.1)
Using truncate_html (0.9.2)
Using spree_core (2.2.2.beta) from git://github.com/spree/spree.git (at 2-2-stable)
Using versioncake (1.2.0)
Using spree_api (2.2.2.beta) from git://github.com/spree/spree.git (at 2-2-stable)
Using spree_backend (2.2.2.beta) from git://github.com/spree/spree.git (at 2-2-stable)
Using spree_cmd (2.2.2.beta) from git://github.com/spree/spree.git (at 2-2-stable)
Using spree_frontend (2.2.2.beta) from git://github.com/spree/spree.git (at 2-2-stable)
Using spree_sample (2.2.2.beta) from git://github.com/spree/spree.git (at 2-2-stable)
Using spree (2.2.2.beta) from git://github.com/spree/spree.git (at 2-2-stable)
Using spree_auth_devise (2.2.0) from https://github.com/spree/spree_auth_devise.git (at 2-2-stable)
Using spree_gateway (2.2.1) from https://github.com/spree/spree_gateway.git (at 2-2-stable)
Using spree_subscriptions (2.2.0) from git://github.com/nebulab/spree-subscriptions.git (at 2-2-stable)
Using sqlite3 (1.3.9)
Using turbolinks (2.2.2)
Using uglifier (2.5.0)
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
➜ my_store rails g spree_subscriptions:install
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
append app/assets/javascripts/store/all.js
append app/assets/javascripts/admin/all.js
insert app/assets/stylesheets/store/all.css
insert app/assets/stylesheets/admin/all.css
run bundle exec rake railties:install:migrations FROM=spree_subscriptions from "."
Would you like to run the migrations now? [Y/n] Y
run bundle exec rake db:migrate from "."
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
➜ my_store rake db:migrate
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
➜ my_store rails dbconsole
SQLite version 3.7.13 2012-07-17 17:46:21
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .tables
schema_migrations spree_promotion_rules_users
spree_addresses spree_promotions
spree_adjustments spree_properties
spree_assets spree_properties_prototypes
spree_calculators spree_prototypes
spree_configurations spree_return_authorizations
spree_countries spree_roles
spree_credit_cards spree_roles_users
spree_gateways spree_shipments
spree_inventory_units spree_shipping_categories
spree_line_items spree_shipping_method_categories
spree_log_entries spree_shipping_methods
spree_option_types spree_shipping_methods_zones
spree_option_types_prototypes spree_shipping_rates
spree_option_values spree_skrill_transactions
spree_option_values_variants spree_state_changes
spree_orders spree_states
spree_orders_promotions spree_stock_items
spree_payment_capture_events spree_stock_locations
spree_payment_methods spree_stock_movements
spree_payments spree_stock_transfers
spree_preferences spree_tax_categories
spree_prices spree_tax_rates
spree_product_option_types spree_taxonomies
spree_product_properties spree_taxons
spree_products spree_tokenized_permissions
spree_products_promotion_rules spree_trackers
spree_products_taxons spree_users
spree_promotion_action_line_items spree_variants
spree_promotion_actions spree_zone_members
spree_promotion_rules spree_zones
sqlite> .schema spree_products
CREATE TABLE "spree_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "description" text, "available_on" datetime, "deleted_at" datetime, "slug" varchar(255), "meta_description" text, "meta_keywords" varchar(255), "tax_category_id" integer, "shipping_category_id" integer, "created_at" datetime, "updated_at" datetime);
CREATE INDEX "index_spree_products_on_available_on" ON "spree_products" ("available_on");
CREATE INDEX "index_spree_products_on_deleted_at" ON "spree_products" ("deleted_at");
CREATE INDEX "index_spree_products_on_name" ON "spree_products" ("name");
CREATE INDEX "index_spree_products_on_slug" ON "spree_products" ("slug");
CREATE UNIQUE INDEX "permalink_idx_unique" ON "spree_products" ("slug");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment