Rubinius has a memory analysis tool which is started like this:
rbx -Xagent.start <script name>
se http://rubini.us/doc/en/tools/memory-analysis/
But how do I start a Ruby on Rails app for doing memory analysis?
rbx -Xagent.start rails server
does not do the trick!
For searching leaks in a Rails app what would you put for 'script name' ?
gem 'ruby-prof' is for MRI ruby RUBY_VERSION.between?('1.9.2', '2.0') only! So I assume this is the reason why rubinius has it's own tools/memory-analysis/ . I just do not understand how it is used in Rails.