allourideas/pairwise-api — pull request #20 by vitorbaptista (2012-08-10 22:34:49+00:00)
Title: Upgrading gems so we're able to install in Ubuntu 12.04 without modifications (now with Cucumber!)

Hi,

I sent the pull request #19 (https://github.com/allourideas/pairwise-api/pull/19) a while ago, but the cucumber tests weren't running on that one. Now everything is OK.

The only thing that still annoys me is a deprecation warning for i18n

The {{key}} interpolation syntax in I18n messages is deprecated. Please use %{key} instead
.
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/vendor/i18n-0.4.1/i18n/backend/base.rb:162:in `interpolate'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/vendor/i18n-0.4.1/i18n/backend/base.rb:157:in `gsub'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/vendor/i18n-0.4.1/i18n/backend/base.rb:157:in `interpolate'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/vendor/i18n-0.4.1/i18n/backend/base.rb:197:in `preserve_encoding'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/vendor/i18n-0.4.1/i18n/backend/base.rb:156:in `interpolate'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/vendor/i18n-0.4.1/i18n/backend/base.rb:49:in `translate'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/vendor/i18n-0.4.1/i18n.rb:152:in `translate'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/vendor/i18n-0.4.1/i18n/backend/base.rb:120:in `resolve'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/vendor/i18n-0.4.1/i18n/backend/base.rb:105:in `default'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/vendor/i18n-0.4.1/i18n/backend/base.rb:104:in `each'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/vendor/i18n-0.4.1/i18n/backend/base.rb:104:in `default'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/vendor/i18n-0.4.1/i18n/backend/base.rb:42:in `translate'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/vendor/i18n-0.4.1/i18n.rb:152:in `t'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/responders-0.4.8/lib/responders/flash_responder.rb:115:in `set_flash_message!'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/responders-0.4.8/lib/responders/flash_responder.rb:92:in `to_html'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/inherited_resources-1.0.4/lib/inherited_resources/legacy/responder.rb:117:in `send'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/inherited_resources-1.0.4/lib/inherited_resources/legacy/responder.rb:117:in `respond'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/inherited_resources-1.0.4/lib/inherited_resources/legacy/responder.rb:110:in `call'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/inherited_resources-1.0.4/lib/inherited_resources/legacy/respond_to.rb:67:in `respond_with'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/inherited_resources-1.0.4/lib/inherited_resources/base_helpers.rb:250:in `respond_with_dual_blocks'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/inherited_resources-1.0.4/lib/inherited_resources/actions.rb:37:in `create!'
/home/vitor/Projetos/pairwise-api/app/controllers/choices_controller.rb:57:in `create'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in `send'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in `perform_action_without_filters'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:617:in `call_filters'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/home/vitor/.rbenv/versions/1.8.7-p370/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/flash.rb:151:in `perform_action'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in `send'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in `process_without_filters'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:606:in `process'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/test_process.rb:567:in `process_with_test'

/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/test_process.rb:447:in `process'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/test_process.rb:403:in `post'
./spec/controllers/choices_controller_spec.rb:93
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/rspec-1.3.2/lib/spec/example/example_methods.rb:40:in `instance_eval'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/rspec-1.3.2/lib/spec/example/example_methods.rb:40:in `execute'
/home/vitor/.rbenv/versions/1.8.7-p370/lib/ruby/1.8/timeout.rb:53:in `timeout'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/rspec-1.3.2/lib/spec/example/example_methods.rb:37:in `execute'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/rspec-1.3.2/lib/spec/example/example_group_methods.rb:219:in `run_examples'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/rspec-1.3.2/lib/spec/example/example_group_methods.rb:217:in `each'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/rspec-1.3.2/lib/spec/example/example_group_methods.rb:217:in `run_examples'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/rspec-1.3.2/lib/spec/example/example_group_methods.rb:103:in `run'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:23:in `run'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:22:in `each'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:22:in `run'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/rspec-1.3.2/lib/spec/runner/options.rb:153:in `run_examples'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/rspec-1.3.2/lib/spec/runner/command_line.rb:9:in `run'
/home/vitor/Projetos/pairwise-api/vendor/ruby/1.8/gems/rspec-1.3.2/bin/spec:5

To fix it, we would need to upgrade a bunch of gems. So I prefered to send this first pull request and, if you agree, add that as an issue. I could solve it later.

Cheers!
Vítor.