Closed imorales closed 11 years ago
Indeed, the problem comes from a new syntax for multiline statements in Ruby 1.9, which doesn't work with Ruby 1.8 (see this commit). I'm stuck with Ruby 1.8 too :-)
Thanks for the report. I'll merge @fcrespel pull request asap with the fix, so I close this issue.
Hi, I have problems migrating plugins.
root@ubuntu:/data/home/redmine-2.1.4# RAILS_ENV=production rake redmine:plugins rake aborted! /data/home/redmine-2.1.4/plugins/redmine_omniauth_cas/lib/redmine_omniauth_cas/account_controller_patch.rb:34: syntax error, unexpected '.', expecting kEND .merge("./logout?gateway=1&serv... ^ /data/home/redmine-2.1.4/plugins/redmine_omniauth_cas/lib/redmine_omniauth_cas/account_controller_patch.rb:35: syntax error, unexpected '.', expecting kEND .to_s ^
I´m using Redmine 2.1.4, Rails 3.2.8, ruby 1.8.7 (2010-06-23 patchlevel 299) [i686-linux], Gems 1.8.24.
I tested with https://github.com/fcrespel/redmine_omniauth_cas.git and the problem it´s resolved.