Agile Web Development with Rails, Edition 4

Agile Web Development with Rails, Edition 4

26.4 JQuery 26.2 Asset Packager

26.3 HAML

Expected at least 1 element matching "h1", found 0.

Traceback:
  /home/rubys/git/awdwr/edition4/checkdepot.rb:388:in `block in <class:DepotTest>'
edit Gemfile
gem 'will_paginate', '~> 3.0'
gem 'activemerchant', '~> 1.10.0'
gem 'haml', '~> 3.1.1'
bundle install
Using rake (0.9.2) 
Using abstract (1.0.0) 
Using activesupport (3.0.10) 
Using builder (2.1.2) 
Using i18n (0.5.0) 
Using activemodel (3.0.10) 
Using erubis (2.6.6) 
Using rack (1.2.4) 
Using rack-mount (0.6.14) 
Using rack-test (0.5.7) 
Using tzinfo (0.3.30) 
Using actionpack (3.0.10) 
Using mime-types (1.16) 
Using polyglot (0.3.2) 
Using treetop (1.4.10) 
Using mail (2.2.19) 
Using actionmailer (3.0.10) 
Using braintree (2.12.0) 
Using activemerchant (1.10.0) 
Using arel (2.0.10) 
Using activerecord (3.0.10) 
Using activeresource (3.0.10) 
Using bundler (1.0.21) 
Using highline (1.6.2) 
Using net-ssh (2.2.1) 
Using net-scp (1.0.4) 
Using net-sftp (2.0.5) 
Using net-ssh-gateway (1.1.0) 
Using capistrano (2.9.0) 
Using haml (3.1.3) 
Using json (1.6.1) 
Using mysql (2.8.1) 
Using rdoc (3.11) 
Using thor (0.14.6) 
Using railties (3.0.10) 
Using rails (3.0.10) 
Using sqlite3 (1.3.4) 
Using will_paginate (3.0.2) 
Updating .gem files in vendor/cache
Could not find activesupport-3.0.10.gem for installation
rails runner "require 'haml'"
/home/rubys/git/rails/railties/lib/rails/railtie/configuration.rb:65:in `respond_to?': wrong number of arguments (2 for 1) (ArgumentError)
	from /home/rubys/.rvm/gems/ruby-1.9.3-r33476/gems/haml-3.1.3/lib/haml/template.rb:69:in `<top (required)>'
	from /home/rubys/git/rails/activesupport/lib/active_support/dependencies.rb:239:in `require'
	from /home/rubys/git/rails/activesupport/lib/active_support/dependencies.rb:239:in `block in require'
	from /home/rubys/git/rails/activesupport/lib/active_support/dependencies.rb:225:in `block in load_dependency'
	from /home/rubys/git/rails/activesupport/lib/active_support/dependencies.rb:593:in `new_constants_in'
	from /home/rubys/git/rails/activesupport/lib/active_support/dependencies.rb:225:in `load_dependency'
	from /home/rubys/git/rails/activesupport/lib/active_support/dependencies.rb:239:in `require'
	from /home/rubys/.rvm/gems/ruby-1.9.3-r33476/gems/haml-3.1.3/lib/haml.rb:41:in `block in init_rails'
	from /home/rubys/.rvm/gems/ruby-1.9.3-r33476/gems/haml-3.1.3/lib/haml.rb:41:in `each'
	from /home/rubys/.rvm/gems/ruby-1.9.3-r33476/gems/haml-3.1.3/lib/haml.rb:41:in `init_rails'
	from /home/rubys/.rvm/gems/ruby-1.9.3-r33476/gems/haml-3.1.3/lib/haml/railtie.rb:16:in `block (2 levels) in <top (required)>'
	from /home/rubys/git/rails/activesupport/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
	from /home/rubys/git/rails/activesupport/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
	from /home/rubys/git/rails/activesupport/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
	from /home/rubys/git/rails/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `each'
	from /home/rubys/git/rails/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
	from /home/rubys/git/rails/actionpack/lib/action_view/base.rb:241:in `<class:Base>'
	from /home/rubys/git/rails/actionpack/lib/action_view/base.rb:160:in `<module:ActionView>'
	from /home/rubys/git/rails/actionpack/lib/action_view/base.rb:8:in `<top (required)>'
	from /home/rubys/git/awdwr/edition4/work-193-30/depot/vendor/plugins/asset_packager/init.rb:3:in `block in <class:Plugin>'
	from /home/rubys/git/rails/railties/lib/rails/plugin.rb:81:in `eval'
	from /home/rubys/git/rails/railties/lib/rails/plugin.rb:81:in `block in <class:Plugin>'
	from /home/rubys/git/rails/railties/lib/rails/initializable.rb:25:in `instance_exec'
	from /home/rubys/git/rails/railties/lib/rails/initializable.rb:25:in `run'
	from /home/rubys/git/rails/railties/lib/rails/initializable.rb:50:in `block in run_initializers'
	from /home/rubys/git/rails/railties/lib/rails/initializable.rb:49:in `each'
	from /home/rubys/git/rails/railties/lib/rails/initializable.rb:49:in `run_initializers'
	from /home/rubys/git/rails/railties/lib/rails/application.rb:134:in `initialize!'
	from /home/rubys/git/rails/railties/lib/rails/application.rb:77:in `method_missing'
	from /home/rubys/git/awdwr/edition4/work-193-30/depot/config/environment.rb:5:in `<top (required)>'
	from /home/rubys/git/rails/railties/lib/rails/application.rb:103:in `require'
	from /home/rubys/git/rails/railties/lib/rails/application.rb:103:in `require_environment!'
	from /home/rubys/git/rails/railties/lib/rails/commands/runner.rb:40:in `<top (required)>'
	from /home/rubys/git/rails/railties/lib/rails/commands.rb:39:in `require'
	from /home/rubys/git/rails/railties/lib/rails/commands.rb:39:in `<top (required)>'
	from script/rails:6:in `require'
	from script/rails:6:in `<main>'
edit Gemfile
gem 'will_paginate', '~> 3.0'
gem 'activemerchant', '~> 1.10.0'
# gem 'haml', '~> 3.1.1'

26.4 JQuery 26.2 Asset Packager