I have two major problems with Rails console within Netbeans 6.5 beta
on my Mac PPC system 10.4.11, java 5.
I - It takes a huge amount of time to fire the Rails console.
(as if takes an even more huge amount of time to fire Netbeans,
create any project, especially ruby ones, and use rake tasks and
But outside of Netbeans, it is almost immediate, so maybe there is
something in the way which slows down Netbeans.
I’ve made some tests:
A - from inside Netbean:
1 - After 12 seconds, I get this line:
Loading development environment (Rails 2.1.0)
2 - After 36 seconds (that is: 36 - 12 = 24 seconds to load), I get
JRuby limited openssl loaded. gem install jruby-openssl for full
3 -After 43 seconds (that is: 43 - 36 = 7 seconds to load), I get
B - From the terminal, using the JRuby inside Netbeans:
Same as A, except step 3:
After 42 seconds (that is: 42 - 36 = 6 seconds to load), I get this
C - From the terminal, using MRI JRuby installed in /usr/local/bin
Step 1: 1 second
Not step 2
Step 3: 7 seconds
Total: 8 seconds
Is there any way to speed up the startup of the Rails console, some
switch to pass or so?
2 - The Rails console does not seem to take care of changes in models
after a few minutes.
It seems to freeze the code, which makes it extremely difficult to test.
I’ve also noted this kind of behaviour outside of Netbeans, but it
takes hours to do so, which is not so bad.
Is this a known issue, or is there some way to avoid this?
I’d be grateful if someone could help me solve those problems.