GithubHelp home page GithubHelp logo

Comments (4)

tompesman avatar tompesman commented on July 3, 2024

check:
https://github.com/9to5/pushr-core/blob/develop/lib/generators/templates/feedback_processor.rb

Do you have the line in initializer?
On Mar 11, 2015 10:49 PM, "jim0020" [email protected] wrote:

I need to access Rails ActiveRecord in my feedback_processor.rb (and
perhaps the stats_processor too). It seems like the rails environment is
not loaded for push-core, but it was in push-core. How can I load the rails
environment for use in the feedback_processor.rb?


Reply to this email directly or view it on GitHub
#11.

from pushr-core.

jim0020 avatar jim0020 commented on July 3, 2024

Tom,
Thanks. Was missing intializer entirely. I was using the same feedback_processor.rb from my main branch using push-core which never had an intializer. I guess I should have compared feedback_processor.rb between push and pushr more carefully. :-)

Hey, any thoughts on putting the redis path setting in the yml?

Jim

On Mar 12, 2015, at 4:22 AM, Tom Pesman [email protected] wrote:

check:
https://github.com/9to5/pushr-core/blob/develop/lib/generators/templates/feedback_processor.rb

Do you have the line in initializer?
On Mar 11, 2015 10:49 PM, "jim0020" [email protected] wrote:

I need to access Rails ActiveRecord in my feedback_processor.rb (and
perhaps the stats_processor too). It seems like the rails environment is
not loaded for push-core, but it was in push-core. How can I load the rails
environment for use in the feedback_processor.rb?


Reply to this email directly or view it on GitHub
#11.


Reply to this email directly or view it on GitHub #11 (comment).

from pushr-core.

tompesman avatar tompesman commented on July 3, 2024

Nice!

Regarding the Redis settings in the YAML file, I think it's a bit messy. Right now the information in the yaml file are the push configurations. Redis you can configure using the command line and using the ENV variables, do we need a third option?

from pushr-core.

jim0020 avatar jim0020 commented on July 3, 2024

The issue was actually with bundler. Was running bundler v1.6.x, upgrading to 1.8.5 solved the problem.

from pushr-core.

Related Issues (11)

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.