ixti / redmine_tags

Redmine plugin, that adds issues tagging support
GNU General Public License v3.0
196 stars 119 forks source link

Plugin migrate fails with syntax error #95

Closed rchady closed 10 years ago

rchady commented 10 years ago

When I run the plugin migrate, I get:

plugins/redmine_tags/lib/redmine_tags/patches/wiki_page_patch.rb:60: syntax error, unexpected ':', expecting ')'
...e.table_name}.id").joins(wiki: :project)
                                ^

Which does indeed seem like a bit of a mistake?

rchady commented 10 years ago

Ugh, now for some reason it worked that time... go figure? Closing...

ixti commented 10 years ago

@rchady most likely first time you was running on Ruby 1.8 as it complained about Ruby 1.9 hash syntax.

Kanonir commented 10 years ago

Hello Aleksey. Does it mean that your plugin is require Ruby 1.9 at least and not support Ruby 1.8?

ixti commented 10 years ago

@Kanonir honestly I have no time these days to maintain this project. Maintenance is on shoulders volunteers, and I'm very appreciate any help in this field. Thanks to all who still supports this project :D

There's no official list of supported VS non-supported rubies. But if it would be, Ruby 1.8 would not be included. It's already EOL and it's after-life support was abandoned this summer. That means that plugin will either work on Ruby 1.8 or will not :D

I just pushed a fix to that line with new ruby 1.9 hash syntax (actually i dislike new hash syntax and prefer old hash-rocket style), so I hope that will make plugin work for you. But I encourage you to consider ruby upgrade :D

Kanonir commented 10 years ago

@ixti thanks for your answer and fix :)