Comments (3)
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:in
load'
/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.
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.
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)
- Add support for Hanami HOT 1
- `Honeybadger.notify` requires `error_message` to be specified when using a Hash HOT 4
- Documentation and source mismatch with Rails.error.record HOT 1
- `Honeybadger::Config#respond_to?` Always Returns true
- Help suppressing a certain error HOT 4
- Honeybadger CLI errors when the deploy command is called with any option HOT 3
- Minitest: Test Backend Notices Not Added to `Honeybadger::Backend::Test` HOT 9
- Invalid class_name param in documentation HOT 1
- Use nested context from objects where available
- Sidekiq 7.1.5 and later changes number of arguments for error handlers
- Add check-in configuration sync HOT 2
- Automate releases with Github Actions
- Flaky test in JRuby test matrix entry
- Allow check-ins to be made by slug as well as id. HOT 8
- Avoid bundling unnecessary dependencies in published gem HOT 3
- Exceptions raised in jobs from Solid Queue are not automatically reported HOT 10
- Sanitizer#filter_key? returns a warning for Numeric hash keys HOT 5
- ActiveJob premature reporting HOT 2
- ActiveJob rescued exceptions should not be reported HOT 2
- Honeybadger.context returns Honeybadger::Agent when passing a block
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from honeybadger-ruby.