ruby on rails - Require 'barby' not working. - cannot load such file -- barby -


i'm trying use barby gem installed, when gives me error.

loaderror cannot load such file -- barby 

here's require methods in controller.

    require 'barby'     require 'barby/barcode/ean_13'     require 'barby/outputter/ascii_outputter'     require 'barby/outputter/html_outputter'      class palletscontroller < applicationcontroller     -snip-     end 

here's gem in gemfile.

gem 'barby' 

any appreciated.

you add require when dealing ruby project. in case(ruby-on-rails), can remove lines.

also, keep in mind should add gems gemfile


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -