alchaplinsky / polymer-rails

Polymer and web components for Ruby on Rails
MIT License
286 stars 80 forks source link

Incompatible with bugsnag #10

Closed SleeplessByte closed 10 years ago

SleeplessByte commented 10 years ago

gem 'bugsnag' together with the polymer-rails gem will cause this error:

undefined method `html_import_tag' for #<#<Class:OBJECTID>:ANOTHER_OBJECTID>

I know the bugsnag/bugsnag-ruby gem injects scripts into the layouts (to enable the gem), so maybe y'all are overwriting some function? Instead of extending it?

alchaplinsky commented 10 years ago

Could not reproduce this within newly created Rails app. Everything seems to work for me. Maybe, there's some additional configuration in your app code?

galulex commented 10 years ago

Got the same issue with simple_form

SleeplessByte commented 10 years ago

@alchapone simply add gem 'bugsnag' to your example project :)

alchaplinsky commented 10 years ago

@SleeplessByte, @galulex Guys, master branch seems to be working fine with these gems.

SleeplessByte commented 10 years ago

@alchapone I will investigate

alchaplinsky commented 10 years ago

Well there is and issue in v 0.2.1, but it is fixed in master

alexvbush commented 9 years ago

I'm getting the same issue with 1.1.0

alexvbush commented 9 years ago

I have a brand new rails 4.2 app with no extra gems. After I've done my polymer gem setup and inerted html_import_tag I got undefined method 'html_import_tag' for #<#<Class:OBJECTID>:ANOTHER_OBJECTID>

SleeplessByte commented 9 years ago

Might this be a platform specific issue?

alchaplinsky commented 9 years ago

Possible solution in the end of #63 ;)

namiwang commented 9 years ago

I'm using Bugsnag and everything looks fine to me.