On Aug 4, 2007, at 12:46 PM, Dusty Doris wrote:
> forgot to cc the list
>
>
> On 8/4/07, Duane Johnson <canadaduane at gmail.com> wrote:
>> I didn''t quite see a direct answer to Matt''s question
regarding
>> running merb from SVN:
>> http://rubyforge.org/pipermail/merb-devel/2007-July/
>> 000132.html
>>
>> In a merb application, is there something comparable to having rails
>> in the vendor/ folder of a rails app?
>>
>> Thanks,
>>
>
> I don''t know if there is something like that, but you can just
> install edge.
>
> $ svn co http://svn.devjavu.com/merb/trunk merb
> $ cd merb
> $ rake install
>
> That will install trunk as a gem on your system.
Yes there are some built in rake tasks for freezing the framework:
rake merb:freeze # freeze the merb framework from installed
gem into dist/framework for portability
rake merb:freeze_from_svn # freeze the merb framework from svn trunk
rake merb:unfreeze # unfreeze this app from the framework and
use system gem.
So merb:freeze_from_svn will freeze the current trunk into your app.
When you freeze merb into your app you need to use script/merb
instead of plain old merb to start your server.
Cheers-
-- Ezra Zygmuntowicz
-- Founder & Ruby Hacker
-- ez at engineyard.com
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)