Coder Social home page Coder Social logo

Comments (2)

look avatar look commented on May 29, 2024

Hi, I just tried it with Rails 2.3.5 and it worked fine. I don't have a 2.3.8 app handy but I will give it a shot to try to replicate.

Just to clarify, you've got the plugin installed correctly, but when you run script/generate fetcher_daemon foobar it doesn't work?

P.S.: You can copy the files out of the generator's templates to get going manually.

from fetcher.

anujbiyani avatar anujbiyani commented on May 29, 2024

I was getting the same issue with Ruby 1.8.7 and Rails 2.3.2. I changed the first couple lines of vendor/plugins/fetcher/lib/generators/fetcher_daemon/fetcher_daemon_generator.rb to: require 'rails_generator'

class FetcherDaemonGenerator < Rails::Generator::NamedBase

This helped a little bit -- now the error I get is:
undefined method `source_root' for FetcherDaemonGenerator:Class

As far as I can tell I have the Rails::Generator::Base class correctly inherited (through NamedBase) so I'm not sure what to do from here.

from fetcher.

Related Issues (12)

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.