Using gems in .rb file

Hi
i am using some gems which are working in rails but when i make use of gems in .rb file i am getting the below error after installling gem also

in `require’: cannot load such file – daru (LoadError)

please help me about this,
example gem : require ‘daru’

try require_relative

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs