On 6 July 2011 12:23, Evan C <[email protected]> wrote: > I recently switched from REE to ruby 1.9.2 and I was shocked by how > long it takes for rails to startup. This isn't as much of an issue in > production, but in development and test environments it's almost > unusable because it's killing my workflow. > > for example, sometimes I need to run a single test or play around in > the console. I've made sure I'm only loading gems I need and I've > switched to the RVM patched version of 1.9.2 which is a big help. > I'm also using spork for my tests. However, it still takes 20 + > seconds to load a console. Also, spork is fantastic for unit and > functional tests but can't be used for integration tests because spork > requires config.cache_classes to be set to false, but integration > tests are painfully slow with that setting. > > Is there anything else I can do to speed up the startup time, > especially in the development environment?
I have stuck with ruby 1.8.7 for exactly this reason. There was a thread on rails core about this [1] but I do not know if anything came of it. [1] http://groups.google.com/group/rubyonrails-core/browse_thread/thread/88519ef5a53088a1/c01ba447c6dc0de7?lnk=raot&pli=1 Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

