ID25 / rails_emoji_picker

Add emoji to your app :smiley_cat:
143 stars 41 forks source link

Receiving an error while using the generator? #1

Closed RailsCod3rFuture closed 8 years ago

RailsCod3rFuture commented 8 years ago

I've added the includes and followed your steps. But, I am getting an error for the asset_host method.

/config/initializers/emoji.rb:1:in <top (required)>': undefined methodasset_host=' for Emoji:Module (NoMethodError)

emoji.rb

Emoji.asset_host = 'emoji.cdn.com' Emoji.asset_path = '/assets/emoji' Emoji.use_plaintext_alt_tags = true

All three methods are considered undefined (NoMethodError). I'm using Windows 10 btw.

ID25 commented 8 years ago

Fixed in 0.1.5