wycats / textmate

Command-line package manager for textmate
http://www.yehudakatz.com
MIT License
160 stars 19 forks source link

Command fails with undefined method `method_option' #5

Open timriley opened 15 years ago

timriley commented 15 years ago

When installing the gem and running for the first time:

$ textmate 
/opt/local/lib/ruby/gems/1.8/gems/wycats-textmate-0.9.6/bin/textmate:53: undefined method `method_option' for TextmateInstaller:Class (NoMethodError)
from /opt/local/bin/textmate:19:in `load'
from /opt/local/bin/textmate:19

I'm using wycats-textmate 0.9.6 and thor 0.9.9.

wycats commented 15 years ago

You need to be using wycats-thor. I'll be pushing a thor to rubyforge soon which will fix this problem.

dreamcat4 commented 15 years ago

You should also update your textmate .gemspec to require this newer thor version

e.g. from s.add_dependency(%q, [">= 0.9.2"]) to s.add_dependency(%q<-thor>, [">= 0.11.5"])

Thanks for the great gem.