./script/about with ruby 1.9.1

Hi In my machine there is Ruby1.8.6 ,1.9.1 and rails 2.3.2 And I created
a new project using Ruby1.9.1 and rails 2.3.2 But when did
./script/about it shows
Ruby version 1.8.6 (i386-linux)
RubyGems version 1.3.1

   Why this happens

Thanks in advance
Sijo

Hi In my machine there is Ruby1.8.6 ,1.9.1 and rails 2.3.2 And I created
a new project using Ruby1.9.1 and rails 2.3.2 But when did
./script/about it shows
Ruby version 1.8.6 (i386-linux)
RubyGems version 1.3.1

Why this happens

If you have multiple versions of ruby installed then how you choose
which one is used may vary. the scripts that come with ruby usually
have
#!/usr/bin/env ruby
which searches $PATH in the usual way. If for example you have ruby
1.9 installed in such a way that ruby19 is the ruby 1.9 interpreter
(and irb19 the 1.9 version of irb etc.) then you need to either change
the shebang line or invoke ruby explicitly (ie ruby19 script/about)

Fred

Fred

Hi, the performance you'll see is for Ruby code execution. You can
try running the Rails tests or the Ruby spec tests. Also, you can try
using Apache Bench with concurrency greater than 4 targeting pages
which require more Ruby code execution paths.

Good luck,

-Conrad