Comments (7)
Well, that certainly sounds like it needs dealing with.
Can you give me a little more info?
Is there a github repo I can download with your code on it, so I can try the same thing? If not, can you put one up?
Also, some information about your system would be good:
- Ruby version?
- Gemfile contents?
- Are you using RVM?
- Which version of delayed_job is installed?
Anything else you can tell me will help.
In the meantime, I'll try using guard-delayed again on my own machine... the project I built it for hasn't been in use for a while, so it's possible some dependency has caused it to break in the meantime.
Oh, also, you might try running guard with the debug option on, and see if the extra info it prints out helps shed some light on the problem:
guard -d
Thanks in advance.
from guard-delayed.
Having the same issue here. The problem is that
system('RAILS_ENV=developement script/delayed_job', 'start')
returns nil and does nothing actually. That's because setting environment variables is not allowed in system()
calls at least in 1.9.3.
I'll provide pull request fixing that in couple of minutes.
from guard-delayed.
I've been having this same problem, too.
So, had a look at delayed-job and there's an issue #7 where they say that the -e flag is deprecated and you NEED to use RAILS_ENV=development.
So, I dunno what to do. Perhaps the -e flag needs to be added back to delayed_job, which would mean them accepting a pull request. Or I could fork delayed_job and have guard-delayed depend on the fork.
Will try to deal with this soon.
from guard-delayed.
@suranyami I've made a dirty fix for that. Just didn't have time to do a proper pull-request.
But you can check out my fork, it works.
from guard-delayed.
Top work @rwz.
Merged, and pushed up to rubygems.org.
Thanks for your help!
from guard-delayed.
Actually, can you guys check that this is working for you and get back to me. I'll close the issue then.
Ta.
from guard-delayed.
Works fine for me :)
from guard-delayed.
Related Issues (8)
- This gem needs love. ASAP. It is not even compatible with Guard anymore. HOT 15
- guard/guard-delayed out of sync HOT 1
- guard-delayed.gemspec needs updating HOT 1
- test/unit error HOT 3
- Shutdown delayed_job process when shutting down guard HOT 2
- Add note to manually restart delayed job when changing code HOT 3
- Using with engines
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guard-delayed.