Ruby on rails gbarcode问题-未生成条形码

Ruby on rails gbarcode问题-未生成条形码,ruby-on-rails,ruby,ruby-on-rails-3,Ruby On Rails,Ruby,Ruby On Rails 3,我在Ubuntu12.10上使用gbarcode和ruby 1.8.7以及rails 3.0.7 在我的开发服务器中有gbarcode版本0.98.20,它可以工作并生成条形码。但是,我的生产服务器上的版本为0.98.16,出现以下错误: ActionController::RoutingError (No route matches "/images/barcodes/ATL-00566.png") extconf.rb:10: GNU Barcode is no longer bundle

我在Ubuntu12.10上使用gbarcode和ruby 1.8.7以及rails 3.0.7

在我的开发服务器中有gbarcode版本0.98.20,它可以工作并生成条形码。但是,我的生产服务器上的版本为0.98.16,出现以下错误:

ActionController::RoutingError (No route matches "/images/barcodes/ATL-00566.png")
extconf.rb:10: GNU Barcode is no longer bundled with the gbarcode gem. Please install GNU barcode before installing this gem (Exception)
现在我知道这听起来像是一个路由问题,但事实并非如此。问题是rails正在images/barcodes目录中查找条形码png,因为版本0.98.16没有生成它

我试图在生产系统上安装0.98.20,但出现以下错误:

ActionController::RoutingError (No route matches "/images/barcodes/ATL-00566.png")
extconf.rb:10: GNU Barcode is no longer bundled with the gbarcode gem. Please install GNU barcode before installing this gem (Exception)

问题是windows中的ImageMagick。gbarcode 0.98.16与0.98.20一样适用。

问题在于windows中的ImageMagick。gbarcode 0.98.16与0.98.20一样适用。