New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generator errors without git already set-up #1195

Closed
sal1n opened this Issue Mar 27, 2013 · 6 comments

Comments

Projects
None yet
6 participants
@sal1n

sal1n commented Mar 27, 2013

Hi

On a clean system without git I got the below error when generating a project. Setting the global git name and email obviously fixed this.

...No such file or directory - git config user.name (Errno::ENOENT)
...from padrino-gen-0.11.0/lib/padrino-gen/generators/project.rb:121:in git_author_name

@ghost ghost assigned skade Mar 28, 2013

@skade

This comment has been minimized.

Show comment
Hide comment
@skade

skade Mar 28, 2013

Member

Thanks for reporting, that shouldn't happen, as the auto-detection of author and email is optional.

Member

skade commented Mar 28, 2013

Thanks for reporting, that shouldn't happen, as the auto-detection of author and email is optional.

@dariocravero

This comment has been minimized.

Show comment
Hide comment
@dariocravero

dariocravero Mar 29, 2013

Contributor

@skade, what about this?

Contributor

dariocravero commented Mar 29, 2013

@skade, what about this?

zph added a commit to zph/padrino-framework that referenced this issue Jun 1, 2013

@wikimatze

This comment has been minimized.

Show comment
Hide comment
@wikimatze

wikimatze Jun 1, 2013

Member

Hi me and @zph taking care of this issue and writing tests for it.

Member

wikimatze commented Jun 1, 2013

Hi me and @zph taking care of this issue and writing tests for it.

@ujifgc ujifgc closed this in c5febae Jul 10, 2013

@ujifgc

This comment has been minimized.

Show comment
Hide comment
@ujifgc

ujifgc Jul 10, 2013

Member

No idea, how to write test which would assume git is not installed.

Member

ujifgc commented Jul 10, 2013

No idea, how to write test which would assume git is not installed.

@wikimatze

This comment has been minimized.

Show comment
Hide comment
@wikimatze

wikimatze Jul 10, 2013

Member

I have mocking in my mind ... I'll try to test it.

Member

wikimatze commented Jul 10, 2013

I have mocking in my mind ... I'll try to test it.

@zph

This comment has been minimized.

Show comment
Hide comment
@zph

zph Jul 10, 2013

We mocked the backticks or Kernel.system command during our pairing session.

Sounds like you're on it Matthias 😄

Zander

@_zph || www.github.com/zph || www.civet.ws

On Wednesday, July 10, 2013 at 5:46 AM, Igor Bochkariov wrote:

No idea, how to write test which would assume git is not installed.


Reply to this email directly or view it on GitHub (#1195 (comment)).

zph commented Jul 10, 2013

We mocked the backticks or Kernel.system command during our pairing session.

Sounds like you're on it Matthias 😄

Zander

@_zph || www.github.com/zph || www.civet.ws

On Wednesday, July 10, 2013 at 5:46 AM, Igor Bochkariov wrote:

No idea, how to write test which would assume git is not installed.


Reply to this email directly or view it on GitHub (#1195 (comment)).

deni64k added a commit to deni64k/padrino-framework that referenced this issue Jul 16, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment