Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't convert nil into string : init.rb row 24 Redmine 2.3.1 #27

Open
patfrat opened this issue May 3, 2013 · 4 comments
Open

Can't convert nil into string : init.rb row 24 Redmine 2.3.1 #27

patfrat opened this issue May 3, 2013 · 4 comments

Comments

@patfrat
Copy link

patfrat commented May 3, 2013

Hello,
I used this plugin on a redmine v2.3.0 and after a light upgrade in v2.3.1, this issue appears.
Can(t convert nil into string on init.rb(24)

I have just changed the code to this to get it to work !

#plugin_locale_glob = respond_to?(:directory) ?
#    File.join(directory, 'config', 'locales', '*.yml') :
plugin_locale_glob = File.join(Rails.root, 'vendor', 'plugins', 'redmine_stealth', 'config', 'locales', '*.yml')

And everything is ok now !

@snwfog
Copy link

snwfog commented Aug 29, 2013

I'm getting this issue as well. The former path is for Rails 3, while the latter is for Rails > 2 I believe.

@lejek
Copy link

lejek commented Jan 2, 2014

Fix works also in redmine 2.4.2.

@fmms
Copy link

fmms commented Mar 19, 2014

I can confirm this bug and the fix.

@flarramendi
Copy link

Fix works in redmine 2.5.1. Thanks !

kjokjo pushed a commit to kjokjo/redmine_stealth that referenced this issue Jul 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants