This project is archived and is in readonly mode.
[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
-
Elomar França September 27th, 2009 @ 03:48 PM
+1, verified.
I agree with this addition, and the patch applies cleanly to master and 2-3-stable.
-
sr.iniv.t September 27th, 2009 @ 06:51 PM
+1 verified.
The patch applies cleanly on 2-3-stable and master. I've wished for something like this while doing bug verifications.
-
Mike Enriquez September 27th, 2009 @ 08:07 PM
+1 verified. Applies to 2-3-stable and master. Setting a combination of RAILS_PKG_DESTINATION and PKG_NAME with the destination in .gitignore makes a lot of sense.
-
Mike Enriquez September 27th, 2009 @ 08:09 PM
- Tag changed from 2-3-stable, bugmash, feature, patch, rake, rake_dev to 2-3-stable, bugmash-review, feature, patch, rake, rake_dev
-
Gaius Centus Novus September 27th, 2009 @ 10:05 PM
+1 It doesn't solve a problem I'm having, but it applies cleanly to 2.3 stable and isn't exactly bloat.
-
Repository September 28th, 2009 @ 03:29 AM
- State changed from new to committed
(from [e01f99786a586e41a36d3c1ddc66f080d04b4036]) Allow PKG_NAME env variable to control the directory name used when 'rake dev' is used to generate a new rails app.
Signed-off-by: Michael Koziarski michael@koziarski.com
[#3278 state:committed] http://github.com/rails/rails/commit/e01f99786a586e41a36d3c1ddc66f0... -
Rizwan Reza May 15th, 2010 @ 06:42 PM
- Tag changed from 2-3-stable, bugmash-review, feature, patch, rake, rake_dev to 2-3-stable, feature, patch, rake, rake_dev
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
Tags
Referenced by
- 3278 [PATCH] Allow PKG_NAME env variable to control the directory name used when 'rake dev' is used to generate a new rails app. Signed-off-by: Michael Koziarski michael@koziarski.com [#...