Comments (4)
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.
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.rbDo 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.
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.
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)
- Release a 1.0.1? HOT 2
- Using absolute path for pushr daemon pid file doesn't create the file. HOT 3
- Pushr Daemon not starting with Rails 4.2.4 HOT 10
- validate config after reading YAML
- Allow Redis to be configured with a URL
- Problems when sending via APNS HOT 3
- --stats-processor HOT 1
- Confusing release / README notice combination HOT 6
- Feature Request: Allow multiple queues (with different priority) for each App HOT 5
- Shouldn't use SSL version 3
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 pushr-core.