Fwd: Re: [Ovirt-devel] problem with ovirt-mongrel-rails on rails 2.3
dima vasiletc
pronix.service at gmail.com
Thu Jun 18 18:00:07 UTC 2009
temporary fix
write in ./config/environment.rb
RAILS_GEM_VERSION = '2.1.1' unless defined? RAILS_GEM_VERSION
and "gem install rails --version"=2.1.1""
> I've figured out fixes for the installer portion for ovirt on Fedora
> 11 just running into this problem currently with the
> ovirt-mongrel-rails service, It will start but there are errors in the
> log and can't access /ovirt in the browser. Just wanted to get some
> input, I've tried a few fixes from google with no success and I'm no
> rails expert :)
>
> ** Daemonized, any open files are closed. Look at
> /var/run/ovirt-server/mongrel.pid and
> /var/log/ovirt-server/mongrel.log for info.
> ** Starting Mongrel listening at 127.0.0.1:3000
> ** Initiating groups for "ovirt":"ovirt".
> ** Changing group to "ovirt".
> ** Changing user to "ovirt".
> ** Starting Rails with production environment...
> ** Mounting Rails at /ovirt...
> Creating field with name
> Creating field with owners
> Creating field with depth
> Creating field with virt_file_size
> Creating field with virt_path
> Creating field with xml_file
> Creating field with virt_bridge
> Creating field with file
> Creating field with parent
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:440:in
> `load_missing_constant': uninitialized constant
> ActionController::AbstractRequest (NameError)
> from
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80:in
> `const_missing'
> from
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:151:in
> `rails'
> from
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:113:in
> `cloaker_'
> from
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:149:in
> `call'
> from
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:149:in
> `listener'
> from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:99:in
> `cloaker_'
> from
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in
> `call'
> from
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in
> `initialize'
> from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in
> `new'
> from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in
> `run'
> from
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in
> `run'
> from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
> from /usr/bin/mongrel_rails:19:in `load'
> from /usr/bin/mongrel_rails:19
>
> _______________________________________________
> Ovirt-devel mailing list
> Ovirt-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/ovirt-devel
>
--
С уважением, Дмитрий
More information about the ovirt-devel
mailing list