On Thu, Jan 26, 2012 at 3:33 PM, Gmoney <greg.caldwe...@gmail.com> wrote:
> I have been trying to follow the bootstrap instructions for installing
> puppet-dashboard. I keep getting error about rubyge(rake) and
> rubygems.  I'd appreciate any help or corrections, thanks in advance.
>
> ruby-libs-1.8.7.299-4.el6.x86_64
> ruby-1.8.7.299-4.el6.x86_64
>
> These are some installation steps I took.
>
> rvm tools rvm-env ruby bash
> rvm install 1.8.7
>
> yum install ruby
>
> downloaded rubygems from:
> http://rubygems.org/pages/download
>
> gem install rubygems-update
>
> LD_LIBRARY_PATH=/usr/local/rvm/src/ruby-1.8.7-p357:$PATH
> export LD_LIBRARY_PATH
> gem install mysql-2.8.1.gem
>
>
> install rake:
> git clone g...@github.com:gmoneyice/rake
> cd /root/ruby
> gem install rake
>
>
>
>
> Here is the error:
>
> yum install puppet-dashboard
> Loaded plugins: rhnplugin
> This system is not registered with RHN.
> RHN support will be disabled.
> Setting up Install Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package puppet-dashboard.noarch 0:1.2.4-1.el6 set to be updated
> --> Processing Dependency: ruby-mysql for package: puppet-
> dashboard-1.2.4-1.el6.noarch
> --> Processing Dependency: rubygem(rake) for package: puppet-
> dashboard-1.2.4-1.el6.noarch
> --> Processing Dependency: rubygems for package: puppet-
> dashboard-1.2.4-1.el6.noarch
> --> Running transaction check
> ---> Package puppet-dashboard.noarch 0:1.2.4-1.el6 set to be updated
> --> Processing Dependency: rubygem(rake) for package: puppet-
> dashboard-1.2.4-1.el6.noarch
> --> Processing Dependency: rubygems for package: puppet-
> dashboard-1.2.4-1.el6.noarch
> ---> Package ruby-mysql.x86_64 0:2.8.2-1.el6 set to be updated
> --> Finished Dependency Resolution
> Error: Package: puppet-dashboard-1.2.4-1.el6.noarch (puppetlabs-
> products)
>           Requires: rubygem(rake)
> Error: Package: puppet-dashboard-1.2.4-1.el6.noarch (puppetlabs-
> products)
>           Requires: rubygems
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest

You're mixing native packaging and ruby/source bits quite a bit.
You'll likely have better luck doing it all one way or the other.

On EL6, I normally don't use rvm.

Just

yum install puppet-dashboard  (You might need EPEL setup as well for
dependencies).

If you're using RHEL (actual RHEL), be sure you have the 'optional'
channels enabled, as those have rubygem-rake, and rubygems, I think.


Mike


>
> --
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to