I am having a terrible time with these packages coming from your 0.5
packages:
[root@per5-ops-foreman1 config]# su - foreman -s /bin/bash -c
/usr/share/foreman/extras/dbmigrate
Libvirt binding are missing - hypervisor management is disabled
/usr/lib/ruby/gems/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:10:
warning: already initialized constant ENC_NONE
/usr/lib/ruby/gems/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:11:
warning: already initialized constant ENC_EUC
/usr/lib/ruby/gems/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:12:
warning: already initialized constant ENC_SJIS
/usr/lib/ruby/gems/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:13:
warning: already initialized constant ENC_UTF8
WARNING: This version of mysql2 (0.3.11) doesn't ship with the ActiveRecord
adapter bundled anymore as it's now part of Rails 3.1
WARNING: Please use the 0.2.x releases if you plan on using it in Rails <=
3.0.x
rake aborted!
no such file to load – audited
For some reason the audited gem won't load for me at all:
[root@per5-ops-foreman1 config]# rpm -qa | grep audit
rubygem-audited-activerecord-3.0.0.rc1-1.el6.noarch
rubygem-audited-3.0.0.rc1-1.el6.noarch
rubygem-acts_as_audited-2.0.0-1.el6.noarch
Do you have any ideas on what I can try? I'm dead in the water until I
work out how to fix this, feeling a bit worried at the moment!
···
On Thursday, July 5, 2012 8:20:01 PM UTC-4, Jason Montleon wrote:
>
> x86 packages are available for RHEL5, RHEL6, F16, and F17. A new version
> of foreman-release (1.0.0-0.6) has been dropped in place that points to the
> packages for the correct architecture.
>
>
> http://theforeman.org/projects/foreman/wiki/RPM's_distribution_based_installation
> http://yum.theforeman.org/development/
>
> http://yum.theforeman.org/development/el5/foreman-release.rpm
> http://yum.theforeman.org/development/el6/foreman-release.rpm
> http://yum.theforeman.org/development/f16/foreman-release.rpm
> http://yum.theforeman.org/development/f17/foreman-release.rpm
>
> Nightly builds are also being created for x86 now as well
>
>
Just for anyone else who has a similar problem - I found the solution:
rpm -e rubygem-audited-activerecord-3.0.0.rc1-1.el6.noarch
rubygem-audited-3.0.0.rc1-1.el6.noarch
rubygem-acts_as_audited-2.0.0-1.el6.noarch --nodeps
yum install rubygem-audited rubygem-audited-activerecord
rubygem-acts_as_audited
Basically forcing it to remove and reinstall all three fixed the problem,
whatever it was.
···
On Monday, July 9, 2012 10:02:15 AM UTC-4, Ashley Penney wrote:
>
> I am having a terrible time with these packages coming from your 0.5
> packages:
>
> [root@per5-ops-foreman1 config]# su - foreman -s /bin/bash -c
> /usr/share/foreman/extras/dbmigrate
> Libvirt binding are missing - hypervisor management is disabled
> /usr/lib/ruby/gems/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:10:
> warning: already initialized constant ENC_NONE
> /usr/lib/ruby/gems/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:11:
> warning: already initialized constant ENC_EUC
> /usr/lib/ruby/gems/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:12:
> warning: already initialized constant ENC_SJIS
> /usr/lib/ruby/gems/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:13:
> warning: already initialized constant ENC_UTF8
> WARNING: This version of mysql2 (0.3.11) doesn't ship with the
> ActiveRecord adapter bundled anymore as it's now part of Rails 3.1
> WARNING: Please use the 0.2.x releases if you plan on using it in Rails <=
> 3.0.x
> rake aborted!
> no such file to load -- audited
>
> For some reason the audited gem won't load for me at all:
>
> [root@per5-ops-foreman1 config]# rpm -qa | grep audit
> rubygem-audited-activerecord-3.0.0.rc1-1.el6.noarch
> rubygem-audited-3.0.0.rc1-1.el6.noarch
> rubygem-acts_as_audited-2.0.0-1.el6.noarch
>
> Do you have any ideas on what I can try? I'm dead in the water until I
> work out how to fix this, feeling a bit worried at the moment!
>
> On Thursday, July 5, 2012 8:20:01 PM UTC-4, Jason Montleon wrote:
>>
>> x86 packages are available for RHEL5, RHEL6, F16, and F17. A new version
>> of foreman-release (1.0.0-0.6) has been dropped in place that points to the
>> packages for the correct architecture.
>>
>>
>> http://theforeman.org/projects/foreman/wiki/RPM's_distribution_based_installation
>> http://yum.theforeman.org/development/
>>
>> http://yum.theforeman.org/development/el5/foreman-release.rpm
>> http://yum.theforeman.org/development/el6/foreman-release.rpm
>> http://yum.theforeman.org/development/f16/foreman-release.rpm
>> http://yum.theforeman.org/development/f17/foreman-release.rpm
>>
>> Nightly builds are also being created for x86 now as well
>>
>>