Take the 2-minute tour ×  After deployiny my rails application
to my production server using capistrano, I ran into an issue
with my Rabl initializer file:   Uninitialized constant Rabl
However, I can access the Rabl object in my rails console:
Loading production environment (Rails 3.2.11) irb(main):001:0>
Rabl => Rabl  I tried adding  require 'rabl'  to my rabl_init.rb
file, but then got this error:  `require': cannot load such file
-- rabl (LoadError)  My production server is unicorn. This
happened to me before with the ActiveAdmin gem, but adding the
require fixed the problem. Unfortunately, it did not work for
Rabl  share|improve this question add comment   Your Answer
Browse other questions tagged or ask your own question.