How many rake tasks can be run at once in rails?

How do I reduce my Rails console, server and tasks load time?

  • In my rails app i have localised all my gems in order to prevent  installation and isolate the gems to my application. The gemfile has the  path mentioned in front of every gem. Its is on rails 3.0.20 and uses  bundler. For every command we run it with ./bundle exec (the ./ is to make sure it uses the bundle config from my app if I am not wrong) This  takes hell a lot of time to load everything. What can be done to  improve the load time. By load time I mean running of tasks, starting  server, opening console and all of that. I want to achieve this while having the gems in my local app itself.

  • Answer:

    try Spring Gem, itz awesome and reduces the load time by almost 2/3rd. It speeds up development by keeping your application running in the background so you don't need to boot it every time you run a test, rake task or migration. To install follow instructions from below link : https://github.com/rails/spring

Amit Karsale at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.