Closed djmaze closed 10 years ago
I have had this issue before at one point, but even before I started working on theine. Are you sure this only occurs when running through theine?
Yes, bundle exec rake -T
is working. Also, I can reproduce the error in another app of mine.
Sounds like the rake file is not recognized as such, see answer on SO.
Well I let Rails take care of all the work, so I'm not exactly sure what could be going on here, it worked fine when I used it. I will definitely look at it, but it might take some time before I can work on it. If you want to take a stab, try bundle open theine
(if you have it in Gemfile), and open lib/theine/worker.rb
. All the relevant lines related to the rake task are 13-27.
Also you can first try to put theine in your Gemfile and run theine_server with bundle exec, if you didn't do this already.
I've noticed you are running Rails 3 - I have not tested with Rails 3. I will review and accept pull requests related to Rails 3 but I don't have time to support it myself. I just tested theine rake on two of my projects (Rails 4) and it worked for both.
If you find this is not a Rails3-only issue, let me know and I will reopen.
At least with JRuby 1.7.6 and Rails 3.2.16, it is not possible to run rake through theine. Steps to reproduce:
In a second terminal:
The following error is shown when running
theine rake
:I tried with JRuby in 2.0 mode, too. Same error.