specifiy locale files

Hi, I'm using the 2.0 beta and I think it's really great. Is there a way to specify to rubymine where to find locale files, as I'm writing a radiant extension that adds it's own locale file from a non-standard location?

3 comments
Comment actions Permalink

Hi Jeremy,

Hi, I'm using the 2.0 beta and I think it's really great. Is there a way to specify to rubymine where to find locale files, as I'm writing a radiant extension that adds it's own locale file from a non-standard location?

By default RubyMine looks for locales in folder $RAILS_APP$/config/locales. We don't have any settings on this. Where do you store your locale files?

Regards,
Oleg

0
Comment actions Permalink

Hi Oleg,

Because it's in an extension to a rails app (radiant) it's in vendor/extensions/extension_name/locale/.

I've also noticed a problem with tests in this set up. I've designated vendor/extensions/extension_name/specs as a test folder in the preferences. But if I'm in a file like vendor/extensions/extension_name/app/models/lead.rb pressing the switch to test key combo won't find the appropriate test file.

Jeremy

0
Comment actions Permalink

That jives with my question about Radiant development. RubyMine doesn't execute the specs in vendor/extensions/name_of_extensions/spec when asked to do so

0

Please sign in to leave a comment.