Hello

At work we have created a common area to install gems. These
gems are used by Sun, HP and Linux machines.

I recently installed rails into this common area with something like

   gem instal rails -i /path/to/common/gem/area --include-dependencies

When some of my apps didn't run, I found that in

   /path/to/common/gem/area/bin/rails

the shebang had:

 #!/big/long/path/to/ruby/linux/install

What would be better for our purposes is it to read

  #!/usr/bin/env ruby

This will let any architecture machine use the gem (at least those with executables).

Is there a way to customize the shebang without having to edit the bin files after install?

Thanks

Jim Freeze



_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to