Forum: Rails deployment Exception Notification plugin install issue

1f9d5cca9ae63a48c8843d91488fbd30?d=identicon&s=25 Mohnish G j (mohnish_j55)
on 2011-02-08 07:31
Hi,

I am a newbie to rails. I am trying to install the exception
notification plugin into my rails app, I am unable to do it. I also had
a doubt wrt this thing, is it mandatory that we need to install a gem
like this one specific to every rails app we want to incorporate with.
In other words do we have to repeat this gem installation process for
every new rails app we create?( I actually guess not , I just want to
reconfirm )

In case of plugins do we just need to copy and paste them in our
vendor/plugins directory. We need not install them, in order to get them
up & running(integrate them) in our rails app?. If its an external
plugin, we need not give a require "plugin_name" in our enviroment.rb
file?

I already have exception_notification (1.0.20090728) gem installed in my
gem list, I am using Rails 2.0.2, Ruby 1.8.7 for project specific
purpose.


The error I am getting is:



    mohnish@pc146724-desktop:~/railsprg/2011/Jan11/10jan11_blogs/blogs$
ruby script/plugin install exception_notification
    /usr/lib/ruby/1.8/timeout.rb:60:in `rbuf_fill': execution expired
(Timeout::Error)
          from /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
          from /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
          from /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'
          from /usr/lib/ruby/1.8/net/http.rb:2024:in `read_status_line'
          from /usr/lib/ruby/1.8/net/http.rb:2013:in `read_new'
          from /usr/lib/ruby/1.8/net/http.rb:1050:in `request'
          from /usr/lib/ruby/1.8/open-uri.rb:248:in `open_http'
          from /usr/lib/ruby/1.8/net/http.rb:543:in `start'
          from /usr/lib/ruby/1.8/open-uri.rb:242:in `open_http'
          from /usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
          from /usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
          from /usr/lib/ruby/1.8/open-uri.rb:162:in `catch'
          from /usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
          from /usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
          from /usr/lib/ruby/1.8/open-uri.rb:518:in `open'
          from /usr/lib/ruby/1.8/open-uri.rb:30:in `open'
          from
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/plugin.rb:869:in
`ls'
          from
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/plugin.rb:865:in
`collect'
          from
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/plugin.rb:865:in
`ls'
          from
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/plugin.rb:391:in
`index'
          from
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/plugin.rb:378:in
`plugins'
          from
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/plugin.rb:386:in
`each'
          from
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/plugin.rb:305:in
`find_plugin'
          from
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/plugin.rb:304:in
`each'
          from
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/plugin.rb:304:in
`find_plugin'
          from
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/plugin.rb:154:in
`find'
          from
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/plugin.rb:766:in
`parse!'
          from
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/plugin.rb:765:in
`each'
          from
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/plugin.rb:765:in
`parse!'
          from
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/plugin.rb:476:in
`parse!'
          from
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/plugin.rb:492:in
`parse!'
          from
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/plugin.rb:923
          from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in
`gem_original_require'
          from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
          from script/plugin:3



I am unable to figure out whats the reason behind this and what steps
need to be taken to rectify this. Any suggestions?

Thank you..
B27ca2bea6ee0cea14663b24034c74ec?d=identicon&s=25 Shivanand Mahajan (shivanandimahajan)
on 2011-03-03 11:28
Hello, did you found solution for that cause i'm also facing same
problem...... i don't know how to catch that error
This topic is locked and can not be replied to.