Fix for gettext rake tasks

These commits are fixing issues with gettext rake tasks, especially
* rake gettext:find
* rake gettext:add_language[XX]
*(where XX is the ISO 639-1 2-letter code for the language)*

To run those rake tasks, you need to define in your Gemfile.dev.rb:
```ruby
  gem "gettext",  "~>2.0",  :require => false
  gem "locale",   "=2.0.9"
  gem 'ruby_parser',        :require => false
```
Still not working
* rake gettext:store_model_attributes

Oh interesting...where is that getting added to the load path.

Also, on the other .to_s above for the rails path, what's the need for the
.to_s specifically.  I assume it's because the get text I18n gem is not
supporting Pathname properly.  If that's the case we should probably fix
the gem to support it, since it's pretty common to use Pathname objects
there.
On Nov 14, 2014 1:58 PM, "Jozef Zigmund" <notifications@github.com> wrote:

> In vmdb/config/application.rb:
>
> > @@ -86,9 +86,6 @@ class Application < Rails::Application
> >
> >      require_relative 'environments/patches/database_configuration'
> >
> > -    # Rails3 TODO: check if anything in lib cannot be autoloaded
> > -    $:.push Rails.root.join("lib")
> > -
>
> That one produced #Pathname:/home/jzigmund/manageiq/vmdb/lib [dont know if
> it's side-effect, but anyway this path has been already defined in
> $LOAD_PATH]
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ManageIQ/manageiq/pull/1062/files#r20378156>.
>