Skip to content
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

git-status-report : undefined method `today' for Date:Class #2

Closed
dramalho opened this issue Feb 26, 2011 · 2 comments
Closed

git-status-report : undefined method `today' for Date:Class #2

dramalho opened this issue Feb 26, 2011 · 2 comments

Comments

@dramalho
Copy link

Ok, not sure why but git-status-report wasn't working with my setup, I added require 'date' and that fixed that :) - I'm just sharing with you :) I'm running Ubuntu with the standard Ruby version and I'm guessing it happens to everyone ;)

Env:
$ ruby -v
ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux]

Error:
./git-status-report:62:in process_options': undefined methodtoday' for Date:Class (NoMethodError)

Thanks ;)

@masukomi
Copy link
Owner

masukomi commented May 6, 2011

Some ruby installs don't include some of the standard library classes like Date and Time without specifically requiring them. Just encountered the same thing on a new OS X install even though my other OS X box is fine..

The latest version includes the require lines. My apologies about the delay in getting it into the codebase.

@masukomi masukomi closed this as completed May 6, 2011
@dramalho
Copy link
Author

Absolutely no worries, thank you sir :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants