speeding up dev mode

7 views
Skip to first unread message

nahum

unread,
Jul 19, 2011, 4:53:18 PM7/19/11
to wellr...@googlegroups.com
Does anyone have experience with the following:


I've tried similar tools in the past that have caused more trouble than they were worth.


--nahum


Y. Thong Kuah

unread,
Jul 19, 2011, 4:55:29 PM7/19/11
to wellr...@googlegroups.com
Not for me personally, but I'm curious as to why dev mode + cache_classes = true as needed is not sufficient? 

--
You received this message because you are subscribed to the Google Groups "WellRailed" group.
To view this discussion on the web visit https://groups.google.com/d/msg/wellrailed/-/xi8tNmz5SgEJ.
To post to this group, send email to wellr...@googlegroups.com.
To unsubscribe from this group, send email to wellrailed+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wellrailed?hl=en.



--
Best regards,
Y. Thong Kuah


Nahum Wild

unread,
Jul 19, 2011, 6:01:49 PM7/19/11
to wellr...@googlegroups.com
Doing that is fine if you don't make coding changes - otherwise you have to manually restart your app to load the changes. These plugins are ment to be smart and only do that for files which change between requests making the app in dev mode faster.

--nahum

Michael Koziarski (nzkoz)

unread,
Jul 19, 2011, 6:58:24 PM7/19/11
to WellRailed
> Doing that is fine if you don't make coding changes - otherwise you have to
> manually restart your app to load the changes. These plugins are ment to be
> smart and only do that for files which change between requests making the
> app in dev mode faster.

It's essentially impossible to do this reliably, those plugins do a
pretty good job of making it 'mostly' work, but you'll still hit
things which break randomly or don't reload. The FAQ for rails-dev-
boost has some examples of the things which can't work right.

Also make sure you're not using a gem version with this problem:

https://github.com/rubygems/rubygems/issues/99

Or a ruby with this problem:

http://www.rubyinside.com/ruby-1-9-3-faster-loading-times-require-4927.html

Reply all
Reply to author
Forward
0 new messages