Created
January 5, 2010 18:34
-
-
Save myronmarston/269581 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/projects/dgnetwork[bundler]% ruby --version | |
ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-darwin10.2.0] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Error: | |
test: on GET to :notifications should render template :notifications. (AccountsControllerTest): | |
ActionView::TemplateError: undefined method `button_to_function' for #<ActionView::Base:0x00000107503a50> | |
On line #4 of app/views/profiles/_suggested_resources.html.erb | |
1: <div class="infoModule"> | |
2: Select: | |
3: <%= button_to_function 'All', "$$('#suggestion_form input.check').each(function(box){box.checked=true});return false;" %> <%= button_to_function 'None', "$$('#suggestion_form input.check').each(function(box){box.checked=false});return false;" %> | |
4: | |
5: <% form_tag({ :controller => 'favorite_resources', :action => 'process_bulk_form'}, :id => 'suggestion_form') do %> | |
6: <% suggested_resources.each do |fav| %> | |
7: <% resource = fav.resource %> | |
app/views/profiles/_suggested_resources.html.erb:4 | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in `block in render' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/base.rb:306:in `with_template' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/renderable.rb:30:in `render' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/test_case.rb:20:in `render' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/renderable_partial.rb:20:in `block in render' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:26:in `block in benchmark' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:26:in `benchmark' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/renderable_partial.rb:19:in `render' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in `render_template' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/renderable_partial.rb:44:in `render_partial' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/partials.rb:184:in `render_partial' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/base.rb:267:in `render' | |
app/views/accounts/notifications.html.erb:14 | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in `block in render' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/base.rb:306:in `with_template' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/renderable.rb:30:in `render' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/test_case.rb:20:in `render' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in `render_template' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in `render' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/base.rb:348:in `_render_with_layout' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_view/base.rb:262:in `render' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in `render_for_file' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/base.rb:945:in `render' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `block in render_with_benchmark' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render_with_benchmark' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/base.rb:1326:in `default_render' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/base.rb:1332:in `perform_action' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in `call_filters' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in `perform_action_with_filters' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `block in perform_action_with_benchmark' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in `perform_action_with_rescue' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in `perform_action_with_flash' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `process' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in `process_with_filters' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/test_process.rb:567:in `process_with_test' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/test_process.rb:447:in `process' | |
vendor/bundler_gems/gems/actionpack-2.3.5/lib/action_controller/test_process.rb:398:in `get' | |
test/functional/accounts_controller_test.rb:30:in `block (2 levels) in <class:AccountsControllerTest>' | |
vendor/bundler_gems/gems/shoulda-2.10.2/lib/shoulda/context.rb:369:in `call' | |
vendor/bundler_gems/gems/shoulda-2.10.2/lib/shoulda/context.rb:369:in `block in run_current_setup_blocks' | |
vendor/bundler_gems/gems/shoulda-2.10.2/lib/shoulda/context.rb:368:in `each' | |
vendor/bundler_gems/gems/shoulda-2.10.2/lib/shoulda/context.rb:368:in `run_current_setup_blocks' | |
vendor/bundler_gems/gems/shoulda-2.10.2/lib/shoulda/context.rb:350:in `block in create_test_from_should_hash' | |
vendor/bundler_gems/gems/activesupport-2.3.5/lib/active_support/testing/setup_and_teardown.rb:62:in `run' | |
vendor/bundler_gems/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run' | |
vendor/bundler_gems/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each' | |
vendor/bundler_gems/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run' | |
vendor/bundler_gems/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run' | |
vendor/bundler_gems/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each' | |
vendor/bundler_gems/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run' | |
vendor/bundler_gems/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite' | |
vendor/bundler_gems/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator' | |
vendor/bundler_gems/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start' | |
vendor/bundler_gems/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnerutilities.rb:29:in `run' | |
vendor/bundler_gems/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:216:in `run' | |
vendor/bundler_gems/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:12:in `run' | |
vendor/bundler_gems/gems/test-unit-1.2.3/lib/test/unit.rb:278:in `block in <top (required)>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use gemcutter as our source... | |
clear_sources | |
source "http://gemcutter.org" | |
# Rails has special treatment of vendor/gems, so use a different dir | |
bundle_path 'vendor/bundler_gems' | |
# It's easiest if we only allow gems specified here to be used, so a developer can't | |
# accidentally use a system-installed gem without realizing it, | |
# causing problems when other devs don't have that gem installed. | |
disable_system_gems | |
# Note: when adding gems, please specify the EXACT version you are using. Don't worry about specifying | |
# dependencies (bundler takes care of that)--just specify the gems you explicitly want to use. | |
gem 'rails', '2.3.5' | |
gem 'geokit', '1.5.0' | |
gem 'google_static_maps_helper', '1.3.4' | |
gem 'facebooker', '1.0.56' | |
gem 'twitter4r', '0.3.2', :require_as => 'twitter' | |
gem 'rmagick', '2.12.2', :require_as => 'RMagick' | |
gem 'acts_as_commentable', '2.0.2' | |
gem 'jrails', '0.6.0' | |
gem 'erubis', '2.6.5' | |
gem 'less', '1.2.19' | |
gem 'mysql', '2.8.1' | |
gem 'newrelic_rpm', '2.9.8' | |
gem 'aasm', '2.1.3' | |
gem 'friendly_id', '2.2.7' | |
gem 'memcache-client', '1.7.7' | |
# TODO: figure out if we actually need these gems. | |
# The original environmnent gem configuration had a comment saying 'Not sure what each of these are for' | |
gem 'hoe', '2.4.0' | |
gem 'rubyforge', '2.0.3' | |
gem 'fastthread', '1.0.7' | |
only :development do | |
gem 'query_trace', '0.0.3' | |
gem 'rack-contrib', '0.9.2', :require_as => 'rack/contrib' # for the profiling middleware | |
end | |
except :production do | |
# gem 'bullet', '1.7.2' | |
gem 'ruby-debug19', '0.11.6' | |
end | |
only :test do | |
gem 'test-unit', '1.2.3', :require_as => 'test/unit' | |
gem 'shoulda', '2.10.2' | |
gem 'redgreen', '1.2.2' | |
gem 'factory_girl', '1.2.3' | |
gem 'mocha', '0.9.8' | |
gem 'factory_data_preloader', '0.5.2' | |
gem 'faker', '0.3.1' | |
gem 'test_benchmarker', '1.2.1' | |
gem 'fakeweb', '1.2.8' | |
# The main ruby-growl is not ruby 1.9 compatible, so we'll use a fork on github that is. | |
gem 'ruby-growl', '1.0.2', :git => 'git://github.com/myronmarston/ruby-growl.git', :require_as => nil | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment