Closed mdotmoment11 closed 6 years ago
@mdotmoment11, Hi! Try to use another ruby version, like 2.3.
That would require me to reinstall redmine on that version correct? Seems like a lot of effort. Do you have plans to test against 2.4 in the future?
On 9/20/17 1:57 PM, Karim Kiatlottiavi wrote:
@mdotmoment11 https://github.com/mdotmoment11, Hi! Try to use another ruby version, like 2.3.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/centosadmin/redmine_2fa/issues/41#issuecomment-330931165, or mute the thread https://github.com/notifications/unsubscribe-auth/AAM-nLUqbCZC5HFgAe77LNi6zCf2IKIEks5skVIAgaJpZM4Pcd9M.
Brad@ChickCentral.com 734.662.1701 (h) 734.646.9372 (m)
@mdotmoment11, so, your redmine work's correctly on ruby 2.4? And you catch the errors only when you try to install our plugin, is it correct?
I can test plugin on ruby 2.4 But I thought redmine will not work on that ruby version.
I installed with ruby 2.4 and all went well.
Environment: Redmine version 3.4.2.stable Ruby version 2.4.2-p198 (2017-09-14) [x86_64-darwin17] Rails version 4.2.8 Environment development Database adapter PostgreSQL
Did you run "bundle install"?
I did. Here's my environment and the result:
Environment: Redmine version 3.4.2.stable Ruby version 2.4.1-p111 (2017-03-22) [x86_64-linux] Rails version 4.2.8 Environment production Database adapter Mysql2
"bundle install" works, but then I get:
[redmine@redmine-monitors redmine_2fa]$ bundle exec rake
redmine:plugins:migrate RAILS_ENV=production
(in /prod/redmine-3.4.2)
rake aborted!
NameError: uninitialized constant ActionDispatch::XmlParamsParser
Did you mean? ActionDispatch::ParamsParser
/prod/redmine-3.4.2/config/application.rb:55:in <class:Application>' /prod/redmine-3.4.2/config/application.rb:8:in
<top (required)>' /prod/redmine-3.4.2/Rakefile:5:in
require'
/prod/redmine-3.4.2/Rakefile:5:in <top (required)>' /home/redmine/.rbenv/versions/2.4.1/bin/bundle:22:in
load'
/home/redmine/.rbenv/versions/2.4.1/bin/bundle:22:in `
On 9/24/17 3:09 PM, Igor Olemskoi wrote:
Did you run "bundle install"?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/centosadmin/redmine_2fa/issues/41#issuecomment-331732157, or mute the thread https://github.com/notifications/unsubscribe-auth/AAM-nMTZumEaqvJi1JLRTcuT_KWvQ6EPks5slqjugaJpZM4Pcd9M.
Brad@ChickCentral.com 734.662.1701 (h) 734.646.9372 (m)
@mdotmoment11, errors occurs only when you trying to install our plugin? Without our plugin your redmine works well? Or it is a brand new setup?
Yes. this only occurs when trying to install your plugin. Without the plugin, redmine works perfectly. I have one other plugin successfully working: Redmine Agile plugin (Light version)
This is a brand new setup, although I pulled the data over from an older version.
On 9/26/17 1:03 PM, Karim Kiatlottiavi wrote:
@mdotmoment11 https://github.com/mdotmoment11, errors occurs only when you trying to install our plugin? Without our plugin your redmine works well? Or it is a brand new setup?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/centosadmin/redmine_2fa/issues/41#issuecomment-332266561, or mute the thread https://github.com/notifications/unsubscribe-auth/AAM-nNH4J5u-_9Q4mdwTfEqLh1oTy6l-ks5smS4kgaJpZM4Pcd9M.
Brad@ChickCentral.com 734.662.1701 (h) 734.646.9372 (m)
I can't reproduce the bug. I installed redmine-agile light, 2fa on OS X. Nothing wrong is happened. Try to install our plugins from develop git branch with latest code. Or you may make virtual image of your system and give it to me, then I will figure out what's wrong.
Also I found similar problem — https://stackoverflow.com/questions/45079018/ubuntu-rake-aborted-nameerror-uninitialized-constant-actiondispatchxmlparams. Maybe you have same issue.
We recommend to upgrade to the latest master version of redmine_telegram_common.
Trying to install the latest redmine_2fa (1.3.2) into the stable 3.4.2 environment and can't seem to get the bundle to run properly. My redmine environment: Environment: Redmine version 3.4.2.stable Ruby version 2.4.1-p111 (2017-03-22) [x86_64-linux] Rails version 4.2.8
Ruby is managed with rbenv, which is properly installed. But when I try
bundle exec rake redmine:plugins:migrate RAILS_ENV=production
I get:
Any help would be greatly appreciated.
Thanks
UPDATE
I tried adding the following to the Gemfile:
gem 'rails' , '= 4.2.8' gem 'rake' gem 'activesupport' , ' >= 4.2.8'
but am now running into this error: