-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to work with Bundler & Rails 3.0 and make easier to apply #1
base: master
Are you sure you want to change the base?
Conversation
…st configuration model.
Using a separate helper class to avoid weirdness with module lifecycle (yes yes, I need to learn how that aspect of Ruby works in more depth.).
Thanks for contributing! I've actually lost my statsd/graphite setup due to a cloud server failure and my lack of time to get it back up, so I haven't messed around with it for quite some time. But, you've given me incentive to get it back up and test all this. Super busy this week, hope to get it in this weekend and I'll happily merge your commits. Cheers, |
We have a working puppet recipe if that helps, let me know if you'd like a copy. M. On Aug 25, 2011, at 1:46 PM, jamster wrote:
|
Yep, if you have that script handy, that would be great! |
Install puppet, then put this somewhere and run: puppet apply graphite.pp Enjoy! M. On Aug 26, 2011, at 6:29 AM, jamster wrote:
|
didn't see an attachment. was there one? (never used puppet before, is it like ruby gems where it will pull from a centralized source?) |
Here are the contents of the attachment. If you've not used puppet before it might be a bit of a pain. On an ubuntu system copy the contents of this file to graphite.pp and do the following: gem install puppet It should work but it might not, if your ubuntu system is setup in a different way you might find a few dependencies missing but it might just work. Add --debug to the puppet command if you want to debug it, or you can just read the recipe and run the commands/install the packages manually. Good luck. M. On Aug 28, 2011, at 9:24 AM, jamster wrote:
|
(So if you're tracking something BESIDES Resque jobs in your app, you don't get frustrated...)
… to the same Resque.push function Old code was getting over-written by the last-included module monkey-patch
(Updated to match new queue/job-name split, etc.) Conflicts: lib/resque/plugins/statsd.rb
…he gem? It just bloats deployments and doesn't actually make it easy/feasible to run the tests out of the gems anyway. So, if you wanna run the tests (if/when they ever exist) -- clone the repo.
Switch statsd-ruby dependency back to the official gem
Hello
Thanks for developing resque-statsd. We had some difficulty using this with Rails 3.0 & Bundler. Specifically, the way we had to use environment variables meant we couldn't simply add
extend Resque::Plugins::Statsd
in the right places like we do with other extensions because the initializer hadn't run yet.Our patch doesn't work with Rails 2.x, it would need to be adjusted to try both
ENV['RAILS_ENV']
as well as Rails.env.Thanks
Mat & Jon