Closed yoni closed 10 years ago
Yeah, there's another ticket to actually stop doing this.
Basically, methadone uses bundle gem
under the covers, which inits a git
repo and adds whatever it creates. Methadone just sorta leaves it,
modifying some files and making others.
I kinda think it shouldn't do any of that, or at least not add stuff automatically. We may be stuck unless we remove bundler entirely…
And thanks for trying methadone! :)
On Fri, Aug 24, 2012 at 5:00 PM, Yoni Ben-Meshulam <notifications@github.com
wrote:
I created a new app and found that the app already had a .git directory in it. Fantastic, I thought: Dave figured that I'd want my initial app to be saved in case I fuck something up!
Alas, I found that the git repo was already in disrepair:
yoni:~/workspace $ methadone my_fancy_app warning: your app has no license yoni:~/workspace $ cd my_fancy_app/ yoni:~/workspace/my_fancy_app [git: master] $ git status# On branch master## Initial commit## Changes to be committed:# (use "git rm --cached
..." to unstage)## new file: .gitignore# new file: Gemfile# new file: LICENSE# new file: README.md# new file: Rakefile# new file: lib/my_fancy_app.rb# new file: lib/my_fancy_app/version.rb# new file: my_fancy_app.gemspec## Changes not staged for commit:# (use "git add ..." to update what will be committed)# (use "git checkout -- ..." to discard changes in working directory)## modified: .gitignore# modified: Rakefile# modified: my_fancy_app.gemspec## Untracked files:# (use "git add ..." to include in what will be committed)## README.rdoc# bin/# features/# test/ Granted, this is my first experience with methadone. Am I missing something?
Best, Yoni
— Reply to this email directly or view it on GitHubhttps://github.com/davetron5000/methadone/issues/50.
I agree less magic is good. However, I also prefer opinionated frameworks and bundler + git seem like sound choices.
Happy Friday!
Fixed in 1.6.0! See #79
I created a new app and found that the app already had a
.git
directory in it. Fantastic, I thought: Dave figured that I'd want my initial app to be saved in case I fuck something up!Alas, I found that the git repo was already in disrepair:
Granted, this is my first experience with methadone. Am I missing something?
Best, Yoni