This project is archived and is in readonly mode.

#1270 ✓committed
Christopher Currie

non-gem packages 2.1.x contain hardcoded MacOS ruby script paths and out-of-date configuration

Reported by Christopher Currie | October 26th, 2008 @ 04:42 AM | in 2.x

When downloading Rails from RubyForge using the zip or tgz distributions, the scripts in the "public/" and "script/" directories have a shebang line with hardcoded MacOS system paths. In addition, the config/database.yml file still has MySQL as the default database, instead of the current default of sqlite3.

The non-gem distributions should contain the same files as would be generated by the gem after running "rails" with no arguments.

The second problem of database config is a simple patch to "railties/Rakefile" (attached). The first problem is due to the use of "copy_with_rewritten_ruby_path" in this same file; I'm not sure I understand why this is used at all, since it's almost certain to be wrong (on my machine, it results in /usr/bin/ruby1.8). I'm hoping one of the devs can weigh in and say whether it's ok to remove this method.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket

Referenced by