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

thor -T #10

Closed
adamstac opened this issue Dec 10, 2009 · 3 comments
Closed

thor -T #10

adamstac opened this issue Dec 10, 2009 · 3 comments

Comments

@adamstac
Copy link

I get this returned to me when asking for the Thor tasks.

[21:22][adamstacoviak@AS-MBP15:~/Code/OS/Thor/Thor-Gem(master)]$ thor -T
WARNING: unable to load thorfile "/Users/adamstacoviak/Code/OS/Thor/Thor-Gem/Thorfile": no such file to load -- rdoc/task

[21:25][adamstacoviak@AS-MBP15:~/Code/OS/Thor/Thor-Gem(master)]$ gem list rspec

*** LOCAL GEMS ***

rspec (1.2.9, 1.2.2)
rspec-rails (1.2.2)
@hedgehog
Copy link

Ditto for list task:
hedge@lh:src/thor[quill] $ thor list
WARNING: unable to load thorfile "/usr/src/thor/Thorfile": no such file to load -- rdoc/task
No Thor tasks available

hedge@lh:src/thor[quill] $ gem list --local |grep thor
thor (0.12.0)

@hedgehog
Copy link

hedgehog commented Jan 1, 2010

This is caused by not having rdoc gem installed. It should not be necessary to have rdoc in order to run a script that is written using Thor. I'll post a fix and pull request. The readme is not clear on how best to contribute.

@josevalim
Copy link
Contributor

Just fork and do a pull request. Btw, Thor does not require having rdoc installed, the Thorfile in Thor does.

This issue was closed.
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

3 participants