Package: ruby-railties

"ruby-railties" package binaries on Debian:

/usr/bin/rails /usr/lib/ruby/vendor_ruby/rails/generators/rails/app/templates/bin/bundle /usr/lib/ruby/vendor_ruby/rails/generators/rails/app/templates/bin/rails /usr/lib/ruby/vendor_ruby/rails/generators/rails/app/templates/bin/rake /usr/lib/ruby/vendor_ruby/rails/generators/rails/plugin/templates/bin/rails.tt

You may install this package on Debian with apt-get install ruby-railties