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
Related Q & A:
- How could I reduce the length of the code?Best solution by Code Review
- How do I reduce the font on My Yahoo page?Best solution by Yahoo! Answers
- How can I reduce font size?Best solution by Stack Overflow
- How do I set up windows 03 server as a server?Best solution by Yahoo! Answers
- How do I find my e-mail server and the outgoing server so I can e-mail?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.