Open cserradag96 opened 5 years ago
The gem fails when the environment is different from production or development, for example staging. In production environment this gem looks for the images in the default folder in a forced way (assets/images/emoji), it is impossible to use a CDN.
The problem is found in the 'insert_image_to_image_tag' function, from the file: https://github.com/ID25/rails_emoji_picker/blob/master/lib/helper/emoji_helper.rb
I have solved these problems here: https://github.com/uriji/uriji-icons-rails
The gem fails when the environment is different from production or development, for example staging. In production environment this gem looks for the images in the default folder in a forced way (assets/images/emoji), it is impossible to use a CDN.
The problem is found in the 'insert_image_to_image_tag' function, from the file: https://github.com/ID25/rails_emoji_picker/blob/master/lib/helper/emoji_helper.rb
I have solved these problems here: https://github.com/uriji/uriji-icons-rails