在一个rails 应用中，都会遇到优化的问题。 （ 跟java不太一样。呵呵） ( every Rails app will meet the performance optimization problems when or before it is being delivered. -- which is not the same with JAVA, as far as I know, it is much less things to do for java app. )

而我最近遇到了一个问题，就是发现，不同的rails app占用的内存不一样。似乎这个问题主要由rubygems引起的。(recently I met a problem that different rails applications consume different memories, and it seems that the root cause of this problem is the rubygems )

# gems used only for test/dev purpose
group :test, :development do
gem "rspec-rails", ">= 2.5.0"
gem 'factory_girl', '2.6.4'
gem 'factory_girl_rails'
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
end