This project is archived and is in readonly mode.

#3278 ✓committed
John Trupiano

[PATCH] Allow PKG_NAME env variable to control the directory name used when 'rake dev' is used to generate a new rails app.

Reported by John Trupiano | September 27th, 2009 @ 03:22 PM

This one-line patch allows you to specify the PKG_NAME environment variable when running 'rake dev' to control the directory the new rails app is created in. By default, it is always placed in /rails.

This patch has been particularly helpful for the bugmash where I have been generating lots of sample apps to test bugs and patches. It allows me to keep a couple different apps around at a time.

  rake dev PKG_NAME=whatever_i_want_to_call_it

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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages