Include FileUtils raises an error

Posted by Bilal Aslam on Stack Overflow See other posts from Stack Overflow or by Bilal Aslam
Published on 2010-03-13T01:43:18Z Indexed on 2010/03/13 1:47 UTC
Read the original article Hit count: 398

I am trying to install CruiseControl.rb on an Amazon EC2 instance. I get this error in the mongrel log:

/data/cruisecontrol/releases/20100313003145/vendor/rails/activesupport/lib/active_support/dependencies.rb:105:in `const_missing': uninitialized constant ProjectsMigration::FileUtils (NameError)

This error is raised in a file called projects_migration.rb: http://gist.github.com/331025. Check out line 3, which I have commented out. If you remove the comment-out, you will get this error as well. The weird part: from ruby script/console I can include FileUtils just fine!

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about cruisecontrol.rb