zipme / redmine_lightbox

Lightbox for image attachments
MIT License
116 stars 119 forks source link

fix for "unexpected '\n'" issue #52

Closed globalundo closed 11 years ago

logical-and commented 11 years ago

Tell me you environment, please.

globalundo commented 11 years ago

Sure: CentOS release 6.3 2.6.32-279.19.1.el6.x86_64 ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] Rails 3.2.11 nginx version: nginx/1.2.6 + Phusion Passenger version 3.0.19 LANG=en_US.UTF-8

$ ruby -c lib/hooks/view_layouts_base_html_head_hook.rb lib/hooks/view_layouts_base_html_head_hook.rb:14: syntax error, unexpected '\n'

I've tried to attach a pull request with a (typo?) fix, not quite sure it worked well. You can find it here https://github.com/globalundo/redmine_lightbox/commit/38a202075ca325702554a7600b09b4986e967779

logical-and commented 11 years ago

Fixed now?

globalundo commented 11 years ago

Works like a charm.