Starting Server from RubyMine 7 result in extremely slow page loads

I'm working on my app with the local development server

OS X Yosemite 10.10 (14A389)
Ruby 2.1.5
Rails 4.1.1

Thin web server (v1.6.2 codename Doc Brown)

Maximum connections set to 1024

When i start the server in run mode or debug mode inside RubyMine 7.0.2: i see an average page load time of 27 seconds
When i start the server using $ rails server from bash: i see an average page load time of 1.5 seconds

RubyMine is using the default thin server defined in the Gemfile

It makes debugging quite time consuming.

Is this expected behavior?

is there a way to improve page load time when serving though RubyMine?

1 comment
Comment actions Permalink

Hi,

the slowness of debugging with ruby 2.1.3-2.1.5 is a known bug in Ruby, which was fixed in 2.2.0, so you should either try 2.1.2 or 2.2.0 to see if this is the same issue.

Regrds, Oleg.

0

Please sign in to leave a comment.