On 8/14/07, <b class="gmail_sendername">James Britt</b> &lt;<a href="mailto:james.britt@gmail.com">james.britt@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi.&nbsp;&nbsp;I&#39;ve set up CruiseControl.rb with a Rails app using MasterView.<br><br>CruiseControl.rb is unhappy with MasterView.&nbsp;&nbsp;I can shell in to the<br>server where CruiseControl.rb lives, cd to the work directory for my<br>
project, and run &#39;rake&#39;, and it runs fine.&nbsp;&nbsp;But CruiseControl.rb<br>executes things in a somewhat roundabout way, and when it loads<br><br>&nbsp;&nbsp; vendor/plugins/masterview/lib/masterview/initializer.rb<br><br>that code seems not to know anything about ActionController, raising
<br><br>&nbsp;&nbsp; uninitialized constant MasterView::Configuration::ActionController</blockquote><div><br><br></div></div><br>James,<br><br>I made a simple fix to get around the ActionController problem with CruiseControl by just checking if it was defined. This seemed to resolve the problem.
<br><br>It&#39;s obvious that for some reason cruise control loads things differently than rails would otherwise we wouldn&#39;t have these issues, but regardless, the simple fix should solve the problem.<br><br>I have checked it into the trunk and will make it part of the next release.
<br><br>You can pull it from svn://rubyforge.org/var/svn/masterview/trunk/masterview<br><br>Let me know if this fixes the problem for you or if you have any additional issues.<br><br>Thanks,<br><br>Jeff<br><br><br><br clear="all">
<br>-- <br>Jeff Barczewski, MasterView core team<br>Inspired Horizons Ruby on Rails Training and Consultancy<br><a href="http://inspiredhorizons.com/">http://inspiredhorizons.com/</a>