Could not find gem 'audited-activerecord ' error when starting foreman-1.0.0-0.7

> Hi,
> I just upgraded foreman to 1.0.0-0.7 on my puppet server,
> [root@puppet ~]# rpm -qa|grep audited
> rubygem-audited-3.0.0.rc1-1.el6.noarch
> rubygem-audited-activerecord-3.0.0.rc1-1.el6.noarch
> rubygem-acts_as_audited-2.0.0-1.el6.noarch
>

I'm not sure how you got acts_as_audited, as it should have been obsoluted
byt rubygem-audited, try removing it.

you might need to
su - foreman -s /bin/bash
bundle install --local

and probably also
RAILS_ENV=production bundle exec rake db:migrate

Ohad

··· On Thu, Jul 19, 2012 at 1:38 AM, Clay wrote:

(already tried reinstalling the above packages)

[root@puppet ~]# rpm -q foreman
foreman-1.0.0-0.7.el6.noarch

[root@puppet ~]# service foreman start
Starting foreman:
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/resolver.rb:287:in
resolve': Could not find gem 'audited-activerecord (= 3.0.0.rc1) ruby' in the gems available on this machine. (Bundler::GemNotFound) from /usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/resolver.rb:161:instart’
from
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/resolver.rb:128:in
resolve' from /usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/resolver.rb:127:incatch’
from
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/resolver.rb:127:in
resolve' from /usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/definition.rb:192:inresolve’
from
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/definition.rb:127:in
specs' from /usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/definition.rb:172:inspecs_for’
from
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/definition.rb:161:in
requested_specs' from /usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/environment.rb:23:inrequested_specs’
from
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/runtime.rb:11:in
setup' from /usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler.rb:107:insetup’
from /usr/share/foreman/config/boot.rb:14
from /usr/share/foreman/script/rails:5:in `require’
from /usr/share/foreman/script/rails:5

the host is 64-bit RHEL 6.3 and ruby version is 1.8.7

here’s the gem list:
*** LOCAL GEMS ***

actionmailer (3.2.6)
actionpack (3.2.6)
activemodel (3.2.6)
activerecord (3.2.6)
activeresource (3.2.6)
activesupport (3.2.6, 3.0.0)
arel (3.0.2, 1.0.1)
builder (3.0.0, 2.1.2)
bundler (1.1.4)
daemon_controller (1.0.0)
erubis (2.7.0)
fastthread (1.0.7)
hike (1.2.1)
i18n (0.6.0, 0.4.2)
journey (1.0.4)
json (1.7.3)
mail (2.4.4)
mime-types (1.19)
multi_json (1.3.6)
passenger (3.0.13)
polyglot (0.3.3)
rack (1.4.1, 1.1.2)
rack-cache (1.2)
rack-mount (0.8.3)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.2.6)
railties (3.2.6)
rake (0.9.2.2)
rdoc (3.12)
sprockets (2.1.3)
stomp (1.2.2)
systemu (2.5.2)
thor (0.15.4)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.33)

any suggestions ? thanks.

Clay


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/foreman-users/-/XmAoxzZxhXoJ.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.