Jo Rhett <jrhett <at> netconsonance.com> writes: > > I suspect you have an incorrect environment variable somewhere: you have lib being a subdirectory of lib, and there's no directory "delayed". That's the problem. The path to that library is actually ~puppet-dashboard/vendor/rails/railties/lib/ tasks/rails.rb > I am using the exact same environment you listed, exact same versions from RPMs as you listed. No problems. > > Are you certain you don't have local gems installed as well which are confusing the issue? > > > On Oct 11, 2012, at 1:13 PM, Tim Gendorf wrote: > I have been working on this issue for almost 5 days and can not get past this error.Puppet Dashboard is installed via RPM from puppetlabs. I have tried versions1.2.12, 1.2.9 and am currently on 1.2.1.Regardless of the version, I get the same exact error every time I run rake RAILS_ENV=production db:migrate.(in /usr/share/puppet-dashboard)rake aborted!no such file to load -- /usr/share/puppet-dashboard/lib/lib/delayed/ tasks/usr/share/ puppet-dashboard/Rakefile:11(See full trace by running task with --trace)Line 11 of the Rakefile says require 'tasks/rails'Here is the trace:(in /usr/share/ puppet-dashboard) rake aborted!no such file to load -- /usr/share/puppet-dashboard/lib/lib/delayed/ tasks/usr/lib/ruby/ site_ruby/1.8/rubygems/custom_require.rb:31: in `gem_original_require'/usr/lib/ruby/site_ruby/ 1.8/rubygems/custom_require.rb:31:in`require'/usr/share/ puppet-dashboard/ vendor/rails/activesupport/lib/active_support/ dependencies.rb:182: in`require'/usr/share/puppet-dashboard/vendor/ rails/activesupport/lib/active_support/dependencies.rb:547: in`new_constants_in'/usr/ share/puppet-dashboard/vendor/rails/ activesupport/lib/ active_support/dependencies.rb:182:in`require'/ usr/share/ puppet-dashboard/lib/tasks/jobs.rake:1/usr/share/ puppet-dashboard/vendor/rails/activesupport/ lib/active_support/dependencies.rb:171: in`load_without_new_constant_marking'/usr/ share/puppet-dashboard/ vendor/rails/activesupport/lib/active_support/ dependencies.rb:171:in`load'/usr/share/ puppet-dashboard/ vendor/rails/activesupport/lib/active_support/ dependencies.rb:547: in`new_constants_in'/usr/share/puppet-dashboard/ vendor/rails/ activesupport/lib/active_support/dependencies.rb: 171: in`load'/ usr/share/puppet-dashboard/vendor/rails/railties/ lib/ tasks/ rails.rb:14/usr/share/puppet-dashboard/vendor/ rails/ railties/lib/tasks/rails.rb:14:in `each'/usr/share/puppet-dashboard/vendor/rails/ railties/lib/ tasks/rails.rb:14/usr/lib/ruby/site_ruby/1.8/ rubygems/ custom_require.rb:31:in `gem_original_require'/usr/lib/ruby/site_ruby/1.8/ rubygems/custom_require.rb:31:in`require'/usr/share/ puppet-dashboard/ Rakefile:11/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/ lib/ rake.rb:2382:in`load'/usr/lib/ruby/gems/1.8/gems/ rake-0.8.7/lib/rake.rb:2382:in`raw_load_rakefile'/ usr/lib/ruby/gems/1.8/ gems/rake-0.8.7/lib/rake.rb:2016:in`load_rakefile'/ usr/lib/ ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067: in`standard_exception_handling'/usr/lib/ruby/gems/ 1.8/gems/ rake-0.8.7/lib/rake.rb:2015:in`load_rakefile'/usr/ lib/ruby/ gems/1.8/gems/rake-0.8.7/lib/rake.rb:1999:in`run'/ usr/lib/ ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067: in`standard_exception_handling'/usr/lib/ruby/gems/ 1.8/gems/ rake-0.8.7/lib/rake.rb:1997:in`run'/usr/lib/ruby/ gems/1.8/ gems/rake-0.8.7/bin/rake:31/usr/bin/rake:19:in `load'/usr/bin/rake:19I am running the following versions: Centos 6.3 x86_64 (Fresh Install)ruby 1.8.7rubygems 1.3.7rake 0.8.7 rack 1.1.0 mysql-server 5.1.61I have read through several blogs and web pages on installation issues and cannot find an answer as to how to get past this error. Any help or suggestions would be great.-- 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 <at> googlegroups.com.To unsubscribe from this group, send email to puppet-users+unsubscribe <at> googlegroups.com. For more options , visit this group at http://groups.google.com/group/ puppet-users?hl=en. > > > > -- > Jo RhettNet Consonance : net philanthropy to improve open source and internet projects. > > > > >
Jo, Thanks for the response. I went in and did find that I did have local gem's installed the same as the rpm's. I removed the local gems and it removed rake, which now won't launch the rake RAILS_ENV=production db:migrate command. If I try to remove the rubygem-rake rpm, it will remove puppet-dashboard. I will work on that issue. I am curious if it is better to have the local gems rather than the rpm's installed. I Will have to research that idea. Any other hints you may have would be appreciated. Thanks! Tim Gendorf -- 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.