Giter Site home page Giter Site logo

spree_rdr_theme's Introduction

SUMMARY

Rails Dog Radio Theme is a standalone theme for Spree Commerce version 0.70.0 or later.

This theme is now being used as the base theme for Spree demo store:

This theme also currently supports (and will restyle the following extensions if installed):

INSTALLATION

Add the following line to your Gemfile:

gem 'spree_rdr_theme', :git => 'git://github.com/spree/spree_rdr_theme.git'

NOTE: It's important that you add this line at the bottom of the Gemfile, or at least AFTER any other extension/engine/gem that you'd like to theme (i.e. Spree)

Run bunlder:

$ bundle install

Install assets:

$ rails g spree_rdr_theme:install

Optional: Clear out precompiled assets (required for install in sandbox):

$ rake assets:clean

spree_rdr_theme's People

Contributors

bdq avatar geekoncoffee avatar lbrapid avatar matzipan avatar mikz avatar radar avatar wemerson avatar westonplatter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spree_rdr_theme's Issues

defase error

Hi, im trying to install the theme but im getting this error:
replace_shipping_method.rb:1: uninitialized constant Deface (NameError)
any help?? please.

Theme stylesheets not loading

When I create a new project with sample data and

add the spree_rdr_theme to the gemfile,
run bundle install,
run rails g spree_rdr_theme:install,
start the server,
the css files from the theme are not loaded and the pages are not formatted.

The css files in spree_rdr_theme/assets/stylesheets/store are not compiled when first page is loaded.

In spree_rdr_theme/lib/generators/spree_rdr_theme/install/install_generator.rb, there is a js section but no css section.

Adding the following fixed the problem:

def add_stylesheets
        inject_into_file "app/assets/stylesheets/store/all.css", " *= require store/rdr\n", :before => /\*\//, :verbose => true
end

Then you need to run rake assets:clean
then restart the server and on first page load, the css files will be loaded.

I'll add a pull request.
This fixes the formatting. There are still problems with taxonomies.

AssetNotPrecompiledError in production mode

Im using Rails 3.1.1 and thin as webserver. I installed the theme as described.
The theme works fine in dev mode, but when i use "thin start -e production" i recieve following error at localhost:3000/

Sprockets::Helpers::RailsHelper::AssetPaths::AssetNotPrecompiledError in Home#index

Showing /home/user/.rvm/gems/ruby-1.9.2-p290/bundler/gems/spree_rdr_theme-263a0a4ccf7a/app/views/shared/_product_banner.html.erb where line #4 raised:

store/satellite-radios-bg.jpg isn't precompiled
Extracted source (around line #4):

> 1: <%= content_for :banner do %>
> 2:   <div role="banner" id="banner">
> 3:     <h1>Products</h1>
> 4:     <%= image_tag "store/satellite-radios-bg.jpg", :alt => "Satellite-radios-bg" %>
> 5:   </div>
> 6: <% end %>

Trace of template inclusion: /home/user/.rvm/gems/ruby-1.9.2-p290/gems/spree_core-0.70.1/app/views/shared/_products.html.erb, /home/user/.rvm/gems/ruby-1.9.2-p290/gems/spree_core-0.70.1/app/views/home/index.html.erb

Rails.root: /home/user/my_shop

I noticed that "rails g spree_rdr_theme:install" installed only following assets:

[DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.attributes.order" is no longer supported
gsub app/assets/stylesheets/store/all.css
append app/assets/javascripts/store/all.js
append app/assets/javascripts/store/all.js
insert app/assets/stylesheets/store/all.css

couldn't find file 'store/rdr' and show_zero_stock_products preference not defined

I installed the theme using the following:

1 - Added gem 'spree_rdr_theme', :git => 'git://github.com/spree/spree_rdr_theme.git'
to the gem file
2- Bundled

3- Issued the command:
rails g spree_rdr_theme:install

And here is the output:
append app/assets/javascripts/store/all.js
append app/assets/javascripts/store/all.js
insert app/assets/stylesheets/store/all.css

When I refreshed, this is what I got:
couldn't find file 'store/rdr'

I, then issued the command:
rake assets:clean

and restarted the server and refreshed the page, only this time, I got this error:

Showing /Users/adam0964/.rvm/gems/ruby-2.0.0-p0/bundler/gems/spree-  1c316edf2d91/frontend/app/views/spree/shared/_products.html.erb where line #18 raised:

show_zero_stock_products preference not defined
Extracted source (around line #18):
15:
16:


17: <% products.each do |product| %>
18: <% if Spree::Config[:show_zero_stock_products] || product.has_stock? %>
19:

20:

<%= link_to product.name, product_path(product) %>


21:

Any clue, anyone?

Use my shipping address

The checkout has a text error

The checkbox is labeled "use my shipping address", which should be "use my billing address"

undefined method `order_subtotal'

Found another little issue in file:
app / overrides / spree / orders / replace_cart_detail.rb

Deface: 'replace_cart_detail' matched 1 times with '#cart-detail[data-hook]'
Deface: [WARNING] No :original defined for 'replace_cart_detail', you should change its definition to include:
 :original => '58b3ef8e96357ea004ae8e6088f296bfb51c7171' 
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.3.2/app/views/spree/orders/_form.html.erb (163.3ms)
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.3.2/app/views/spree/orders/edit.html.erb within spree/layouts/spree_application (176.8ms)
Completed 500 Internal Server Error in 321ms

ActionView::Template::Error (undefined method `order_subtotal' for #<#<Class:0x007fba16922980>:0x007fba141d17a0>):
    23: <tr class="totals">
    24: <td colspan="6"> </td>
    25:       <td colspan="2" class="totals">
    26:         <%= t(:subtotal) %>: <span class="order-total"><%= order_subtotal(@order) %></span>
    27:       </td>
    28:     </tr>
    29: </tbody>
  spree_core (1.3.2) app/helpers/spree/base_helper.rb:162:in `method_missing'
  spree_core (1.3.2) app/views/spree/orders/_form.html.erb:26:in `_3ca59c3929d4edb59c8b96c6f787b38b'
  actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
  activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
  actionpack (3.2.13) lib/action_view/template.rb:143:in `render'

Can't install assets

Here is what happens when I rails g spree_rdr_theme:install

gus@ubuntu:~/sites/topazio$ rails g spree_rdr_theme:install
/home/gus/.rvm/gems/ruby-1.9.2-p290/gems/deface-0.6.1/lib/deface/override.rb:58:in `initialize': Invalid action (ArgumentError)
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/bundler/gems/spree_rdr_theme-65b583ca6648/app/overrides/replace_new_wishlist_form.rb:1:in `new'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/bundler/gems/spree_rdr_theme-65b583ca6648/app/overrides/replace_new_wishlist_form.rb:1:in `<top (required)>'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in `load'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in `block in load'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `block in load_dependency'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:640:in `new_constants_in'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `load_dependency'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in `load'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/bundler/gems/spree_rdr_theme-65b583ca6648/lib/spree_rdr_theme.rb:9:in `block in activate'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/bundler/gems/spree_rdr_theme-65b583ca6648/lib/spree_rdr_theme.rb:8:in `glob'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/bundler/gems/spree_rdr_theme-65b583ca6648/lib/spree_rdr_theme.rb:8:in `activate'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:440:in `_run_prepare_callbacks'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:81:in `run_callbacks'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/reloader.rb:46:in `prepare!'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/application/finisher.rb:41:in `block in <module:Finisher>'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/initializable.rb:25:in `instance_exec'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/initializable.rb:25:in `run'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/initializable.rb:50:in `block in run_initializers'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/initializable.rb:49:in `each'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/initializable.rb:49:in `run_initializers'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/application.rb:92:in `initialize!'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
    from /home/gus/sites/topazio/config/environment.rb:5:in `<top (required)>'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `block in require'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `block in load_dependency'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:640:in `new_constants_in'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `load_dependency'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/application.rb:78:in `require_environment!'
    from /home/gus/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/commands.rb:22:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'

Please let me know if you need any other info in order to help me.

Thanks in advance,
Gustavo

Undefined variables

hi,

I am running into a few issues using the RDR theme on the newest Spree. Upon installation according to README instruction. During checkout, the following error occured.

  1. In /app / overrides / spree / orders / replace_cart_detail.rb:

<%= t(:subtotal) %>: <%= order_subtotal(@order) %>

order_subtotal was not defined.

  1. In / app / overrides / spree / checkout / payment / replace_gateway_fields.rb:

< class="payment_method <%= payment_method.id %>" style='display:<%= checked == payment_method.id ? "block" : "none" %>

undefined method `checked'

I have been trying my best to work around the problem, however progress is slow due to my limited experience in RoR. If anyone can shed light on the issue, that would be great!

Checkout.js isn't precompiled

Hello -

I'm trying to make the demo work with the RDR theme and I'm getting the following error:

ActionView::Template::Error (checkout.js isn't precompiled):
1: <% content_for :javascripts do %>
2: <%= javascript_include_tag 'checkout', '/states' %>
3: <% end %>
4:
5:

I'm using a precompile step before deploying to Heroku. All of the other assets seem to have precompiled successfully. Is there a reason why Checkout.js, which is associated with RDR theme, would have been excluded? Any idea on how to fix?

Thanks,

Adam

Railsdog demo - cross-sells

Hi,
Sorry for creating new issue on railsdog_radio_theme but railsdog demo it's not up anymore??I installed railsdog radio demo, it's all working fine except I'm getting error related to cross-sell as per below, am I'm missing something?I would appreciate any help.

Processing by ProductsController#show as HTML
Parameters: {"id"=>"test"}
�[1m�[36mTaxonomy Load (0.7ms)�[0m �[1mSELECT taxonomies.* FROM taxonomies WHERE taxonomies.name = 'Categories' LIMIT 1�[0m
�[1m�[35mTaxon Load (0.4ms)�[0m SELECT taxons.* FROM taxons WHERE (taxons.taxonomy_id = 854451430 AND (parent_id is null)) LIMIT 1
�[1m�[36mProduct Load (0.3ms)�[0m �[1mSELECT products.* FROM products WHERE products.permalink = 'test' LIMIT 1�[0m
�[1m�[35mVariant Load (0.5ms)�[0m SELECT variants.* FROM variants WHERE variants.product_id = 1 AND (variants.deleted_at is null)
�[1m�[36mSQL (1.3ms)�[0m �[1mdescribe option_values_variants�[0m
�[1m�[35mOptionValue Load (0.3ms)�[0m SELECT option_values., t0.variant_id as the_parent_record_id FROM option_values INNER JOIN option_values_variants t0 ON option_values.id = t0.option_value_id WHERE (t0.variant_id = 1)
�[1m�[36mImage Load (0.6ms)�[0m �[1mSELECT assets.
FROM assets WHERE assets.type = 'Image' AND (assets.viewable_id = 1 and assets.viewable_type = 'Variant') ORDER BY position�[0m
Rendered shared/_product_banner.html.erb (1.5ms)
�[1m�[35mTaxon Load (0.5ms)�[0m SELECT taxons.* FROM taxons WHERE (taxons.parent_id = 1000) ORDER BY lft
Rendered shared/all_products.html.erb (3.0ms)
�[1m�[36mProduct Load (0.4ms)�[0m �[1mSELECT products.* FROM products WHERE (id IN (NULL))�[0m
Rendered shared/recently_viewed_products.html.erb (2.1ms)
�[1m�[35mImage Load (0.6ms)�[0m SELECT assets.* FROM assets WHERE assets.type = 'Image' AND (assets.viewable_id = 1 AND assets.viewable_type = 'Product') ORDER BY position LIMIT 1
Rendered products/image.html.erb (28.2ms)
�[1m�[36mSQL (0.4ms)�[0m �[1mSELECT COUNT(
) FROM assets WHERE assets.type = 'Image' AND (assets.viewable_id = 1 AND assets.viewable_type = 'Product')�[0m
Rendered products/thumbnails.html.erb (2.7ms)
�[1m�[35mVariant Load (0.6ms)�[0m SELECT variants.
FROM variants WHERE (variants.product_id = 1 AND (variants.is_master = 1 AND variants.deleted_at IS NULL)) LIMIT 1
�[1m�[36mSQL (0.5ms)�[0m �[1mSELECT COUNT(
) FROM variants WHERE (variants.product_id = 1 AND (variants.is_master = 0 AND variants.deleted_at IS NULL))�[0m
�[1m�[35mRelationType Load (0.6ms)�[0m SELECT relation_types.
FROM relation_types WHERE relation_types.applies_to = 'Product' ORDER BY name
Rendered products/_cart_form.html.erb (168.6ms)
Rendered products/show.html.erb within layouts/spree_application (217.2ms)
Completed 500 Internal Server Error in 512ms

ActionView::Template::Error (undefined method cross_sells' for #<Product:0x0000010926e7d8>): 30: 31: <% end %> 32: 33: <% if @product.cross_sells.present? %> 34: <div class="extras"> 35: <% @product.cross_sells.each do |cross_sell| %> 36: <p> app/views/products/_cart_form.html.erb:33:inblock (2 levels) in _app_views_products__cart_form_html_erb__91773230628241594_2204568900__1279333646931059755'
app/views/products/_cart_form.html.erb:2:in block in _app_views_products__cart_form_html_erb__91773230628241594_2204568900__1279333646931059755' app/views/products/_cart_form.html.erb:1:in_app_views_products__cart_form_html_erb__91773230628241594_2204568900__1279333646931059755'
app/views/products/show.html.erb:25:in `_app_views_products_show_html_erb__2198363017086903018_2205447200__3541612603606645685'

Rendered /Users/Seaborg/.rvm/gems/ruby-1.9.1-p378@rails_3_0_9/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
�[1m�[36mProductProperty Load (0.3ms)�[0m �[1mSELECT product_properties.* FROM product_properties WHERE product_properties.product_id = 1�[0m
�[1m�[35mSQL (2.7ms)�[0m describe properties_prototypes
�[1m�[36mProperty Load (0.6ms)�[0m �[1mSELECT properties.* FROM properties WHERE (properties.id = 1)�[0m
Rendered /Users/Seaborg/.rvm/gems/ruby-1.9.1-p378@rails_3_0_9/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (172.9ms)
Rendered /Users/Seaborg/.rvm/gems/ruby-1.9.1-p378@rails_3_0_9/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (180.3ms)

undefined method `all'

hello
I'm using Ruby 2.2.1, Rails 4.2.0, Spree 3.1.0beta, spree_rdr_theme 1.0
When you try to install the theme:

rails g spree_rdr_theme: install

error:

root@ruby:/team/store# /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/spree_rdr_theme-b5d6a80caa6b/app/overrides/spree/products/add_related_products_to_cart_form.rb:1:in `<top (required)>': undefined method `all' for #<Rails::Engine::Railties:0xb4405d8> (NoMethodError)
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `load'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `block in load'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `load'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/deface-1.0.1/lib/deface/environment.rb:99:in `block (2 levels) in enumerate_and_load'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/deface-1.0.1/lib/deface/environment.rb:98:in `glob'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/deface-1.0.1/lib/deface/environment.rb:98:in `block in enumerate_and_load'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/deface-1.0.1/lib/deface/environment.rb:91:in `each'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/deface-1.0.1/lib/deface/environment.rb:91:in `enumerate_and_load'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/deface-1.0.1/lib/deface/environment.rb:85:in `load_overrides'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/deface-1.0.1/lib/deface/environment.rb:68:in `block in load_all'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/deface-1.0.1/lib/deface/environment.rb:66:in `each'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/deface-1.0.1/lib/deface/environment.rb:66:in `load_all'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/deface-1.0.1/lib/deface/railtie.rb:12:in `activate'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:441:in `instance_exec'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:441:in `block in make_lambda'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:189:in `call'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:189:in `block in simple'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:190:in `call'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:190:in `block in simple'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:190:in `call'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:190:in `block in simple'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `call'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `_run_callbacks'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_prepare_callbacks'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in `run_callbacks'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/reloader.rb:83:in `prepare!'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/reloader.rb:55:in `prepare!'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.0/lib/rails/application/finisher.rb:50:in `block in <module:Finisher>'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `instance_exec'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `run'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.0/lib/rails/initializable.rb:55:in `block in run_initializers'
        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:345:in `each'
        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:345:in `call'
        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.0/lib/rails/initializable.rb:54:in `run_initializers'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.0/lib/rails/application.rb:352:in `initialize!'
        from /team/store/config/environment.rb:5:in `<top (required)>'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `block in require'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/spring-1.3.3/lib/spring/application.rb:92:in `preload'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/spring-1.3.3/lib/spring/application.rb:143:in `serve'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/spring-1.3.3/lib/spring/application.rb:131:in `block in run'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/spring-1.3.3/lib/spring/application.rb:125:in `loop'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/spring-1.3.3/lib/spring/application.rb:125:in `run'
        from /usr/local/rvm/gems/ruby-2.2.1/gems/spring-1.3.3/lib/spring/application/boot.rb:18:in `<top (required)>'
        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from -e:1:in `<main>'

What am I doing wrong?

undefined local variable or method `current_user'

I am getting a weird error once I install this theme. It is saying that current_user doesn't exist. I did a clean install with all the defaults set to yes (dummy data, etc).

I am using rails 3.2.13 and here are my other spree gems:
gem 'pg'
gem 'spree', '1.3.2'
gem 'spree_gateway', :github => 'spree/spree_gateway', :branch => '1-3-stable'
gem 'spree_auth_devise', :github => 'spree/spree_auth_devise', :branch => '1-3-stable'
gem 'spree_rdr_theme', :git => 'git://github.com/spree/spree_rdr_theme.git'

Output:

Started GET "/" for 127.0.0.1 at 2013-05-15 21:28:09 -0600
Processing by Spree::HomeController#index as HTML
  Spree::User Load (0.6ms)  SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."id" = 1 LIMIT 1
  Spree::Order Load (0.4ms)  SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."user_id" = 1 AND "spree_orders"."completed_at" IS NULL ORDER BY created_at ASC LIMIT 1
  Spree::Order Load (0.3ms)  SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."id" = 1069267030 AND "spree_orders"."currency" = 'USD' LIMIT 1
  Spree::Adjustment Load (0.3ms)  SELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_type" = 'Spree::Order' AND "spree_adjustments"."adjustable_id" IN (1069267030) ORDER BY created_at ASC
Deface: 2 overrides found for 'spree/layouts/spree_application'
Deface: 'add_analytics_header' matched 1 times with 'head'
Deface: 'replace_body' matched 1 times with '[data-hook='body']'
Deface: [WARNING] No :original defined for 'replace_body', you should change its definition to include:
 :original => '77e1d75fe67e948d99deb620579ffaf2ac5f511f' 
Deface: 1 overrides found for 'spree/shared/_taxonomies'
Deface: 'replace_taxonomies' matched 1 times with '#taxonomies[data-hook]'
Deface: [WARNING] No :original defined for 'replace_taxonomies', you should change its definition to include:
 :original => 'e8fa8dd2075817aa3ddced3ee631b900ce48e5c5' 
  Spree::Taxonomy Load (0.4ms)  SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Categories' ORDER BY spree_taxonomies.position LIMIT 1
  Spree::Taxon Load (0.3ms)  SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451430 AND "spree_taxons"."parent_id" IS NULL LIMIT 1
  Spree::Taxon Load (0.2ms)  SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 1000 ORDER BY lft
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/bundler/gems/spree_rdr_theme-139ef5fb7f33/app/views/spree/shared/_all_products.html.erb (5.0ms)
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.3.2/app/views/spree/shared/_taxonomies.html.erb (7.0ms)
Deface: 1 overrides found for 'spree/shared/_products'
Deface: 'replace_products' matched 1 times with '#products[data-hook]'
Deface: [WARNING] No :original defined for 'replace_products', you should change its definition to include:
 :original => 'e90036f2fc4166e77ae88b40dc29b95c5ac340c5' 
  SQL (1.0ms)  SELECT DISTINCT "spree_products".id FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_prices"."currency" = 'USD' AND ("spree_products".available_on <= '2013-05-16 03:28:09.046024') AND (spree_prices.amount IS NOT NULL) LIMIT 12 OFFSET 0
   (0.6ms)  SELECT COUNT(*) FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_prices"."currency" = 'USD' AND "spree_products"."id" IN (1035865702, 500501192, 176895127, 723959550, 107377505, 528469905, 459084718, 569012001, 1060500592, 596960057, 398400663, 187438981) AND ("spree_products".available_on <= '2013-05-16 03:28:09.046024') AND (spree_prices.amount IS NOT NULL)
  CACHE (0.0ms)  SELECT DISTINCT "spree_products".id FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_prices"."currency" = 'USD' AND ("spree_products".available_on <= '2013-05-16 03:28:09.046024') AND (spree_prices.amount IS NOT NULL) LIMIT 12 OFFSET 0
  CACHE (0.0ms)  SELECT COUNT(*) FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_prices"."currency" = 'USD' AND "spree_products"."id" IN (1035865702, 500501192, 176895127, 723959550, 107377505, 528469905, 459084718, 569012001, 1060500592, 596960057, 398400663, 187438981) AND ("spree_products".available_on <= '2013-05-16 03:28:09.046024') AND (spree_prices.amount IS NOT NULL)
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/bundler/gems/spree_rdr_theme-139ef5fb7f33/app/views/spree/shared/_product_banner.html.erb (0.4ms)
  CACHE (0.0ms)  SELECT DISTINCT "spree_products".id FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_prices"."currency" = 'USD' AND ("spree_products".available_on <= '2013-05-16 03:28:09.046024') AND (spree_prices.amount IS NOT NULL) LIMIT 12 OFFSET 0
  SQL (1.2ms)  SELECT "spree_products"."id" AS t0_r0, "spree_products"."name" AS t0_r1, "spree_products"."description" AS t0_r2, "spree_products"."available_on" AS t0_r3, "spree_products"."deleted_at" AS t0_r4, "spree_products"."permalink" AS t0_r5, "spree_products"."meta_description" AS t0_r6, "spree_products"."meta_keywords" AS t0_r7, "spree_products"."tax_category_id" AS t0_r8, "spree_products"."shipping_category_id" AS t0_r9, "spree_products"."count_on_hand" AS t0_r10, "spree_products"."created_at" AS t0_r11, "spree_products"."updated_at" AS t0_r12, "spree_products"."on_demand" AS t0_r13, "spree_variants"."id" AS t1_r0, "spree_variants"."sku" AS t1_r1, "spree_variants"."weight" AS t1_r2, "spree_variants"."height" AS t1_r3, "spree_variants"."width" AS t1_r4, "spree_variants"."depth" AS t1_r5, "spree_variants"."deleted_at" AS t1_r6, "spree_variants"."is_master" AS t1_r7, "spree_variants"."product_id" AS t1_r8, "spree_variants"."count_on_hand" AS t1_r9, "spree_variants"."cost_price" AS t1_r10, "spree_variants"."position" AS t1_r11, "spree_variants"."lock_version" AS t1_r12, "spree_variants"."on_demand" AS t1_r13, "spree_variants"."cost_currency" AS t1_r14, "spree_prices"."id" AS t2_r0, "spree_prices"."variant_id" AS t2_r1, "spree_prices"."amount" AS t2_r2, "spree_prices"."currency" AS t2_r3 FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_prices"."currency" = 'USD' AND "spree_products"."id" IN (1035865702, 500501192, 176895127, 723959550, 107377505, 528469905, 459084718, 569012001, 1060500592, 596960057, 398400663, 187438981) AND ("spree_products".available_on <= '2013-05-16 03:28:09.046024') AND (spree_prices.amount IS NOT NULL)
   (0.4ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 215054540 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 215054540 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 459084718 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 215054540 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.4ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 504220342 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 504220342 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 723959550 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 504220342 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 489273655 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 489273655 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500592 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 489273655 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 429921481 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 429921481 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.7ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 187438981 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 429921481 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 599112055 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 599112055 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.4ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1035865702 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 599112055 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 336514991 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 336514991 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 569012001 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 336514991 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 726086391 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 726086391 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 528469905 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Variant Load (0.2ms)  SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 528469905 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants".position ASC
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 726086391 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 78660486 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.4ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 78660486 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 398400663 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 78660486 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 748173072 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 748173072 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 596960057 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 748173072 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 954827632 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 954827632 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 500501192 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.3ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 954827632 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 438855057 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 438855057 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 176895127 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 438855057 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.4ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 833839126 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 833839126 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.4ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 107377505 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 833839126 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.6ms)  SELECT COUNT(*) FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_prices"."currency" = 'USD' AND ("spree_products".available_on <= '2013-05-16 03:28:09.046024') AND (spree_prices.amount IS NOT NULL)
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.3.2/app/views/spree/shared/_products.html.erb (154.9ms)
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.3.2/app/views/spree/home/index.html.erb within spree/layouts/spree_application (262.6ms)
Deface: 1 overrides found for 'spree/shared/_head'
Deface: 'add_to_head' matched 1 times with 'code[erb-loud]:contains('stylesheet_link_tag')'
Deface: [WARNING] No :original defined for 'add_to_head', you should change its definition to include:
 :original => '24003d3dde9d8f9d3a51dfe92bc58fe1e528298a' 
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.3.2/app/views/spree/shared/_head.html.erb (421.2ms)
Deface: 2 overrides found for 'spree/layouts/spree_application'
Deface: 'add_analytics_header' matched 1 times with 'head'
Deface: 'replace_body' matched 1 times with '[data-hook='body']'
Deface: [WARNING] No :original defined for 'replace_body', you should change its definition to include:
 :original => '77e1d75fe67e948d99deb620579ffaf2ac5f511f' 
  Spree::Product Load (2.0ms)  SELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_prices"."currency" = 'USD' AND ("spree_products".available_on <= '2013-05-16 03:28:09.046024') AND (spree_prices.amount IS NOT NULL)
Completed 500 Internal Server Error in 994ms

ActionView::Template::Error (undefined local variable or method `current_user' for #<#<Class:0x007f8b593a5ac0>:0x007f8b59164e78>):
    22:           <%= form_tag products_url, :method => :get do %>
    23:             <input type="search" id="s1" class="empty" name="keywords" placeholder="Search Railsdog Radio"><% end %>
    24:           <nav><%= link_to "products", products_path %>
    25:             <% if current_user %>
    26:               <%= link_to t('my_account'), account_path, :class => "cart" %>
    27:               <%= link_to t('logout'), destroy_user_session_path, :class => "cart" %>
    28:             <% else %>
  spree_core (1.3.2) app/helpers/spree/base_helper.rb:162:in `method_missing'
  spree_core (1.3.2) app/views/spree/layouts/spree_application.html.erb:25:in `_f483ecfd7a9cf8632c9a717c749240bb'
  actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
  activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
  actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
  deface (0.9.1) lib/deface/action_view_extensions.rb:37:in `render'
  actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout'
  actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
  actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in `render'
  actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:in `render_template'
  actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in `render'
  actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in `_render_template'
  actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in `_render_template'
  actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:in `render_to_body'
  actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
  actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
  actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in `render'
  actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:in `render'
  actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
  activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
  /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
  activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `ms'
  actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
  actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
  activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
  actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:in `render'
  actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
  actionpack (3.2.13) lib/action_controller/metal/responder.rb:232:in `default_render'
  actionpack (3.2.13) lib/action_controller/metal/responder.rb:160:in `to_html'
  spree_core (1.3.2) lib/spree/core/responder.rb:19:in `to_html'
  actionpack (3.2.13) lib/action_controller/metal/responder.rb:153:in `respond'
  actionpack (3.2.13) lib/action_controller/metal/responder.rb:146:in `call'
  spree_core (1.3.2) lib/spree/core/controller_helpers/respond_with.rb:20:in `respond_with'
  spree_core (1.3.2) app/controllers/spree/home_controller.rb:11:in `index'
  actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
  actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
  actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
  actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
  activesupport (3.2.13) lib/active_support/callbacks.rb:458:in `_run__1688625890411698995__process_action__4369056183639112928__callbacks'
  activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
  activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
  actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
  actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
  activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
  activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
  actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
  actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
  activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
  actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
  actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
  actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
  actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
  actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
  actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
  actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
  journey (1.0.4) lib/journey/router.rb:68:in `block in call'
  journey (1.0.4) lib/journey/router.rb:56:in `each'
  journey (1.0.4) lib/journey/router.rb:56:in `call'
  actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
  spree_core (1.3.2) lib/spree/core/middleware/redirect_legacy_product_url.rb:13:in `call'
  spree_core (1.3.2) lib/spree/core/middleware/seo_assist.rb:27:in `call'
  railties (3.2.13) lib/rails/engine.rb:479:in `call'
  railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
  journey (1.0.4) lib/journey/router.rb:68:in `block in call'
  journey (1.0.4) lib/journey/router.rb:56:in `each'
  journey (1.0.4) lib/journey/router.rb:56:in `call'
  actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
  warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
  warden (1.2.1) lib/warden/manager.rb:34:in `catch'
  warden (1.2.1) lib/warden/manager.rb:34:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
  rack (1.4.5) lib/rack/etag.rb:23:in `call'
  rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
  rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
  rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
  activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
  activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
  activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__1713415380289992154__call__3894728976924533088__callbacks'
  activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
  activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
  railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
  activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
  railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.5) lib/rack/runtime.rb:17:in `call'
  activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  rack (1.4.5) lib/rack/lock.rb:15:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
  railties (3.2.13) lib/rails/engine.rb:479:in `call'
  railties (3.2.13) lib/rails/application.rb:223:in `call'
  rack (1.4.5) lib/rack/content_length.rb:14:in `call'
  railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
  rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
  /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
  /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
  /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'


  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (16.3ms)
[2013-05-15 21:28:10] WARN  Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.