Clay
July 19, 2012, 5:03pm
#1
thanks for the reply.
rubygem-acts_as_audited is installed by foreman. and bundle install as
foreman user failed also.
[root@puppet foreman]# rpm -e rubygem-acts_as_audited
error: Failed dependencies:
rubygem(acts_as_audited) = 2.0.0 is needed by (installed)
foreman-1.0.0-0.7.el6.noarch
[root@puppet foreman]# su - foreman -s /bin/bash
-bash-4.1$ bundle install --local
Could not find gem 'audited-activerecord (= 3.0.0.rc1) ruby' in the gems
available on this machine.
Clay
If you don't have the gem locally then you will need to run:
sudo su foreman --shell=/bin/bash && cd /usr/share/foreman && bundle install
That should correct the issue.
-Sam
···
On Thu, Jul 19, 2012 at 1:03 PM, Clay wrote:
thanks for the reply.
rubygem-acts_as_audited is installed by foreman. and bundle install as
foreman user failed also.
[root@puppet foreman]# rpm -e rubygem-acts_as_audited
error: Failed dependencies:
rubygem(acts_as_audited) = 2.0.0 is needed by (installed)
foreman-1.0.0-0.7.el6.noarch
[root@puppet foreman]# su - foreman -s /bin/bash
-bash-4.1$ bundle install --local
Could not find gem ‘audited-activerecord (= 3.0.0.rc1) ruby’ in the gems
available on this machine.
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/-/wHOSoDYzD9gJ .
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 .
> If you don't have the gem locally then you will need to run:
>
> sudo su foreman --shell=/bin/bash && cd /usr/share/foreman && bundle
> install
>
> That should correct the issue.
>
if you are using rpms, then you sure run bundle with --local (not to fetch
any new gem from the net)
Ohad
···
On Thu, Jul 19, 2012 at 8:04 PM, Sam Kottler wrote:
-Sam
On Thu, Jul 19, 2012 at 1:03 PM, Clay clay.ye@gmail.com wrote:
thanks for the reply.
rubygem-acts_as_audited is installed by foreman. and bundle install as
foreman user failed also.
[root@puppet foreman]# rpm -e rubygem-acts_as_audited
error: Failed dependencies:
rubygem(acts_as_audited) = 2.0.0 is needed by (installed)
foreman-1.0.0-0.7.el6.noarch
[root@puppet foreman]# su - foreman -s /bin/bash
-bash-4.1$ bundle install --local
Could not find gem ‘audited-activerecord (= 3.0.0.rc1) ruby’ in the gems
available on this machine.
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/-/wHOSoDYzD9gJ .
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 .
–
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
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 .