Too slow

  • Thread starter coolgeng coolgeng
  • Start date
C

coolgeng coolgeng

[Note: parts of this message were removed to make it a legal post.]

Hi,
I founded a rails application on ruby 1.8.6 and rails 2.0.2, the database
was mysql. When I installed some gems, the speed of loading application page
become very slow except the index.rhtml. Did the installation of some gems
affect or changed some configuration of my application?Thanks in advance.
 
C

coolgeng coolgeng

[Note: parts of this message were removed to make it a legal post.]

If there is some problem, please let me know.
 
N

Nobuyoshi Nakada

Hi,

At Thu, 6 Mar 2008 11:49:37 +0900,
coolgeng coolgeng wrote in [ruby-talk:293662]:
I founded a rails application on ruby 1.8.6 and rails 2.0.2, the database
was mysql. When I installed some gems, the speed of loading application page
become very slow except the index.rhtml. Did the installation of some gems
affect or changed some configuration of my application?Thanks in advance.

Rubygems loads all of installed gemspec files at startup.
 
C

coolgeng coolgeng

[Note: parts of this message were removed to make it a legal post.]

Can I uninstall the Rubygems?

Hi,

At Thu, 6 Mar 2008 11:49:37 +0900,
coolgeng coolgeng wrote in [ruby-talk:293662]:
I founded a rails application on ruby 1.8.6 and rails 2.0.2, the database
was mysql. When I installed some gems, the speed of loading application page
become very slow except the index.rhtml. Did the installation of some gems
affect or changed some configuration of my application?Thanks in
advance.

Rubygems loads all of installed gemspec files at startup.
 
J

James Tucker

Windows?

Try gem cleanup to remove unneeded gems.

Also, try updating rubygems (gem update --system).

If on windows, try fsutil behavior set disablelastaccess 1. This helps
a little on some systems (depends on HD controller).

The first load of a 'page' (or more specifically, a controller) will
always be slower than subsequent loads, as it late loads (and reloads)
the files off of disk.
 
C

coolgeng coolgeng

[Note: parts of this message were removed to make it a legal post.]

I uninstall the gems. The commander is "gem uninstall name"

Windows?

Try gem cleanup to remove unneeded gems.

Also, try updating rubygems (gem update --system).

If on windows, try fsutil behavior set disablelastaccess 1. This helps
a little on some systems (depends on HD controller).

The first load of a 'page' (or more specifically, a controller) will
always be slower than subsequent loads, as it late loads (and reloads)
the files off of disk.
 
H

hemant kumar

Can I uninstall the Rubygems?

Not to offend, but just some basic things about asking questions on
USENET, programming language mailing lists and forums.

1. Do not top post. There have been religious wars about this, but most
of experienced guys don't like this.

2. Use google before asking. For example, you installed couple of gems
and your app got slow. See, if anyone had similar problem in past.

3. Use proper subject for your question. "Too Slow" is not enough.

4. Provide information about which operating system you are in. Which
version of softwares you are using and stuff like that.

Getting back to your question, are you running unpatched version of Ruby
1.8.6? It has serious bugs.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top