Strange error: uninitialized constant Barby::Code128A on Heroku server?

51 views
Skip to first unread message

regedarek

unread,
Aug 1, 2012, 2:13:37 PM8/1/12
to rubyonra...@googlegroups.com

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?

Saravanan P

unread,
Aug 2, 2012, 8:07:42 AM8/2/12
to rubyonra...@googlegroups.com
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...



--
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
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

Reply all
Reply to author
Forward
0 new messages