<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Plop Central: Speed up slow Rails development in vista</title>
    <link>http://www.plopcentral.com/articles/2008/07/02/rails-development-environment-slow-in-vista</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Yeah, right!</description>
    <item>
      <title>Speed up slow Rails development in vista</title>
      <description>&lt;p&gt;I&amp;#8217;ve been doing rails development on a Vista box recently and was annoyed by how slow script/server (running mongrel) was to respond.&lt;/p&gt;


	&lt;p&gt;I am aware that Windows is slower in general for running ruby / rails but this was slooooooow.&lt;/p&gt;


	&lt;p&gt;I normally start rails development server with the standard &amp;#8216;ruby script/server&amp;#8217; command&amp;#8230;&lt;/p&gt;


&lt;pre&gt;
C:\blah&amp;gt; ruby script\server
=&amp;gt; Booting Mongrel (use 'script/server webrick' to force WEBrick)
=&amp;gt; Rails application starting on http://0.0.0.0:3000
=&amp;gt; Call with -d to detach
=&amp;gt; Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
...

&lt;/pre&gt;

	&lt;p&gt;Notice that mongrel binds to 0.0.0.0 (as far as I remember, it used to bind to 127.0.0.1). This does work. But it is very slow, so I tried changing it to bind to 127.0.0.1&lt;/p&gt;


&lt;pre&gt;
C:\blah&amp;gt; ruby script\server -b 127.0.0.1
=&amp;gt; Booting Mongrel (use 'script/server webrick' to force WEBrick)
=&amp;gt; Rails application starting on http://127.0.0.1:3000
=&amp;gt; Call with -d to detach
=&amp;gt; Ctrl-C to shutdown server
** Starting Mongrel listening at 127.0.0.1:3000
** Starting Rails with development environment...
...

&lt;/pre&gt;

	&lt;p&gt;And guess what, a subjective 300-400% increase in responsiveness. This makes the whole development process much more pleasant.&lt;/p&gt;


	&lt;p&gt;Hope this helps someone.&lt;/p&gt;</description>
      <pubDate>Wed, 02 Jul 2008 00:22:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:d99eab74-0c5a-486f-b04f-2b26c2988fad</guid>
      <author>Paul McConnon</author>
      <link>http://www.plopcentral.com/articles/2008/07/02/rails-development-environment-slow-in-vista</link>
      <category>Coding</category>
      <category>Ruby</category>
      <category>Rails</category>
      <category>rails</category>
      <category>mongrel</category>
      <category>speed</category>
    </item>
    <item>
      <title>"Speed up slow Rails development in vista" by jitterfix.com</title>
      <description>sorry for the multiple posts.... blame my fat fingers and MS windows.  :-)</description>
      <pubDate>Mon, 21 Jul 2008 22:01:14 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:b348cf93-011f-4e18-b127-6aad75cddd7e</guid>
      <link>http://www.plopcentral.com/articles/2008/07/02/rails-development-environment-slow-in-vista#comment-2786</link>
    </item>
    <item>
      <title>"Speed up slow Rails development in vista" by jitterfix.com</title>
      <description>I'm using vim on Linux Ubuntu for my new laptop. 

I've recently discovered the vim-rails package and am really liking it. It's a collection of vim plugins that gives you many of the nice features that approach some of the TextMate functionality.</description>
      <pubDate>Mon, 21 Jul 2008 21:59:58 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:86cbaf24-9256-4b9a-8b70-9b6008dbe207</guid>
      <link>http://www.plopcentral.com/articles/2008/07/02/rails-development-environment-slow-in-vista#comment-2785</link>
    </item>
    <item>
      <title>"Speed up slow Rails development in vista" by jitterfix.com</title>
      <description>I'm using vim on Linux Ubuntu for my new laptop. 

I've recently discovered the vim-rails package and am really liking it. It's a collection of vim plugins that gives you many of the nice features that approach some of the TextMate functionality.</description>
      <pubDate>Mon, 21 Jul 2008 21:59:49 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:a976f2ee-be82-453b-975f-c26c2cbff4a1</guid>
      <link>http://www.plopcentral.com/articles/2008/07/02/rails-development-environment-slow-in-vista#comment-2784</link>
    </item>
    <item>
      <title>"Speed up slow Rails development in vista" by jitterfix.com</title>
      <description>I'm using vim on Linux Ubuntu for my new laptop. 

I've recently discovered the vim-rails package and am really liking it. It's a collection of vim plug ins that gives you many of the nice features that approach some of the TextMate functionality.</description>
      <pubDate>Mon, 21 Jul 2008 21:59:25 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:b35e1789-a45a-43e2-9698-fbd5b5e1b9b1</guid>
      <link>http://www.plopcentral.com/articles/2008/07/02/rails-development-environment-slow-in-vista#comment-2783</link>
    </item>
    <item>
      <title>"Speed up slow Rails development in vista" by Charles Roper</title>
      <description>For those of you on Linux, what editor do you use? I'm currently using E Text Editor on the PC and would use TextMate if I had a Mac.</description>
      <pubDate>Thu, 17 Jul 2008 08:57:56 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:c7fd6d06-a6fc-4911-be50-4f00fbfcdca2</guid>
      <link>http://www.plopcentral.com/articles/2008/07/02/rails-development-environment-slow-in-vista#comment-2782</link>
    </item>
    <item>
      <title>"Speed up slow Rails development in vista" by Paul Marsh</title>
      <description>Another vote for running Linux in a VM, simply setup Samba and you can use any Windows editor you'd like.

Even better match your VM's OS to the OS that you plan on deploying to and everyone wins.

Enjoy!</description>
      <pubDate>Mon, 14 Jul 2008 20:11:44 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:1dab43e1-dd60-47fa-963f-17880840bf1f</guid>
      <link>http://www.plopcentral.com/articles/2008/07/02/rails-development-environment-slow-in-vista#comment-2781</link>
    </item>
    <item>
      <title>"Speed up slow Rails development in vista" by Paul</title>
      <description>Guys, I do use ubuntu when I can, when I have to use Vista though, this does help.

P</description>
      <pubDate>Sun, 13 Jul 2008 19:56:09 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:3322d502-927e-4049-9d53-3d2955753bf3</guid>
      <link>http://www.plopcentral.com/articles/2008/07/02/rails-development-environment-slow-in-vista#comment-2780</link>
    </item>
    <item>
      <title>"Speed up slow Rails development in vista" by Pieter</title>
      <description>Or simply switch to Linux in a VM. I use Ubuntu in VMware to run Apache with Passenger for development. You could use the opensource VM VirtualBox as well of course.</description>
      <pubDate>Sat, 12 Jul 2008 08:55:48 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:adfce7e0-105f-4421-b740-9f246a1d64fe</guid>
      <link>http://www.plopcentral.com/articles/2008/07/02/rails-development-environment-slow-in-vista#comment-2779</link>
    </item>
    <item>
      <title>"Speed up slow Rails development in vista" by Pieter</title>
      <description>Or simply switch to Linux in a VM. I use Ubuntu in VMware to run Apache with Passenger for development. You could use the opensource VM VirtualBox as well of course.</description>
      <pubDate>Sat, 12 Jul 2008 08:55:44 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:f91c6223-43a1-4224-89a6-68fdab8bb36f</guid>
      <link>http://www.plopcentral.com/articles/2008/07/02/rails-development-environment-slow-in-vista#comment-2778</link>
    </item>
    <item>
      <title>"Speed up slow Rails development in vista" by Anil Wadghule</title>
      <description>Switch to Linux, that's the only recommended solution.
I use Ubuntu. It's proving the best.</description>
      <pubDate>Sat, 12 Jul 2008 06:03:45 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:7a24da96-0f9e-46ec-a60d-1b2049a68f95</guid>
      <link>http://www.plopcentral.com/articles/2008/07/02/rails-development-environment-slow-in-vista#comment-2777</link>
    </item>
    <item>
      <title>"Speed up slow Rails development in vista" by Aditya Sanghi</title>
      <description>Have you guys tried thin instead of mongrel? It doesnt really solve your problem of slow startup but i found a major boost in execution (in development mode). I'm using WinXP.</description>
      <pubDate>Thu, 10 Jul 2008 09:19:37 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:4eaabae9-39f4-4318-9dbe-ba1b203a5b0e</guid>
      <link>http://www.plopcentral.com/articles/2008/07/02/rails-development-environment-slow-in-vista#comment-2776</link>
    </item>
    <item>
      <title>"Speed up slow Rails development in vista" by supaspoida</title>
      <description>I recently switch over to running linux in a VM for any ruby tasks I need to do, while still using windows for editors, photoshop, etc. The speed increase was amazing, although I'm sure result vary based on the system used.</description>
      <pubDate>Thu, 10 Jul 2008 07:13:25 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:7bf47968-cdb8-48b8-b6d0-4656b3cc2f41</guid>
      <link>http://www.plopcentral.com/articles/2008/07/02/rails-development-environment-slow-in-vista#comment-2775</link>
    </item>
    <item>
      <title>"Speed up slow Rails development in vista" by Sabon</title>
      <description>True, launching the app is way too slow on Windows. Unfortunately the speed boost doesn't work on Win XP. It's still unbearably slow with 127.0.0.1 and restarting the server (which should take a few seconds) is done only as a necessity.
This makes me switch to either Linux of Mac for development.</description>
      <pubDate>Wed, 09 Jul 2008 22:39:08 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:e404b983-9b15-478f-b2bf-d4291c713d78</guid>
      <link>http://www.plopcentral.com/articles/2008/07/02/rails-development-environment-slow-in-vista#comment-2774</link>
    </item>
  </channel>
</rss>
