aarkerio
aarkerio

Reputation: 2364

Rails Zetwerk. How to load a file from a gem

I have a helper module, and it uses a method located in a gem:

 include FontAwesome::Rails::IconHelper 

I'm getting the warning message:

  DEPRECATION WARNING: Initialization autoloaded the constant FontAwesome::Rails::IconHelper.

I tried including the gem in the file:

require 'font-awesome-rails'

But no success so far. How should I load the library using the correct way?

Upvotes: 0

Views: 52

Answers (0)

Related Questions