Giter Club home page Giter Club logo

Comments (3)

joshuap avatar joshuap commented on June 25, 2024

Hey Jason, our master branch works with rails 4 but hasn't been released
yet. We'll be doing that soon. In the meantime, try this in your gemfile:

gem 'honeybadger', :git => '
https://github.com/honeybadger-io/honeybadger-ruby'

On Mar 9, 2013, at 1:31 PM, Jason Nochlin [email protected] wrote:

I ran the generator and got this error:

  create  config/initializers/honeybadger.rb
     run  rake honeybadger:test --trace from "."

** Invoke honeybadger:test (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute honeybadger:test
Configuration:
api_key: "43535a63"
backtrace_filters:
[#<Proc:0x00000101aea8b0@/Users/jason/Developer/.rvm/ge
development_environments: []
environment_name: "development"
host: "api.honeybadger.io"
http_open_timeout: 2
http_read_timeout: 5
ignore: ["ActiveRecord::RecordNotFound",
"ActionController::Rou
ignore_by_filters: []
ignore_user_agent: []
notifier_name: "Honeybadger Notifier"
notifier_url: "https://github.com/honeybadger-io/honeybadger-ruby"
notifier_version: "1.5.0"
params_filters: ["password", "password_confirmation"]
project_root: #Pathname:/Users/jason/Dropbox/Current/SafeLinks
port: 443
protocol: "https"
proxy_host: nil
proxy_pass: nil
proxy_port: nil
proxy_user: nil
secure: true
use_system_ssl_cert_chain: false
framework: "Rails: 4.0.0.beta1"
user_information: "Honeybadger Error {{error_id}}"
rescue_rake_exceptions: nil
source_extract_radius: 2
Setting up the Controller.
rake aborted!
You should not use the match method in your router without
specifying an HTTP method.
If you want to expose your action to GET, use get in the router:

Instead of: match "controller#action"
Do: get "controller#action"
/Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.0.beta1/lib/action_dispatch/routing/mapper.rb:193:in
normalize_conditions!' /Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.0.beta1/lib/action_dispatch/routing/mapper.rb:64:in initialize'
/Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.0.beta1/lib/action_dispatch/routing/mapper.rb:1425:in
new' /Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.0.beta1/lib/action_dispatch/routing/mapper.rb:1425:in add_route'
/Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.0.beta1/lib/action_dispatch/routing/mapper.rb:1404:in
decomposed_match' /Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.0.beta1/lib/action_dispatch/routing/mapper.rb:1386:in block in match'
/Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.0.beta1/lib/action_dispatch/routing/mapper.rb:1386:in
each' /Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.0.beta1/lib/action_dispatch/routing/mapper.rb:1386:in match'
/Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/honeybadger-1.5.0/lib/honeybadger/rails3_tasks.rb:73:in
block (3 levels) in <top (required)>' /Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.0.beta1/lib/action_dispatch/routing/route_set.rb:320:in instance_exec'
/Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.0.beta1/lib/action_dispatch/routing/route_set.rb:320:in
eval_block' /Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.0.beta1/lib/action_dispatch/routing/route_set.rb:298:in draw'
/Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/honeybadger-1.5.0/lib/honeybadger/rails3_tasks.rb:72:in
block (2 levels) in <top (required)>' /Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/lib/rake/task.rb:228:in call'
/Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/lib/rake/task.rb:228:in
block in execute' /Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/lib/rake/task.rb:223:in each'
/Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/lib/rake/task.rb:223:in
execute' /Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/lib/rake/task.rb:166:in block in invoke_with_call_chain'
/Users/jason/Developer/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/monitor.rb:211:in
mon_synchronize' /Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/lib/rake/task.rb:159:in invoke_with_call_chain'
/Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/lib/rake/task.rb:152:in
invoke' /Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/lib/rake/application.rb:143:in invoke_task'
/Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/lib/rake/application.rb:101:in
block (2 levels) in top_level' /Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/lib/rake/application.rb:101:in each'
/Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/lib/rake/application.rb:101:in
block in top_level' /Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/lib/rake/application.rb:110:in run_with_threads'
/Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/lib/rake/application.rb:95:in
top_level' /Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/lib/rake/application.rb:73:in block in run'
/Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/lib/rake/application.rb:160:in
standard_exception_handling' /Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/lib/rake/application.rb:70:in run'
/Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.3/bin/rake:33:in
<top (required)>' /Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/bin/rake:23:inload'
/Users/jason/Developer/.rvm/gems/ruby-1.9.3-p194/bin/rake:23:in `

'
Tasks: TOP => honeybadger:test
false


Reply to this email directly or view it on
GitHubhttps://github.com//issues/18
.

from honeybadger-ruby.

hundredwatt avatar hundredwatt commented on June 25, 2024

Great, I looked through the commits and didn't see a direct fix for this, must have missed it. Glad you fixed it!

from honeybadger-ruby.

benubois avatar benubois commented on June 25, 2024

Hi, I get this same error even with

gem 'honeybadger', github: 'honeybadger-io/honeybadger-ruby', ref: 'a8ee3cf'

In my gemfile.

I think the problem is here: https://github.com/honeybadger-io/honeybadger-ruby/blob/master/lib/honeybadger/rails3_tasks.rb#L83

I think it needs to be:

match 'verify' => 'application#verify', :as => 'verify', :via => :get

from honeybadger-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.