regedarek
2012-Aug-01 18:13 UTC
Strange error: uninitialized constant Barby::Code128A on Heroku server?
I can`t figure out why on heroku server my app crashed. On local server all seems works. 2012-08-01T17:14:50+00:00 app[web.1]: NameError (uninitialized constant Barby::Code128A): 2012-08-01T17:14:50+00:00 app[web.1]: app/models/order.rb:102:in `generate_shipment'' 2012-08-01T17:14:50+00:00 app[web.1]: app/models/order.rb:60:in `generate_items'' 2012-08-01T17:14:50+00:00 app[web.1]: app/controllers/orders_controller.rb:17:in `create'' I tried to add Procfile, but it not helps me either. How to debug this? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/xRytY3UF36MJ. For more options, visit https://groups.google.com/groups/opt_out.
Saravanan P
2012-Aug-02 12:07 UTC
Re: Strange error: uninitialized constant Barby::Code128A on Heroku server?
Hi I think your model name or controller name misspelled please check first line of your model or controller.. that should be correct proper name as you created... On Wed, Aug 1, 2012 at 11:43 PM, regedarek <dariusz.finster-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> I can`t figure out why on heroku server my app crashed. On local server > all seems works. > > 2012-08-01T17:14:50+00:00 app[web.1]: NameError (uninitialized constant Barby::Code128A): > 2012-08-01T17:14:50+00:00 app[web.1]: app/models/order.rb:102:in `generate_shipment'' > 2012-08-01T17:14:50+00:00 app[web.1]: app/models/order.rb:60:in `generate_items'' > 2012-08-01T17:14:50+00:00 app[web.1]: app/controllers/orders_controller.rb:17:in `create'' > > I tried to add Procfile, but it not helps me either. > > How to debug this? > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/xRytY3UF36MJ. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- Regards by Saravanan.P -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.