Redmine 2 / Rails3 Support
sveneisenschmidt opened this issue · comments
Maybe is Rails3 the Problem? I don't know. When I try to migrate the plugin the following error occurs:
https://gist.github.com/3128541
ruby 1.9.3p0
rubygems 1.8.11
rails 3.2.6
gem dispatcher is installed
Using rake (0.9.2.2)
Using i18n (0.6.0)
Using multi_json (1.3.6)
Using activesupport (3.2.6)
Using builder (3.0.0)
Using activemodel (3.2.6)
Using erubis (2.7.0)
Using journey (1.0.4)
Using rack (1.4.1)
Using rack-cache (1.2)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.1.3)
Using actionpack (3.2.6)
Using mime-types (1.19)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.4.4)
Using actionmailer (3.2.6)
Using arel (3.0.2)
Using tzinfo (0.3.33)
Using activerecord (3.2.6)
Using activeresource (3.2.6)
Using bundler (1.1.4)
Using coderay (1.0.7)
Using dispatcher (0.0.1)
Using json (1.7.3)
Using mysql2 (0.3.11)
Using net-ldap (0.3.1)
Using pg (0.14.0)
Using rack-ssl (1.3.2)
Using rdoc (3.12)
Using thor (0.15.4)
Using railties (3.2.6)
Using rails (3.2.6)
Using prototype-rails (3.2.1)
Using ruby-openid (2.1.8)
Using rack-openid (1.3.1)
Using rmagick (2.13.1)
Using rqrcode (0.4.2)
Using sqlite3 (1.3.6)
'gem install dispatch' lead to an new error
redmine@Sparta:/opt/redmine/2.0.3-icmaa$ rake redmine:plugins:migrate RAILS_ENV=production --trace
rake aborted!
can't convert nil into String
/var/lib/gems/1.9.1/gems/dispatcher-0.0.1/lib/dispatcher.rb:133:in +' /var/lib/gems/1.9.1/gems/dispatcher-0.0.1/lib/dispatcher.rb:133:in
uri'
/var/lib/gems/1.9.1/gems/dispatcher-0.0.1/lib/dispatch.rb:7:in block in <top (required)>' /var/lib/gems/1.9.1/gems/dispatcher-0.0.1/lib/dispatcher.rb:254:in
render'
/var/lib/gems/1.9.1/gems/dispatcher-0.0.1/lib/dispatcher.rb:75:in handle' /var/lib/gems/1.9.1/gems/dispatcher-0.0.1/lib/dispatcher/cgi.rb:15:in
listen'
/var/lib/gems/1.9.1/gems/dispatcher-0.0.1/lib/dispatcher.rb:28:in dispatch' /var/lib/gems/1.9.1/gems/dispatcher-0.0.1/lib/dispatch.rb:3:in
<top (required)>'
/var/lib/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:68:in require' /var/lib/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:68:in
block (2 levels) in require'
/var/lib/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:66:in each' /var/lib/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:66:in
block in require'
/var/lib/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:55:in each' /var/lib/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:55:in
require'
/var/lib/gems/1.9.1/gems/bundler-1.1.4/lib/bundler.rb:119:in require' /opt/redmine/2.0.3-icmaa/config/application.rb:7:in
<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
/opt/redmine/2.0.3-icmaa/Rakefile:5:in <top (required)>' /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in
load'
/var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in load_rakefile' /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:501:in
raw_load_rakefile'
/var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:82:in block in load_rakefile' /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in
standard_exception_handling'
/var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:81:in load_rakefile' /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:65:in
block in run'
/var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in standard_exception_handling' /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in
run'
/var/lib/gems/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in <top (required)>' /usr/local/bin/rake:19:in
load'
/usr/local/bin/rake:19:in `
I never wrote this plugin to be rails 3 compatible. Unfortunately when I wrote this I only had access to hosting services which supported Rail 2.13 and would not support Rails 3. Therefore I never learned Rails 3. I would love to upgrade but I don't know enough about Rails 3 to do so at this time.
The pull request #47 will fix this issue. It should be merged into master soon. Any testers wana try it first?