Where are the ruby, rails and other commands stored?

During the PowerRuby install, symbolic links are created in /QOpenSys/usr/bin that point to /PowerRuby/prVxRy/bin so all Ruby and Rails commands are available without having to do custom export statements after logging into a shell.

 The "prVxRy" is expounded below:

  • prV1R9 = Ruby 1.9.3 + Rails 3.2.x 
  • prV2R0 = Ruby 2.0.x + Rails 4.0.x
  • prV2R1 = Ruby 2.1.x + Rails 4.0.x

Learn more about PowerRuby versions here.