Skip to content

Instantly share code, notes, and snippets.

View bourroush's full-sized avatar

Guillaume Bourrousse bourroush

View GitHub Profile
-> 0.0030s
-- initialize_schema_migrations_table()
-> 0.0028s
Email: |[email protected]| Password: |123456|
First Name: |Admin|
Last Name: |User|
rake aborted!
unknown attribute: account_type
/Users/boris/src/zweet/.bundle/ruby/2.0.0/gems/activerecord-4.0.3/lib/active_record/attribute_assignment.rb:47:in `rescue in _assign_attribute'
/Users/boris/src/zweet/.bundle/ruby/2.0.0/gems/activerecord-4.0.3/lib/active_record/attribute_assignment.rb:42:in `_assign_attribute'
➜ tarkett-sports-cms git:(hotfix/switch-home-page-task-fix) rake "maintenance:switch_home_page['beynon','beynon-homepage']" --trace
** Invoke maintenance:switch_home_page (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute maintenance:switch_home_page
rake aborted!
undefined method `contents' for nil:NilClass
/Users/boris/Sites/tarkett-sports-cms/lib/tasks/maintenance/switch_home_page.rake:48:in `classic_page'
/Users/boris/Sites/tarkett-sports-cms/lib/tasks/maintenance/switch_home_page.rake:9:in `main'
/Users/boris/Sites/tarkett-sports-cms/lib/tasks/maintenance/switch_home_page.rake:59:in `block (2 levels) in <top (required)>'
namespace :maintenance do
desc "Switches the home page for a page with a given slug"
task :switch_home_page, [:site_code, :slug] => [:environment] do |t, args|
def main(args)
@args = args
switch_slugs(classic_page, original_home_page)
assign_new_home_page(classic_page)
Last login: Mon Jan 13 17:03:09 on ttys000
➜ ~ cd Sites/modcloth-demo
➜ modcloth-demo git:(master) bundle
Fetching source index from https://rubygems.org/
Using rake (10.0.4)
Using i18n (0.6.1)
Using multi_json (1.7.2)
Using activesupport (3.2.13)
Using builder (3.0.4)
Using activemodel (3.2.13)
Installing bourbon (1.3.6)
Installing bcrypt-ruby (3.0.1)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/opt/boxen/rbenv/versions/1.9.2-p320/bin/ruby extconf.rb
creating Makefile
make
/opt/boxen/homebrew/bin/gcc-4.2 -I. -I/opt/boxen/rbenv/versions/1.9.2-p320/include/ruby-1.9.1/x86_64-darwin12.2.0 -I/opt/boxen/rbenv/versions/1.9.2-p320/include/ruby-1.9.1/ruby/backward -I/opt/boxen/rbenv/versions/1.9.2-p320/include/ruby-1.9.1 -I. -I'/opt/boxen/rbenv/versions/1.9.2-p320/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe -o bcrypt_ext.o -c bcrypt_ext.c
make: /opt/boxen/homebrew/bin/gcc-4.2: No such file or directory
Pending:
Spree::ShippingMethod gift cards only gift cards in order should only return electronic shipping methods for gift card only orders
# Implemented, but requires test coverage
# ./spec/models/spree/shipping_method_spec.rb:12
AddToCartFormWidget receiving an :add_to_cart event reveals the mini-cart
# implemented, but lacking test coverage
# ./spec/widgets/add_to_cart_form_widget_spec.rb:137
AddToCartFormWidget rendering the widget does not reveal the mini-cart
# implemented, but lacking test coverage
# ./spec/widgets/add_to_cart_form_widget_spec.rb:27
<!DOCTYPE html>
<html>
<!--[if IE 7]> <html class="ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="ie8 oldie" lang="en"> <![endif]-->
<head>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1' name='viewport'>
<title>Bluesound - HiFi for a wireless generation</title>
<link href="//fast.fonts.com/cssapi/eb441a1c-269a-43d2-a398-34eb6a34ddfc.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/assets/MyFontsWebfontsKit.css" media="screen" rel="stylesheet" type="text/css" />
2013-11-18T15:26:23.855617+00:00 app[web.1]: ActionView::Template::Error (compile error
2013-11-18T15:26:23.855617+00:00 app[web.1]:
2013-11-18T15:26:23.855617+00:00 app[web.1]: ... "boo-yah-arrow.png", class => "boo-yah"
2013-11-18T15:26:23.855617+00:00 app[web.1]: 7: %li= link_to(menu.title, root_menu_url(menu))
2013-11-18T15:26:23.855617+00:00 app[web.1]: 8:
2013-11-18T15:26:23.861016+00:00 heroku[router]: at=info method=GET path=/ host=mediaexperts-staging.heroku.com fwd="88.172.224.105" dyno=web.1 connect=1ms service=3688ms status=500 bytes=728
2013-11-18T15:26:23.855617+00:00 app[web.1]: 9: =image_tag "boo-yah-arrow.png", class => "boo-yah"
2013-11-18T15:26:23.855617+00:00 app[web.1]: 10: = render 'shared/opts'
2013-11-18T15:26:23.849287+00:00 app[web.1]: ** [Hoptoad] Response from Hoptoad:
2013-11-18T15:26:23.855617+00:00 app[web.1]: app/views/pages/home.html.haml:15:in `compile'
➜ mediaexperts-refinery git:(staging) bundle exec rake staging deploy:force
git update-ref refs/heroku_san/deploy HEAD
git push [email protected]:mediaexperts-staging.git --force refs/heroku_san/deploy:refs/heads/master
Everything up-to-date
git update-ref -d refs/heroku_san/deploy
heroku rake --app mediaexperts-staging db:migrate
! The requested API endpoint was not found. Are you using the right HTTP verb (i.e. `GET` vs. `POST`), and did you specify your intended version with the `Accept` header?
rake aborted!
Command failed with status (1): [heroku rake --app mediaexperts-staging db:...]
SyntaxError in Spree/products#show
Showing /Users/boris/Sites/tommyjohn/app/views/spree/products/show.html.haml where line #114 raised:
/Users/boris/Sites/tommyjohn/app/views/spree/products/show.html.haml:114: unknown regexp options - dv
/Users/boris/Sites/tommyjohn/app/views/spree/products/show.html.haml:115: syntax error, unexpected '<'
<div class="product-section description-preview">
^
/Users/boris/Sites/tommyjohn/app/views/spree/products/show.html.haml:116: syntax error, unexpected '<'
<h2>Product Description:</h2>