Hi,
I am using ruby-prof on mac os 10.7
with
ruby-prof (0.10.8)
gcc version 4.2.1
ruby 1.8.7
I have got following error while setting Measurements.
‘measure_mode=’: no implicit conversion from nil to integer
at following line
RubyProf.measure_mode=RubyProf::MEMORY
I tried to print RubyProf::MEMORY constants value and it gives “nil”
value.
I think this constant not get initialized because of some reasons.
Also following constants also returns null value.
RubyProf::ALLOCATIONS
RubyProf::MEMORY
RubyProf::GC_RUNS
RubyProf::GC_TIME
Any idea to get them set properly?