This is has been pointed out above but to be sure -

You are probably using paperclip to upload files and Heroku doesn't
allow that. You need to store that on S3 or some place other than
Heroku. Local file upload works which is why you are not seeing an
issue there.

On Jun 2, 4:15 pm, Jim Ruther Nill <jvn...@gmail.com> wrote:
> On Fri, Jun 3, 2011 at 12:31 AM, Pravin Mishra <
>
> diatm.pravin.it.07...@gmail.com> wrote:
> > thanks for giving time,
>
> > what's in your gems manifest file?
> > Again i have no gems manifest file.
>
> > I am using vendor/lplugins
> > where => action_mailer_tls, easy-fckeditor, paperclip
> > ,paperclippolymorph,will_paginate PLUGIND USING.
>
> are you using submodules?  the error says that it can't find the method
> has_attached_file
> which could only mean that rails can't find the plugin.
>
>
>
>
>
>
>
>
>
> > On 02/06/2011, Jim Ruther Nill <jvn...@gmail.com> wrote:
> > > On Thu, Jun 2, 2011 at 6:43 PM, Pravin Mishra <
> > > diatm.pravin.it.07...@gmail.com> wrote:
>
> > >> Hi everybody,
>
> > >> Please any one help me, Previous two day's I am googling, Still not
> > >> find solution. this really frustrating.
>
> > >> I had deploy my app on herokuhttp://radiationn.heroku.com/. it is
> > >> working fine on localhost but  i got APPLICATION ERROR.
>
> > > what's in your gems manifest file?
>
> > >> IN log wht i find that in photo.rb model not able to find
> > >> "has_attached_file", I am not able to shout out this proble. It
> > >> working fine at localhost.
>
> > >> log file is below
>
> > >>  heroku logs
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rails-2.3.8/lib/initializer.rb:413:in
> > >> `load_application_classes'
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rails-2.3.8/lib/initializer.rb:411:in `each'
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rails-2.3.8/lib/initializer.rb:411:in
> > >> `load_application_classes'
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rails-2.3.8/lib/initializer.rb:197:in `process'
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rails-2.3.8/lib/initializer.rb:113:in `send'
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rails-2.3.8/lib/initializer.rb:113:in `run'
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /app/config/environment.rb:9
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> > >> `gem_original_require'
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> > >> `require'
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
>
> > /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/rack/adapter/rails.rb: 
> > 42:in
> > >> `load_application'
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
>
> > /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/rack/adapter/rails.rb: 
> > 23:in
> > >> `initialize'
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /home/heroku_rack/heroku.ru:29:in `new'
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /home/heroku_rack/heroku.ru:29
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `instance_eval'
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `initialize'
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:63:in `new'
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:63:in `map'
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /home/heroku_rack/heroku.ru:18
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `instance_eval'
> > >> [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `initialize'
> > >> [36m2011-06-02T09:20:20+00:00 heroku[web.1]:←[0m Process exited
> > >> [36m2011-06-02T09:20:20+00:00 heroku[web.1]:←[0m State changed from
> > >> starting to crashed
> > >> [36m2011-06-02T09:39:15+00:00 heroku[web.1]:←[0m State changed from
> > >> crashed to created
> > >> [36m2011-06-02T09:39:15+00:00 heroku[web.1]:←[0m State changed from
> > >> created to starting
> > >> [36m2011-06-02T09:39:20+00:00 heroku[web.1]:←[0m Starting process with
> > >> command: `thin -p 40040 -e production -R /home/heroku_rack/heroku.ru
> > >> start`
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m
> > >> /app/.gems/gems/activerecord-2.3.8/lib/active_record/base.rb:1994:in
> > >> `method_missing': undefined method `has_atta
> > >> hed_file' for #<Class:0x7fc4f68d2be8> (NoMethodError)
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/app/models/photo.rb:4
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> > >> `gem_original_require'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> > >> `require'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
>
> > /app/.gems/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:158: 
> > in
> > >> `require'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
>
> > /app/.gems/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:265: 
> > in
> > >> `require_or_load'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
>
> > /app/.gems/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:224: 
> > in
> > >> `depend_on'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
>
> > /app/.gems/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:136: 
> > in
> > >> `require_dependency'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rails-2.3.8/lib/initializer.rb:414:in
> > >> `load_application_classes'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rails-2.3.8/lib/initializer.rb:413:in `each'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rails-2.3.8/lib/initializer.rb:413:in
> > >> `load_application_classes'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rails-2.3.8/lib/initializer.rb:411:in
> > >> `load_application_classes'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rails-2.3.8/lib/initializer.rb:411:in `each'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rails-2.3.8/lib/initializer.rb:197:in `process'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rails-2.3.8/lib/initializer.rb:113:in `send'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rails-2.3.8/lib/initializer.rb:113:in `run'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/config/environment.rb:9
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> > >> `gem_original_require'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> > >> `require'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
>
> > /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/rack/adapter/rails.rb: 
> > 42:in
> > >> `load_application'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
>
> > /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/rack/adapter/rails.rb: 
> > 23:in
> > >> `initialize'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /home/heroku_rack/heroku.ru:29:in `new'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /home/heroku_rack/heroku.ru:29
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `initialize'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `instance_eval'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:63:in `new'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:63:in `map'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /home/heroku_rack/heroku.ru:18
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `instance_eval'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `initialize'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /home/heroku_rack/heroku.ru:11:in `new'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /home/heroku_rack/heroku.ru:11
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `instance_eval'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `initialize'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /home/heroku_rack/heroku.ru:1:in `new'
> > >> [36m2011-06-02T09:39:22+00:00 app[web.1]:←[0m  from
> > >> /home/heroku_rack/heroku.ru:1
> > >> [36m2011-06-02T09:39:22+00:00 heroku[web.1]:←[0m Process exited
> > >> [36m2011-06-02T09:39:22+00:00 heroku[web.1]:←[0m State changed from
> > >> starting to crashed
> > >> [33m2011-06-02T09:57:15+00:00 heroku[router]:←[0m Error H10 (App
> > >> crashed) -> GET radiationn.heroku.com/ dyno=none queue=0 wait=0ms
> > >> service=0ms bytes=0
> > >> [33m2011-06-02T09:57:17+00:00 heroku[router]:←[0m Error H10 (App
> > >> crashed) -> GET radiationn.heroku.com/favicon.ico dyno=none queue=0
> > >> wait=0ms service=0ms bytes
> > >> 0
> > >> [33m2011-06-02T09:57:25+00:00 heroku[router]:←[0m Error H10 (App
> > >> crashed) -> GET radiationn.heroku.com/ dyno=none queue=0 wait=0ms
> > >> service=0ms bytes=0
> > >> [32m2011-06-02T02:57:26-07:00 heroku[nginx]:←[0m GET / HTTP/1.1 |...
>
> read more »

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to