-__- Gotcha
On Mar 27, 2014 12:21 PM, "Régis Hanol" <notifications@github.com> wrote:

> In lib/discourse.rb:
>
> > @@ -77,6 +77,18 @@ def self.plugins
> >      @plugins
> >    end
> >
> > +  # Generate a list of the different application versions. Gets run on app startup. Populates list for /admin/docker
> > +  def self.generate_app_info
> > +      @app_info=Array.new(3)
> > +      app_info[0]="Ruby Version: "+ "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"
>
> even more idiomatic:
>
> @app_info = [
>   "Ruby Version: #{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}",
>   "PostgreSQL Version: " + `psql --version`,
>   "Redis Version: " + `redis-server --version`]
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/discourse/discourse/pull/2190/files#r11030742>
> .
>