Closed lajish closed 10 years ago
This is how it looks when I used Firefox 30
Did you follow the installation notes step by step? The behaviour indicates that you didn't, because redmine can't find the emoji icons. They are installed by the bundle install / rake emoji task:
Run bundler (from the plugin directory):
$ bundle install
Run rake task (from the Redmine root directory):
$ rake emoji
HI there,
Here is my gem list actionmailer (4.1.4, 3.2.19) actionpack (4.1.4, 3.2.19) actionview (4.1.4) activemodel (4.1.4, 3.2.19) activerecord (4.1.4, 3.2.19) activerecord-deprecated_finders (1.0.3) activeresource (3.2.19) activesupport (4.1.4, 3.2.19) akami (1.2.0) ansi (1.4.3) arel (5.0.1.20140414130214, 3.0.3) atomic (1.1.14) awesome_nested_set (2.1.6) aws-sdk (1.8.3.1) bigdecimal (1.2.0) builder (3.1.4, 3.0.0) bundler (1.6.5) coderay (1.1.0) coffee-rails (4.0.1) coffee-script (2.2.0) coffee-script-source (1.6.2) crack (0.3.1) daemons (1.1.9, 1.1.8) diff-lcs (1.1.3) erubis (2.7.0) eventmachine (1.0.3 x86-mingw32, 1.0.0) execjs (1.4.0) gemoji (2.0.1) gyoku (0.4.6) hike (1.2.3) hoe (3.0.6) hpricot (0.8.5) httparty (0.8.3) i18n (0.6.9) iconv (1.0.3) io-console (0.4.2) jbuilder (2.0.7, 1.4.2) journey (1.0.4) jquery-rails (3.0.4, 2.0.3) json (1.8.1 x86-mingw32, 1.8.0, 1.7.7) mail (2.5.4) mime-types (1.25.1, 1.23) mini_magick (3.4) mini_portile (0.6.0) minitest (5.3.3, 4.3.2) multi_json (1.10.1, 1.3.6) multi_xml (0.5.1) mustache (0.99.4) mysql2 (0.3.16 x86-mingw32, 0.3.11 x86-mingw32, 0.2.18) net-ldap (0.3.1) nokogiri (1.6.2.1 x86-mingw32, 1.5.9 x86-mingw32) pg (0.16.0 x86-mingw32) polyglot (0.3.5, 0.3.3) psych (2.0.0) rack (1.5.2, 1.4.5) rack-cache (1.2) rack-mount (0.8.3) rack-openid (1.4.1) rack-ssl (1.3.4, 1.3.2) rack-test (0.6.2) rails (4.1.4, 3.2.19) railties (4.1.4, 3.2.19) rake (10.1.1, 10.1.0, 0.9.6, 0.9.2.2) rake-compiler (0.8.1) rdiscount (1.6.8) rdoc (4.0.0, 3.12.2) redcarpet (2.3.0 x86-mingw32) rmagick (2.13.2 x86-mingw32, 2.13.1 x86-mingw32) ronn (0.7.3) rspec (2.11.0) rspec-core (2.11.1) rspec-expectations (2.11.2) rspec-mocks (2.11.1) ruby-ole (1.2.11.7) ruby-openid (2.3.0) rubygems-update (2.3.0) rubyzip (1.1.4) rvm (1.11.3.5) sass (3.2.9) sass-rails (4.0.3, 4.0.1) sdoc (0.4.0, 0.3.20) spreadsheet (0.9.7) spring (1.1.2) sprockets (2.10.0, 2.4.5, 2.2.2, 2.2.1) sprockets-rails (2.0.1) sqlite3 (1.3.8 x86-mingw32) sqlite3-ruby (1.3.2 x86-mingw32) subexec (0.2.2) test-unit (2.0.0.0) thin (1.6.1 x86-mingw32, 1.5.1) thor (0.19.1, 0.18.1) thread_safe (0.1.0) tilt (1.4.1) treetop (1.4.15, 1.4.14) turbolinks (1.2.0) turn (0.9.6) tzinfo (1.1.0, 0.3.39) tzinfo-data (1.2014.2) uglifier (2.1.1) uuidtools (2.1.3) write_xlsx (0.77.1) zip-zip (0.3)
Okay, so you did the bundle install
Did you then run rake emoji
from your redmine root directory?
This will produce a long output like this:
cp /var/lib/gems/1.9.1/gems/gemoji-1.5.0/images/emoji/unicode/2755.png /var/www/projekte/redmine-2.5/public/images/emoji/unicode/
cp /var/lib/gems/1.9.1/gems/gemoji-1.5.0/images/emoji/unicode/2651.png /var/www/projekte/redmine-2.5/public/images/emoji/unicode/
cp /var/lib/gems/1.9.1/gems/gemoji-1.5.0/images/emoji/unicode/1f1ee-1f1f9.png /var/www/projekte/redmine-2.5/public/images/emoji/unicode/
cp /var/lib/gems/1.9.1/gems/gemoji-1.5.0/images/emoji/unicode/1f4b5.png /var/www/projekte/redmine-2.5/public/images/emoji/unicode/
cp /var/lib/gems/1.9.1/gems/gemoji-1.5.0/images/emoji/unicode/1f44f.png /var/www/projekte/redmine-2.5/public/images/emoji/unicode/
cp /var/lib/gems/1.9.1/gems/gemoji-1.5.0/images/emoji/unicode/25aa.png /var/www/projekte/redmine-2.5/public/images/emoji/unicode/
cp /var/lib/gems/1.9.1/gems/gemoji-1.5.0/images/emoji/unicode/1f42f.png /var/www/projekte/redmine-2.5/public/images/emoji/unicode/
cp /var/lib/gems/1.9.1/gems/gemoji-1.5.0/images/emoji/unicode/1f33b.png /var/www/projekte/redmine-2.5/public/images/emoji/unicode/
cp /var/lib/gems/1.9.1/gems/gemoji-1.5.0/images/emoji/unicode/1f17f.png /var/www/projekte/redmine-2.5/public/images/emoji/unicode/
because it copies all emoji icons from the gem directory to the redmine directory.
If you don't do this, your emoji icons won't show up...
Hi there,
I am getting this message from command prompt
PS C:\Redmine\Redmine\apps\redmine\htdocs> rake emoji The syntax of the command is incorrect.
Although my Rakefile resides in htdocs.....don't know why it is showing like this...:(
This is weird!
Can you run the following in the redmine root directory?
rake -T emoji
It should produce this output:
rake emoji # Copy emoji to the Rails `public/images/emoji` directory
Hi there,
I did what you said. And got this....
PS C:\Redmine\Redmine\apps\redmine\htdocs> rake -T emoji
rake emoji # Copy emoji to the Rails public/images/emoji
directory
It works as you said....but there is no emoticons copied to images folder. No emoji folder created...:(
yeah, well, this rake -T
wouldn't run the rake task. I just wanted to make sure that it exists...
The images should be copied when you run rake emoji
from the redmine root.
Can you make sure, that there is definately no emoji
directory in C:\Redmine\Redmine\apps\redmine\htdocs\public\images\
?
Can you run the following on a windows shell?
where rake
It should output the paths where rake is installed...
Somewhen, there seemd to be an issue with running the rake command on windows: http://instantbadger.blogspot.de/2008/04/rake-gotcha-on-windows.html
They had to run the rake.bat
instead of rake
Hi there,
I am sure, this is folder view..
hi,
I will this and get back to you very soon. Thanks for your efforts.
probably a rake.bat emoji
will do the trick - but I don't know as I don't hav a redmine on windows installation here...
ok buddy, thanks for your suggestion.
no problem :)
did it work with rake.bat emoji
? because then I will put this also in the README file...
hi there,
I didn't check it.....Will confirm you tomorrow.
I am having the same problem. I think it is caused by this commit github/gemoji@c8c9805bfce19e5cb1ec7a2645830761665405c9
After I pin the gemoji
to 1.5.0
I can see the icons.
@linc01n, thanks for the hint. I pinned the gemoji gem to 1.5.0 in a separate branch fix/emoji-gem-issue1
– can you check weather this works for you or not?
@lajish, can you test as well? I think you have to run bundle install
first once again...
well, I finally reproduced this error on my development machine and @linc01n's solution fixed it. will merge the pull-request and publish a new version of the plugin.
whoever installed this so far and has the same issue has to update the plugin and follow the installation instructions to the point!
execute the command bundle install
from the plugin directory and rake emoji
from the redmine root dir
Pinning the gemoji gem seems no longer to be necessary when using the latest gemoji gem 2.1.0 because they returned to bundle all icons with its name in addition to the unciode-named files like it was with 1.5.0.
Will release a new version of my plugin soo which comes with gemoji 2.1.0 support.
Hi there,
I installed this plugin. Please check screenshot below. Redmine version 2.5.2
If I inserts any emoticon in text field. The preview doesn't works. Google Chrome 36.0.1985.125