seri / gettc

TopCoder offline arena supporting multiple languages
http://seri.github.io/gettc/
99 stars 19 forks source link

undefined method `exists?' for Dir:Class #6

Closed rlbisbe closed 10 years ago

rlbisbe commented 12 years ago

I downloaded the version from the repository and I haven't been able to download any problem, I get this error message just after: You have given ID = {x}

seri commented 12 years ago

I suspect you have Ruby 1.8.x on your system? (You can find out via ruby -v) If that is indeed the case, you'll have to upgrade to >= 1.9.1

rlbisbe commented 12 years ago

Thanks for the quick update.

I have updated and now I have this :

~/.rvm/gems/ruby-1.9.3-p0/bin/gettc:3:in `require': no such file to load -- topcoder (LoadError) from ~/.rvm/gems/ruby-1.9.3-p0/bin/gettc:3

seri commented 12 years ago

Did you forget to re-install gettc after the Ruby upgrade?

$ sudo gem uninstall gettc
$ cd /path/to/gettc
$ rake