Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

thor -T #10

Closed
adamstac opened this Issue · 3 comments

3 participants

@adamstac

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

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

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

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
Something went wrong with that request. Please try again.