spree-contrib / spree_fancy Goto Github PK
View Code? Open in Web Editor NEWSpreeFancy is a responsive theme for Spree Commerce.
Home Page: http://guides.spreecommerce.org
License: BSD 3-Clause "New" or "Revised" License
SpreeFancy is a responsive theme for Spree Commerce.
Home Page: http://guides.spreecommerce.org
License: BSD 3-Clause "New" or "Revised" License
I wanted to change the color of #breadcrumbs a
but it has an !important
property, so all my attempts were still being overwritten by it. I ended up editing the _breadcrumbs.scss file in the original source directory in bundler.
Is there a reason it has an !important
property? I was under the impression that spree_fancy assets would load last so no !important would be necessary there. If it is required after all, is there an easier way to override it without editing the source?
I have just installed spree_fancy theme. Everything looked OK while installing, I did not notice any errors. Theme seems to work expect of slide show. All products to be presented in slide show are just listed one after another.My personal sandbox demo works fine on the same desktop so I exclude this root cause.
I guess it is something with Java script but cannot figure it out. Any suggestions what could it be or where to look at?
When running bundle exec rake deface:precompile it stops with this error message.
Unable to precompile 'spree/contact_us/contacts/new' due to:
Missing template spree/contact_us/contacts/new with {:locale=>[:en, :de], :formats=>[:html], :handlers=>[:builder, :coffee, :rabl, :erb], :versions=>[:v1]}.
I think it is because of these two files:
app/overrides/spree/contact_us/contacts/new/add_icon_to_send_button.html.erb.deface
app/overrides/spree/contact_us/contacts/new/move_contact_us_title_to_subheader.html.erb.deface
Is there another spree extension missing?
spree 2-0-stable
spree_fancy 2-0-stable
OS Linux 13.04
Newly installed application
After starting application I get this error:
Sprockets::FileNotFound at /
couldn't find file 'jquery-ui'
The "jquery-rails" gem recently removed jQuery UI.
rails/jquery-rails@2fdcdb2
Hi, I'm a rails newbie. I've install spree and spree fancy on my app. It's ok on development but when I've deployed it on heroku, the layout is broken. Can anyone help me fix this?
Gemfile:
source 'https://rubygems.org'
ruby '1.9.3'
gem 'rails_12factor', group: :production
gem 'rails', '4.0.0'
group :production do
gem 'pg'
end
group :development, :test do
gem 'sqlite3'
end
gem 'sass-rails', '~> 4.0.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder', '~> 1.2'
group :doc do
gem 'sdoc', require: false
end
gem 'spree', '2.1.2'
gem 'spree_gateway', :git => 'https://github.com/spree/spree_gateway.git', :branch => '2-1-stable'
gem 'spree_auth_devise', :git => 'https://github.com/spree/spree_auth_devise.git', :branch => '2-1-stable'
gem 'spree_fancy', :git => 'git://github.com/spree/spree_fancy.git', :branch => '2-1-stable'
I've already done heroku run rake db:migrate after push into heroku.
app/overrides/spree/shared/_products/show_larger_image_in List.html.erb.deface
think it should be:
app/overrides/spree/shared/_products/show_larger_image_in_list.html.erb.deface
Hi,
on my android 4.1 the menu link (the three bars) is white on white, both on android browser and chrome.
it's a spree 1.3 demo installation, no customizations right now.
my gemfile:
gem 'spree', '1.3.0'
gem 'spree_gateway', :github => 'spree/spree_gateway'
gem 'spree_fancy', :git => 'git://github.com/spree/spree_fancy.git'
gem 'spree_auth_devise', :github => 'spree/spree_auth_devise', :branch => 'edge'
gem 'devise-i18n'
gem 'spree_i18n'
thanks
Apparently the changes to allow installation with Spree 2.0 beta were not done in a way that allows for use of the gem with the current stable version of Spree. Here's what a bundle install says when I add the gem requirement for spree_fancy to my Gemfile:
Bundler could not find compatible versions for gem "spree_core":
In snapshot (Gemfile.lock):
spree_core (1.3.2)
In Gemfile:
spree_fancy (>= 0) ruby depends on
spree_core (~> 2.0.0.beta) ruby
As you can see I'm using Spree 1.3.2. A review of recent code changes to spree_fancy show a single dependency on Spree 2.0 beta. Given that you have a 1.3 branch perhaps all that you really need to do is update the documentation and spell out how to make a Gemfile entry for Spree 1.3 that will install the right branch.
Dan
Trying to completely override the sass files, i.e. copying all scss files (in appropriate folders) to app results in variable not found errors across the board.
Spree 1.3.2, spree_fancy 1-3-stable
I was getting "File to import not found or unreadable: store/variables_override." when i would try to deploy my spree app with capistrano. It was working fine in development until today, I just couldnt get the deploy to work...
I was reading through some solutions and found that maybe putting gem 'compass' and gem 'compass-rails' in my gemfile and deleting lock, then running bundle install would solve my issues. I tried that, and instead this now broke my development side as well:
My gemfile:
gem 'rails', '4.0.0'
...
gem 'spree', github: 'spree/spree', branch: '2-1-stable'
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '2-1-stable'
gem 'spree_gateway', github: 'spree/spree_gateway'
gem 'spree_fancy', :github => 'spree/spree_fancy', :branch => '2-1-stable'
In development, on homepage I get an Exception:
Sass::SyntaxError in Spree::Home#index
bundler/gems/spree-366514f5036e/frontend/app/views/spree/shared/_head.html.erb
File to import not found or unreadable: store/variables_override.
Load paths: CompassRails::SpriteImporter
I've removed the compass gems and then deleted the lock file and did a bundle install again but my development environment is still broken
We have <a>
inside of <a>
here:
<a href="/cart"><i class="icon-basket"></i> <%= link_to_cart %></a>
Plus, I noticed that some meta-tags and assets attachments leaked inside of body tag. It occured with 'spree', '2.0.3'
Take a look at http://awesome-boutique-7459.spree.mx/, I have edited one product to include simple paragraph tags and it shows on the homepage.
The latest change didn't fix the previous problem in Issue #43.
When I try to add the first product displayed in the welcome page slider to cart, I only get redirected to the cart, but the cart remains empty (the chosen product is not added). Interestingly adding other products from the welcome page slider works fine, only the first one is problematic.
Here's a link where you can try it out: http://amazing-mart-7913.spree.mx/
I've have spree working on heroku, and have been using asset_sync to sync the precompiled assets. I noticed after installing spree_fancy that spree_fancy's assets were not being sync'd. I originally thought it was a bug in asset_sync, but instead have traced it down to what looks like a bug in spree_fancy. It doesn't appear that any of the assets are being added to config.assets.precompile array.
Hacking around, I added the following to lib/spree_fancy/engine.rb:
initializer :assets do |config|
Rails.application.config.assets.precompile += %w( store/print.css )
Rails.application.config.assets.precompile += %w( icons.svg icons.ttf icons.eot icons.woff )
Rails.application.config.assets.precompile += %w( images/bx_loader.gif images/controls.png )
Rails.application.config.assets.precompile << Proc.new do |path|
if path =~ /\.(css|js|png|gif|eot|ttf|svg|woff)\z/
full_path = Rails.application.assets.resolve(path).to_path
puts "including asset: " + full_path
else
puts "excluding asset: " + path
end
end
I'm not sure if the manual entries or the loop are doing the job (blush) but this fixes my issue -- the precompiled assets are then picked up by asset_sync. It seems pretty clear that the assets are not making it into the list.
Can anyone validate what I'm seeing? Is this this "right" place to make the fix? If so, I can create a fork, clean it up, and push back a fix.
Let me know & thanks for looking...
Hi,
I installed latest stable version of spree & spree_fancy on rails 3.2.13 using spree sample data.
The main slider (the one in home) have a "add to cart" button, it works in any item except first one.
I don't see any difference with the other items.
During the migration, the rake wants to add the product[0..6] to the slider, featured and latest list. But this operation will be failed if there are on product in the database.
$ rake db:migrate ~/Workspace/shopv2
== AddSliderTaxonsAndApplyThem: migrating ====================================
rake aborted!
An error has occurred, this and all later migrations canceled:
undefined method `each' for nil:NilClass
/Users/aming/Workspace/shopv2/db/migrate/20130211151157_add_slider_taxons_and_apply_them.spree_fancy.rb:13:in `up'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/migration.rb:410:in `block (2 levels) in migrate'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/migration.rb:410:in `block in migrate'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:129:in `with_connection'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/migration.rb:389:in `migrate'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/migration.rb:528:in `migrate'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/migration.rb:720:in `block (2 levels) in migrate'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/migration.rb:775:in `call'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/migration.rb:775:in `block in ddl_transaction'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/transactions.rb:208:in `transaction'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/migration.rb:775:in `ddl_transaction'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/migration.rb:719:in `block in migrate'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/migration.rb:700:in `each'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/migration.rb:700:in `migrate'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/migration.rb:570:in `up'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/migration.rb:551:in `migrate'
/Users/aming/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.11/lib/active_record/railties/databases.rake:179:in `block (2 levels) in <top (required)>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
I get this error when I try start application
undefined method count_on_hand
In my Gemfile:
gem 'spree', github: 'spree/spree', branch: '2-0-stable'
gem 'spree_fancy', github: 'spree/spree_fancy'
It stems from spree_fancy/app/views/spree/home/_slider.html.erb
line 20: 1, :class => 'title', :in => 1..product.count_on_hand, :min => 1 %>
The Decorators link in the README 404's.
I've burned a lot of time trying to override the spree_fancy color scheme, just as a first attempt to modify something about it.
For example, I thought I would start by just changing a couple of color settings I found in spree_fancy/app/assets/stylesheets/store/variables.css.scss
$layout_background_color: #FFFFFF;
$title_text_color: #404042 !default;
$body_text_color: #919191;
$link_text_color: #61a1f0;
Attempting to override the following by defining my own _variables.scss partial:
josh@laptop:~/sweetpea/spree/store$ cat app/assets/stylesheets/store/_variables.scss
$layout_background_color: #ff0000;
$body_text_color: #ff0000;
$link_text_color: #ff0000;
No dice. I also named the file _variables.css.scss (and a few other variations), but can't get it to be picked up.
I've tried debugging this from a couple of angles.. I did an strace of the rails server process and by digging through the trace, I did verify that the files are being loaded and read in by spree. I've also been doing things like removing tmp/cache before each run.
I've also been putting a bunch of print information in sass-rails and sass gems, trying to determine how things get evaluated and when. I've had limited success understanding how this works mostly because sass is so complex. There's just a lot going on there.
One thing I've noticed is that when I inspect an element in chrome (for example, the blue "HOME" link, or the green background of the "home slider" that rotates through the product images in the spree_fancy theme, I am seeing that the styles are getting defined by screen.css from spree_frontend, rather than spree_fancy.
Is that expected?
Also, I noticed there are some other issues logged about overriding admin colors. Wondering if this is another symptom of the same issue?
Moved from spree/spree#2920 reported by @samhamilton
I just moved a production site over from the old default theme in Spree 1.2 to Spree Fancy and now Google webmaster tools has flagged this soft 404 issue, Spree 1.2 which did have pages and pagination on the homepage to the new spree_fancy theme which does not, Google thinks these pages are soft 404 and has somehow found 50+ of these soft 404 pages and going as high as "?page=7056" which is strange in itself as there is only around 300 products on the whole site.
You can try any page number e.g. to test this on the homepage:
http://awesome-boutique-7459.spree.mx/?p=yliwkqxcg&page=18
http://awesome-boutique-7459.spree.mx/?page=6880
Why I think something is wrong is if we compare to a category page where you get different content:
http://awesome-boutique-7459.spree.mx/products
http://awesome-boutique-7459.spree.mx/products?page=2
http://awesome-boutique-7459.spree.mx/products?page=3 - third page where we have no more products to show and so get a "No products found" error
Perhaps I am wrong in asking for a 404, perhaps a "No products found" or some other error would be a better fit? It just seemed the cleanest from a google crawling pov.
Gem file entry:
gem 'spree_fancy', :github => 'spree/spree_fancy', :branch => '1-3-stable'
I have added below line in application.rb
config.assets.precompile += %w( store/shared/_print.css )
But still getting another issue -
Undefined variable: "$c_green"
could you please provide me guidance so that I can get do the proper assets compilation on production.
Using the /app/controllers/home_controller_decorator.rb, does not allow me to get the helper @products
.
in the index.html.erb, if you try to add @products
in your layout like underneath your @featured_products
then the following error occurs.
NoMethodError in Spree/home#index
Showing /Users/sturner/.rvm/gems/ruby-1.9.3-p125/bundler/gems/spree_fab-06f0c69ed5ff/app/views/spree/home/index.html.erb where line #4 raised:
undefined method `any?' for nil:NilClass
Extracted source (around line #4):
1: <div class="row-fluid">
2: <div id="homeCarousel" class="carousel offset2 span8 well">
3: <div class="carousel-inner">
4: <% if @products.any? %>
5: <% @products.limit(3).each do |product| %>
6: <% if Spree::Config[:show_zero_stock_products] || product.has_stock? %>
7: <div class="<%[email protected] == product ? "item active" : "item" %>">
how do I include the following from the core/controllers/spree/home.controller.rb:
@searcher = Spree::Config.searcher_class.new(params)
@products = @searcher.retrieve_products
respond_with(@products)
Because of the override on product show, the name falls outside of the itemscope and isn't picked up on properly.
Looks like this is incompatible with spree master. As of right now master is hardcoded to use 1.3 ... seems like some branches need to be set up
When the product name is long enough to break into two or more lines, it messes up the products page layout.
You can check an example here: http://amazing-mart-7913.spree.mx/products
I want to rename the repo, gem name, etc. Also the gemspec is not valid so bundler complains.
The validation message from Rubygems was:
"FIXME" or "TODO" is not a description
Will fix this myself shortly.
I got the following error after having installed this theme:
couldn't find file 'jquery-ui'
(in /Users/adam0964/.rvm/gems/ruby-2.0.0-p0/bundler/gems/spree_fancy-e152f31f0284/app/assets/javascripts/store/spree_fancy.js:3)
Extracted source (around line #11):
8: <%= stylesheet_link_tag 'store/all', :media => 'screen' %>
9:
10: <%= stylesheet_link_tag 'store/print', :media => 'print' %><%= csrf_meta_tags %>
11: <%= javascript_include_tag 'store/all' %>
12:
Any thoughts?
Hi,
I installed a basic spree with sample data and fancy_spree & rails.3.2.13.
Precompiled assets without errors, but when i try to access i get:
ActionView::Template::Error (store/shared/_print.css isn't precompiled):
2: <%= favicon_link_tag image_path('favicon.ico') %>
3: <%= stylesheet_link_tag 'store/all', :media => 'screen' %>
4:
5: <%= stylesheet_link_tag 'store/shared/_print', :media => 'print' %><%= csrf_meta_tags %>
6: <%= javascript_include_tag 'store/all' %>
7: <!--[if lt IE 9]>
I tryed to copy _print.scss to app/assets/stylesheet/store/shared and changed:
spree_fancy/engine.rb: app.config.assets.precompile << "store/shared/_print.scss"
bur doesn't works
.../.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/deface-1.0.0.rc1/lib/deface/dsl/loader.rb:28:in `instance_eval': (eval):4: syntax error, unexpected tASSOC, expecting $end (SyntaxError)
:after => 'auth_shared_login_bar'
Looks like
<!-- sequence :after => 'auth_shared_login_bar' -->
is not correct. And should be :
<!-- sequence(:after => 'auth_shared_login_bar') -->
Anyone experiencing this ?
It seems there is a problem with latest version of the gem and deployment to heroku.
Compass/compass-rails#19
One of workaround is to set
config.assets.initialize_on_precompile = false
However, it doesn't work with spree initialisers.
And it doesn't look like compass-rails & compass are inside assets group either...
Looks like there is an issue with compass/sass and its compilation since it's throwing wrong number of arguments (3 for 4) for
rgba'`(SASS function) So, here's what happens when trying to deploy with the Deployment Service using Spree 1.3.1, spree_fancy (master) and Ubuntu 12.04 LTS:
$ bundle exec cap deploy:cold
* 2013-01-14 20:36:30 executing `deploy:cold'
* 2013-01-14 20:36:30 executing `deploy:update'
** transaction: start
* 2013-01-14 20:36:30 executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote [email protected]:whitmanc/spree_1_3_1.git master"
command finished in 8102ms
* executing "if [ -d /data/spree/shared/cached-copy ]; then cd /data/spree/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard e867c9aac032f11710eb1f79e15935d3a137c8a7 && git clean -q -d -x -f; else git clone -q [email protected]:whitmanc/spree_1_3_1.git /data/spree/shared/cached-copy && cd /data/spree/shared/cached-copy && git checkout -q -b deploy e867c9aac032f11710eb1f79e15935d3a137c8a7; fi"
servers: ["IP OMITTED"]
Password:
[IP OMITTED] executing command
command finished in 10111ms
copying the cached version to /data/spree/releases/20130115043737
* executing "cp -RPp /data/spree/shared/cached-copy /data/spree/releases/20130115043737 && (echo e867c9aac032f11710eb1f79e15935d3a137c8a7 > /data/spree/releases/20130115043737/REVISION)"
servers: ["IP OMITTED"]
[IP OMITTED] executing command
command finished in 5301ms
* 2013-01-14 20:37:42 executing `deploy:finalize_update'
triggering before callbacks for `deploy:finalize_update'
* 2013-01-14 20:37:42 executing `deploy:assets:symlink'
* executing "rm -rf /data/spree/releases/20130115043737/public/assets && mkdir -p /data/spree/releases/20130115043737/public && mkdir -p /data/spree/shared/assets && ln -s /data/spree/shared/assets /data/spree/releases/20130115043737/public/assets"
servers: ["IP OMITTED"]
[IP OMITTED] executing command
command finished in 1465ms
* executing "chmod -R -- g+w /data/spree/releases/20130115043737 && rm -rf -- /data/spree/releases/20130115043737/public/system && mkdir -p -- /data/spree/releases/20130115043737/public/ && ln -s -- /data/spree/shared/system /data/spree/releases/20130115043737/public/system && rm -rf -- /data/spree/releases/20130115043737/log && ln -s -- /data/spree/shared/log /data/spree/releases/20130115043737/log && rm -rf -- /data/spree/releases/20130115043737/tmp/pids && mkdir -p -- /data/spree/releases/20130115043737/tmp/ && ln -s -- /data/spree/shared/pids /data/spree/releases/20130115043737/tmp/pids"
servers: ["IP OMITTED"]
[IP OMITTED] executing command
command finished in 11632ms
triggering after callbacks for `deploy:finalize_update'
* 2013-01-14 20:37:55 executing `bundle:install'
* executing "ls -x /data/spree/releases"
servers: ["IP OMITTED"]
[IP OMITTED] executing command
command finished in 3264ms
* executing "cd /data/spree/releases/20130115043737 && bundle install --gemfile /data/spree/releases/20130115043737/Gemfile --path /data/spree/shared/bundle --deployment --quiet --without development test"
servers: ["IP OMITTED"]
[IP OMITTED] executing command
command finished in 7593ms
triggering after callbacks for `deploy:update_code'
* 2013-01-14 20:38:06 executing `deploy:assets:precompile'
triggering before callbacks for `deploy:assets:precompile'
* 2013-01-14 20:38:06 executing `deploy:assets:update_asset_mtimes'
* executing "[ -e /data/spree/shared/assets/manifest.yml ] && cat /data/spree/shared/assets/manifest.yml || echo"
servers: ["IP OMITTED"]
[IP OMITTED] executing command
command finished in 550ms
* 2013-01-14 20:38:06 executing `deploy:asset_test'
* 2013-01-14 20:38:06 executing `deploy:symlink_shared'
* executing "ln -nfs /data/spree/shared/config/database.yml /data/spree/releases/20130115043737/config/database.yml"
servers: ["IP OMITTED"]
[IP OMITTED] executing command
command finished in 685ms
* executing "ln -nfs /data/spree/shared/config/Procfile /data/spree/releases/20130115043737/Procfile"
servers: ["IP OMITTED"]
[IP OMITTED] executing command
command finished in 871ms
* executing "ln -nfs /data/spree/shared/config/.foreman /data/spree/releases/20130115043737/.foreman"
servers: ["IP OMITTED"]
[IP OMITTED] executing command
command finished in 984ms
* executing "cd -- /data/spree/releases/20130115043737 && bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile && cp -- /data/spree/shared/assets/manifest.yml /data/spree/releases/20130115043737/assets_manifest.yml"
servers: ["IP OMITTED"]
[IP OMITTED] executing command
** [out :: IP OMITTED] rake aborted!
** [out :: IP OMITTED]
** [out :: IP OMITTED] wrong number of arguments (3 for 4) for `rgba'
** [out :: IP OMITTED]
** [out :: IP OMITTED] (in /data/spree/releases/20130115043737/app/assets/stylesheets/application.css)
** [out :: IP OMITTED]
** [out :: IP OMITTED] (sass):1633
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/script/funcall.rb:120:in `rescue in _perform'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/script/funcall.rb:93:in `_perform'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/script/node.rb:40:in `perform'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/script/list.rb:70:in `block in _perform'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/script/list.rb:70:in `map'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/script/list.rb:70:in `_perform'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/script/node.rb:40:in `perform'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/perform.rb:296:in `visit_prop'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/base.rb:37:in `visit'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/perform.rb:98:in `visit'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/base.rb:53:in `map'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/base.rb:53:in `visit_children'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/perform.rb:107:in `block in visit_children'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/perform.rb:119:in `with_environment'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/perform.rb:106:in `visit_children'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/base.rb:37:in `block in visit'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/perform.rb:318:in `visit_rule'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/base.rb:37:in `visit'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/pe
** [out :: IP OMITTED] rform.rb:98:in `visit'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/base.rb:53:in `map'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/base.rb:53:in `visit_children'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/perform.rb:107:in `block in visit_children'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/perform.rb:119:in `with_environment'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/perform.rb:106:in `visit_children'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/base.rb:37:in `block in visit'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/perform.rb:126:in `visit_root'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/base.rb:37:in `visit'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/perform.rb:98:in `visit'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/visitors/perform.rb:7:in `visit'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/root_node.rb:20:in `render'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/engine.rb:315:in `_render'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-3.2.5/lib/sass/engine.rb:262:in `render'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sass-rails-3.2.5/lib/sass/rails/compressor.rb:8:in `compress'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/sprockets/compressors.rb:74:in `compress'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/processing.rb:243:in `block in css_compressor='
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/processor.rb:29:in `call'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/processor.rb:29:in `evaluate'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/tilt-
** [out :: IP OMITTED] 1.3.3/lib/tilt/template.rb:76:in `render'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/context.rb:193:in `block in evaluate'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/context.rb:190:in `each'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/context.rb:190:in `evaluate'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/bundled_asset.rb:26:in `initialize'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:252:in `new'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:252:in `build_asset'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/index.rb:93:in `block in build_asset'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/caching.rb:19:in `cache_asset'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/index.rb:92:in `build_asset'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:169:in `find_asset'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/index.rb:60:in `find_asset'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/sprockets/static_compiler.rb:19:in `block in compile'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:219:in `block in each_logical_path'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:206:in `block (2 levels) in each_file'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each_entry'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:204:in `block in each_file'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each_file'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9
** [out :: IP OMITTED] .1/gems/sprockets-2.2.2/lib/sprockets/base.rb:217:in `each_logical_path'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/sprockets/static_compiler.rb:18:in `compile'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/sprockets/assets.rake:56:in `internal_precompile'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/sprockets/assets.rake:70:in `block (3 levels) in <top (required)>'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/sprockets/assets.rake:23:in `invoke_or_reboot_rake_task'
** [out :: IP OMITTED]
** [out :: IP OMITTED] /data/spree/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
** [out :: IP OMITTED]
** [out :: IP OMITTED] Tasks: TOP => assets:precompile:primary
** [out :: IP OMITTED]
** [out :: IP OMITTED] (See full trace by running task with --trace)
** [out :: IP OMITTED]
command finished in 85521ms
*** [deploy:update_code] rolling back
* executing "rm -rf /data/spree/releases/20130115043737; true"
servers: ["IP OMITTED"]
[IP OMITTED] executing command
command finished in 631ms
failed: "sh -c 'cd -- /data/spree/releases/20130115043737 && bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile && cp -- /data/spree/shared/assets/manifest.yml /data/spree/releases/20130115043737/assets_manifest.yml'" on [IP OMITTED]
$
Let me know if there's anything I can do to help, I'd much rather figure it out than switch in CSS (ew!)
im using
Ubuntu
Rails 4.0.2
spree 2-1-stable
spree_fancy 2-1-stable
admin section works fine but im unable to open frontend
http://localhost:3000
here im getting the following error,
Please help.
I have an existing spree application launched using Bitnami Spree Stack on Amazon EC2. However, I am not stuck because I would like to theme my Spree app using Spree Fancy.
The wiki told me to:
gem 'spree_fancy', :github => 'spree/spree_fancy'
And I got the following error:
spree/spree_fancy: No such file or directory
Also, how do I know which version of Spree I am running. I am launching an instance using the BITNAMI Spree Stack.
Hi
Did a new, fresh installation of Spree 2.0.0.rc1 and the Fancy theme. But I get this error on the front end:
uninitialized constant Spree::Quantifier
Extracted source (around line #20):
17: <%= product.display_price %> 18: </span> 19: <%= number_field_tag (product.has_variants? ? :quantity : "variants[#{product.master.id}]"), 20: 1, :class => 'title', :in => 1..Spree::Quantifier.new(product.master).total_on_hand, :min => 1 %> 21: <%= button_tag :id => 'add-to-cart-button', :type => :submit do %> 22: <%= content_tag(:i, '', :class => 'icon-plus') + " " + t(:add_to_cart) %> 23: <% end %>
I'm a newbie with Spree, so maybe I have done something wrong? In the gemfile I have this:
gem 'spree_fancy', :github => 'spree/spree_fancy'
Have also run "bundle exec rails g spree_fancy:install"
If I change currency no error are raised . But then now products are showed because they have no Master price in the "Swedish krona" scope. If I set a Master price for the Swedish krona, the error is back.
Best regards, Magnus
Maybe i did something wrong, but I placed my own variables_override.css.scss in the
/assets/stylesheets/store/
I tried changing the $layout_background_color to #000000 just to test, and it seems to not be recognizing this override file.
when i look at the front end i see the included stylesheet
/assets/store/variables_override.css?body=1
but that only shows the comments
@import url(//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600);
/--------------------------------------/
/* Colors
/--------------------------------------/
/* Spree green /
/ Error red /
/ -------------------------------------------- /
/ Load "Open Sans" font from Google Fonts
/* -------------------------------------------- /
/--------------------------------------/
/ Font families
/--------------------------------------/
/_--------------------------------------
Font sizes |
---|
- Navigation |
*/ |
/_ |
- Product Listing |
_/ |
/_ |
- Product Details |
_/ |
/_ |
- Basic |
*/ |
Hi!
I've installed spree and spree fancy ( version 2-1-stable) on my app but I noticed that the quantity field there (red circle) is very narrow that the quantity cannot be seen anymore. I already did restarted the local server and rebundle installed the gems but the problem still persists. Did someone noticed this also? Are there any fix for this?
i have a spree store which accidentally was deleted from the server... so the store was created again (mysql data base was not deleted data still when the restore of the store app ran)... and now images are not displayed....
just as a note: we create new stores, and assets are displayed well...
so this is the production.log says:
Started GET "/spree/products/67/small/HhHB4EgAcQRnv9LiIpi7.jpg?1374713166" for 187.194.147.66 at 2013-11-07 22:32:23 +0000
ActionController::RoutingError (No route matches [GET] "/spree/products/67/small/HhHB4EgAcQRnv9LiIpi7.jpg"):
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app'
vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call'
vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call'
vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/application.rb:223:in `call'
vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing'
/usr/local/rvm/gems/ruby-1.9.3-p429/gems/passenger-4.0.5/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
/usr/local/rvm/gems/ruby-1.9.3-p429/gems/passenger-4.0.5/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
/usr/local/rvm/gems/ruby-1.9.3-p429/gems/passenger-4.0.5/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
/usr/local/rvm/gems/ruby-1.9.3-p429/gems/passenger-4.0.5/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'
any idea about what happened ??
thanks in advance for your answeres...
I added the spree_fancy gem before the i18n and I discovered this error. Moving the AddSlider... migration behind the i18n migrations fixed it for me. Still good to know :)
== AddSliderTaxonsAndApplyThem: migrating ====================================
rake aborted!
An error has occurred, this and all later migrations canceled:
PG::UndefinedTable: ERROR: relation "spree_taxonomy_translations" does not exist
LINE 5: WHERE a.attrelid = '"spree_taxonomy_translati...
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"spree_taxonomy_translations"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_no_cache'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql/database_statements.rb:138:in `block in exec_query'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_adapter.rb:425:in `block in log'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_adapter.rb:420:in `log'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql/database_statements.rb:137:in `exec_query'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:915:in `column_definitions'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql/schema_statements.rb:174:in `columns'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/schema_cache.rb:114:in `block in prepare_default_proc'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/schema_cache.rb:56:in `yield'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/schema_cache.rb:56:in `columns'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/schema_cache.rb:118:in `block in prepare_default_proc'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/schema_cache.rb:67:in `yield'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/schema_cache.rb:67:in `columns_hash'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/associations/association_scope.rb:25:in `column_for'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/associations/association_scope.rb:37:in `bind'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/associations/association_scope.rb:73:in `block in add_constraints'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/associations/association_scope.rb:44:in `each'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/associations/association_scope.rb:44:in `each_with_index'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/associations/association_scope.rb:44:in `add_constraints'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/associations/association_scope.rb:19:in `scope'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/associations/association.rb:100:in `association_scope'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/associations/association.rb:84:in `scope'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/associations/collection_association.rb:382:in `scope'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/associations/collection_proxy.rb:37:in `initialize'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/relation/delegation.rb:78:in `new'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/associations/collection_association.rb:37:in `reader'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/associations/builder/association.rb:70:in `translations'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/globalize-4.0.0.alpha.2/lib/globalize/active_record/instance_methods.rb:125:in `translation_for'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/globalize-4.0.0.alpha.2/lib/globalize/active_record/adapter.rb:76:in `fetch_attribute'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/globalize-4.0.0.alpha.2/lib/globalize/active_record/adapter.rb:25:in `block in fetch'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/globalize-4.0.0.alpha.2/lib/globalize/active_record/adapter.rb:24:in `each'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/globalize-4.0.0.alpha.2/lib/globalize/active_record/adapter.rb:24:in `fetch'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/globalize-4.0.0.alpha.2/lib/globalize/active_record/instance_methods.rb:36:in `write_attribute'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/globalize-4.0.0.alpha.2/lib/globalize/active_record/class_methods.rb:142:in `block in translated_attr_accessor'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/attribute_assignment.rb:42:in `public_send'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/attribute_assignment.rb:42:in `_assign_attribute'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/attribute_assignment.rb:29:in `block in assign_attributes'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/attribute_assignment.rb:23:in `each'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/attribute_assignment.rb:23:in `assign_attributes'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/globalize-4.0.0.alpha.2/lib/globalize/active_record/instance_methods.rb:19:in `block in assign_attributes'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/globalize-4.0.0.alpha.2/lib/globalize/active_record/instance_methods.rb:187:in `with_given_locale'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/globalize-4.0.0.alpha.2/lib/globalize/active_record/instance_methods.rb:19:in `assign_attributes'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/core.rb:192:in `initialize'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/inheritance.rb:27:in `new'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/inheritance.rb:27:in `new'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/persistence.rb:36:in `create'
/Users/FJ/Desktop/rails_projects/travelspree/db/migrate/20131112015835_add_slider_taxons_and_apply_them.spree_fancy.rb:4:in `up'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/migration.rb:574:in `exec_migration'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/migration.rb:555:in `block (2 levels) in migrate'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/migration.rb:554:in `block in migrate'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:294:in `with_connection'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/migration.rb:553:in `migrate'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/migration.rb:709:in `migrate'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/migration.rb:959:in `block in execute_migration_in_transaction'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/migration.rb:1005:in `block in ddl_transaction'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/database_statements.rb:202:in `block in transaction'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/database_statements.rb:210:in `within_new_transaction'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/database_statements.rb:202:in `transaction'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/transactions.rb:209:in `transaction'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/migration.rb:1005:in `ddl_transaction'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/migration.rb:958:in `execute_migration_in_transaction'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/migration.rb:920:in `block in migrate'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/migration.rb:916:in `each'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/migration.rb:916:in `migrate'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/migration.rb:764:in `up'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/migration.rb:742:in `migrate'
/Users/FJ/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/railties/databases.rake:42:in `block (2 levels) in <top (required)>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
Using the latest spree_fancy
There is an add to cart
button on the home page with which the latest featured
product can be added to the cart
However clicking on that button simply redirects to the empty cart and does not add the featured
product as expected to the cart
When i try to install it in 2.1.x i got this error:
Unsupported rails environment for compass
but the migrations kept going. I run my server and get this error:
File to import not found or unreadable: compass.
So the compass files are not copying correctly. I think this is because of rails4. To workaround it i had to manually copy all the compass files.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.