Git Product home page Git Product logo

Comments (3)

mirasrael avatar mirasrael commented on August 26, 2024

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.

backwardm avatar backwardm commented on August 26, 2024

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.

backwardm avatar backwardm commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.