开发者

Rake test loader - load error

开发者 https://www.devze.com 2022-12-17 00:08 出处:网络
I am a new with ruby. I am trying to run rake test from the application root and I get loaderror, no such file to load from the rake test loader : 5, i.e. it is not able to locate or load the test fi

I am a new with ruby.

I am trying to run rake test from the application root and I get loaderror, no such file to load from the rake test loader : 5, i.e. it is not able to locate or load the test files.

I created a new app to see if this behaviour is app. related, but it st开发者_JAVA百科ill doesn't work.

Where should I look? Is this related to the PATH variable or ..? I would like to avoid reinstalling ruby.

Thanks, gabi


The rake documentation would be a good place to start. You're probably missing a Rakefile.


if in the rake_test_loader.rb would know the full path of the test files beeing loaded it seems to work. But even so, I get an error - sqllite3 not found for monitor.rb - which is weird since I explicitly configured the project and the test env for mysql. Update .. after restarting it work .. but still. Probably something to to do with the load_path

0

精彩评论

暂无评论...
验证码 换一张
取 消