This project is archived and is in readonly mode.
Rails 3.0pre produces a conflict on new project creation
Reported by Conrad Taylor | December 31st, 2009 @ 03:28 AM
Generating a new Rails application using Rails 3.0pre, produces a conflict because it appears to want to create a development.rb file a second time:
$ ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-darwin10]
$ rails tmp
create
create README
create .gitignore
create Rakefile
create config.ru
create Gemfile
create app
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/models
create app/views/layouts
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/environments
create config/environments/development.rb
conflict config/environments/development.rb
Overwrite /Users/conradwt/rails.dir/examples/tmp/config/environments/development.rb? (enter "h" for help) [Ynaqdh]
Comments and changes to this ticket
-
José Valim January 2nd, 2010 @ 11:44 PM
- State changed from new to open
- Assigned user set to José Valim
I could not reproduce on master:
git clone git://github.com/rails/rails.git ruby rails/railties/bin/rails tempapp
Can you?
-
Conrad Taylor January 3rd, 2010 @ 12:46 AM
I performed the following operations:
git clone git://github.com/rails/rails.git cd rails git submodule init git submodule update sudo rake install cd rails tempapp
Next, this happens consistently following the above on my MacBook Pro (Intel) but I wasn't able to reproduce
this on the PowerMac G5 (PPC). Now, I'm seeing the same issue on MacBook Pro (Intel) when I try the following:git clone git://github.com/rails/rails.git ruby rails/railties/bin/rails tempapp
Finally, this doesn't happen when using Rails 2.3.5.
-
José Valim January 3rd, 2010 @ 11:35 AM
This is odd! I definitely cannot reproduce here or anyone in the core team. Have you tried reinstalling 1.9.1 in rvm? (I use 1.9.1 from rvm as well)
-
Conrad Taylor January 3rd, 2010 @ 01:09 PM
I installed Ruby 1.9.1p376 using MacPorts on both laptop (i.e. MacBook Pro) and desktop (i.e. PowerMac G5).
-
José Valim January 20th, 2010 @ 01:58 PM
I cannot duplicate at all. This problem still happens? Any extra information?
-
José Valim February 24th, 2010 @ 07:33 AM
- State changed from open to stale
Ok, I'm closing this one. I will reopen if you have any information on how to reproduce it.
-
Conrad Taylor February 24th, 2010 @ 10:17 AM
Jose, I cannot reproduce this issue either after upgrading to the Rails 3.0.0 beta.
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>