priya
priya

Reputation: 26679

No such file to load while running rake reek task

https://github.com/kevinrutherford/reek/wiki/Rake-Task

I followed all the instructions in the above page to install the reek gem and run it, but I get the following error while running the rake reek task.

rake reek
rake aborted!
no such file to load -- reek/rake/task

(See full trace by running task with --trace)

gem list --local (shows you the right gem to have been installed)

Upvotes: -1

Views: 433

Answers (1)

awenkhh
awenkhh

Reputation: 6111

Not sure from where you ran the task. But maybe this hint helps. You have to require reek/rake/task

require 'reek/rake/task'

see http://rdoc.info/github/kevinrutherford/reek/Reek/Rake/Task

And btw, the repository on github is now here:

https://github.com/troessner/reek

Upvotes: 0

Related Questions