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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -