or the way that I do it is... svn checkout to /usr/local/src/merb make the changes to the source as needed and then gem uninstall and rake install again... extra steps but it works. :)<br><br>HTH,<br><br>rogelio<br><br><div>
<span class="gmail_quote">On 3/13/07, <b class="gmail_sendername">Ezra Zygmuntowicz</b> &lt;<a href="mailto:ez@engineyard.com">ez@engineyard.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On Mar 13, 2007, at 10:56 AM, Luke Francl wrote:<br><br>&gt; Stupid question, but is there a way to run merb locally, without<br>&gt; installing it as a gem? I don&#39;t mean freezing it into a merb app,<br>&gt; but checking out merb and being able to run it without installing
<br>&gt; the gem first.<br>&gt;<br>&gt; The reason I ask is that I&#39;m working on some debugging stuff and<br>&gt; it&#39;d be helpful to be able to modify the source code, run it,<br>&gt; modify, run, and so on. (And yes, I am writing tests. ;-)
<br>&gt;<br>&gt; Thanks,<br>&gt; Luke Francl<br><br><br>Hey Luke-<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;There is not really a way to do that without installing the gem<br>first. You have to build the gem and then freeze the framework into<br>your app. Then you can modify it easily. This is how I work with it.
<br><br>$ rake install&nbsp;&nbsp;#builds the gem and installs<br><br># from your merb_root, not dist_root<br>$ rake freeze:merb<br><br>Then you need to use<br><br>$ script/merb<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Then you can uninstall the gem. This will create a dist/framework
<br>directory with the entire merb framework in it and you can modify it<br>and use it without needing to rebuild gems all the time.&nbsp;&nbsp;ALso if you<br>do this to yoru app once, it creates the script/merb stub for you and<br>
makes the framework dir. You could then delete the framework dir and<br>do a frsh svn co of trunk into your dist/fraemwork dir. That way if<br>you make changes and want to send a patch its easy.<br><br>Cheers-<br>-- Ezra Zygmuntowicz
<br>-- Lead Rails Evangelist<br>-- <a href="mailto:ez@engineyard.com">ez@engineyard.com</a><br>-- Engine Yard, Serious Rails Hosting<br>-- (866) 518-YARD (9273)<br><br><br>_______________________________________________<br>
Merb-devel mailing list<br><a href="mailto:Merb-devel@rubyforge.org">Merb-devel@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/merb-devel">http://rubyforge.org/mailman/listinfo/merb-devel</a><br></blockquote>
</div><br>