Comments (3)
Hi, backwardm.
As I can see, you are using latest repository version, which may be broken, coz, I started major refactoring to support location for daemons other than default (lib/daemons). Do you have same problem if you are using version from RubyGems (http://rubygems.org/gems/daemons-rails)?
P.S.: You have to generate new controller and script and copy user code into it.
P.P.S.: Also problem may be as simple as missed "bundle exec". So, you can try to run "bundle exec ruby ./lib/daemons/*_ctl start" or run command using rake "rake daemon:newsletter_sender:start", which automaticly loads Gemfile.
from daemons-rails.
Thank you for your note. I'll switch over to the version hosted on RubyGems and let you know how it turns out.
from daemons-rails.
Thanks again for your help. By switching over to the RubyGems version (~> 1.0.0) and regenerating a new daemon template as suggested, I was able to successfully start the daemon. I still don't fully understand why it broke in the first place, so I need to diff the two versions and see why the newer version on GitHub doesn't work.
Again, thanks for writing the gem in the first place and sharing it with everyone.
from daemons-rails.
Related Issues (20)
- please clarify the license for this project HOT 1
- Support for restart command
- Error on stop: cannot load such file -- daemons/rails/config (LoadError) HOT 2
- Daemons::Rails::Monitoring.statuses doesn't work in production HOT 7
- daemon with "_monitor" suffix in name does not stop properly HOT 1
- On JRuby the rake path gets confused HOT 1
- rails generate daemon fails with 'rake/rdoctask' is obsolete HOT 1
- Generate works once. Second execution runs daemons (Rails 4.0.2, Ruby 2.0.0). HOT 6
- 'stop' reruns daemon and then forces stop ungracefully (Rails 4.0.2, Ruby 2.0.0) HOT 3
- Can not attach debugger
- Change pid default location from log/ to tmp/pids/ HOT 2
- TCP server as daemon HOT 18
- How to access active records ? HOT 1
- daemon process is exiting after receiving the first connection abruptly HOT 5
- ERROR -- : Bad file descriptor (Errno::EBADF) HOT 2
- If there is space in the directory, you can not reach HOT 1
- “bundle exec rake daemons:start” now giving a “: No such file or directory” error
- uninitialized constant RenderAnywhere::ActionController (NameError)
- New life for project (please join if you feed you may be useful) HOT 5
- maintainers? HOT 5
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 daemons-rails.