>
> I recently upgraded my test system from Cent 6.3 --> Cent 6.4.
>
> I am running:
>
> Puppet - v3.1
> Foreman - v1.1
> Ruby - v1.8.7.352
>
> Gem list:
>
You have rails 3.2 with foreman 1.1, rails 3.2 was only added at 1.2…
Ohad
> *** LOCAL GEMS ***
>
> abstract (1.0.0)
> actionmailer (3.2.12, 3.0.20, 3.0.17, 3.0.10)
> actionpack (3.2.12, 3.0.20, 3.0.17, 3.0.10)
> activemodel (3.2.12, 3.0.20, 3.0.17, 3.0.11, 3.0.10)
> activerecord (3.2.12, 3.0.20, 3.0.17, 3.0.11, 3.0.10)
> activeresource (3.2.12, 3.0.20, 3.0.17, 3.0.10)
> activesupport (3.2.12, 3.0.20, 3.0.17, 3.0.11, 3.0.10)
> acts_as_audited (2.0.0)
> ancestry (1.3.0)
> apipie-rails (0.0.13)
> arel (3.0.2, 2.0.10)
> audited (3.0.0.rc1)
> audited-activerecord (3.0.0.rc1)
> awesome_print (1.0.2)
> builder (3.0.4, 2.1.2)
> bundler (1.0.15)
> daemon_controller (1.1.1)
> erubis (2.7.0, 2.6.6)
> excon (0.14.0)
> fastthread (1.0.7)
> fog (1.9.0)
> foremancli (1.0)
> formatador (0.2.1)
> highline (1.4.0)
> hike (1.2.1)
> hirb (0.6.2)
> hirb-unicode (0.0.5)
> i18n (0.6.1, 0.5.0)
> journey (1.0.4)
> jquery-rails (1.0.19)
> json (1.6.8)
> mail (2.4.4, 2.3.3, 2.2.19)
> mime-types (1.18)
> multi_json (1.2.0)
> mysql (2.8.1)
> mysql2 (0.2.18)
> net-ldap (0.3.1)
> net-scp (1.0.4)
> net-ssh (2.3.0)
> nokogiri (1.5.2)
> oauth (0.4.7)
> passenger (3.0.19)
> polyglot (0.3.3)
> rabl (0.7.5)
> rack (1.4.5, 1.3.5, 1.2.5, 1.1.0)
> rack-cache (1.2)
> rack-mount (0.6.14)
> rack-ssl (1.3.3)
> rack-test (0.6.2, 0.5.7)
> rails (3.2.12, 3.0.20, 3.0.17, 3.0.10)
> railties (3.2.12, 3.0.20, 3.0.17, 3.0.10)
> rake (0.9.2.2)
> rbovirt (0.0.15)
> rbvmomi (1.5.1)
> rdoc (3.12)
> rest-client (1.6.7)
> ruby-hmac (0.4.0)
> ruby2ruby (2.0.1)
> ruby_parser (3.0.1)
> safemode (1.2.0)
> scoped_search (2.4.0)
> sexp_processor (4.1.2)
> sinatra (1.0)
> sprockets (2.2.2)
> sqlite3 (1.3.5)
> stomp (1.2.2)
> thor (0.14.6)
> tilt (1.3.3)
> treetop (1.4.10)
> trollop (1.16.2)
> tzinfo (0.3.32)
> unicode-display_width (0.1.1)
> uuidtools (2.1.1)
> will_paginate (3.0.3)
> wirb (0.4.2)
>
> The error I am receiving:
>
> Ruby (Rack) application could not be started
> These are the possible causes:
> There may be a syntax error in the application's code. Please check for
such errors and fix them.
> A required library may not installed. Please install all libraries that
this application requires.
> The application may not be properly configured. Please check whether all
configuration files are written correctly, fix any incorrect
configurations, and restart this application.
> A service that the application relies on (such as the database server or
the Ferret search engine server) may not have been started. Please start
that service.
> Further information about the error may have been written to the
application's log file. Please check it in order to analyse the problem.
> Error message:
> undefined method config' for #<Rails::Paths::Root:0x7ff727d4e6c8> > Exception class: > NoMethodError > Application root: > /usr/share/foreman > Backtrace: > # > File > Line > Location > 0 > /usr/share/foreman/config/application.rb > 22 > > 1 > /usr/share/foreman/config/environment.rb > 2 > in
require'
> 2
> /usr/share/foreman/config/environment.rb
> 2
>
> 3
> config.ru
> 3
> in require' > 4 > config.ru > 3 > > 5 > /usr/lib/ruby/gems/1.8/gems/rack-1.4.5/lib/rack/builder.rb > 51 > in
instance_eval'
> 6
> /usr/lib/ruby/gems/1.8/gems/rack-1.4.5/lib/rack/builder.rb
> 51
> in initialize' > 7 > config.ru > 1 > in
new'
> 8
> config.ru
> 1
>
> It was perfectly find before the update, please help
>
> Thanks!
>
> –
> You received this message because you are subscribed to the Google Groups
"Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.