Re: Heroku gem RVM problems
Any ideas anyone? Haven't solved it yet. Thanks Petros -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: How to handle scheduled events?
Hi Jim, One solution is to schedule all of these events as jobs to be processed by delayed job workers at the specified time. Take a look at the Heroku Delayed Job documentation for info on using workers and setting up DJ. The documentation doesn't cover job scheduling using the :run_at parameter, but you can basically set the time you'd like a job to run. When an event gets scheduled in your system you can calculate the times you'd like your reminder emails sent, and add them all to the delayed job queue. The downside to this approach is that if the event time/date gets updated then you'll probably want to remove the scheduled jobs, and recalculate the new times. -Doug On Mon, May 17, 2010 at 10:36 AM, Jim Jones jjones35...@yahoo.com wrote: I'm new to Heroku and am trying to figure how I would accomplish the following? I've got an Events table that stores the date an event is to occur. I'd like to automatically send out an email to a user when that event is close (ie. 1 day away, 1 hour away, 15 minutes, etc). How would I do this with Heroku? I was thinking I could have a cron job run every minute, that searches for events that are coming up, but it looks like I can only use hourly cron jobs, which would miss my 15 minute requirement. Any thoughts? Thanks. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Rails 3 and NewRelic
it's been working here for a week or so with a beta3 app on bamboo 1.9.1. i didn't do anything special to get it working but maybe the stats i'm getting from it are all worthless...not a terribly important application so i guess worthless stats are ok for now as long as it's not actively breaking things. On Mon, May 17, 2010 at 12:23 PM, Oren Teich o...@heroku.com wrote: I don't think new relic supports rails 3 yet. On Mon, May 17, 2010 at 9:21 AM, Neil neil.middle...@gmail.com wrote: I'm hitting a brick wall on this, but does anyone else have issues with Rails 3 and NewRelic on Heroku? Even when I create a vanilla Rails 3 app, adding NewRelic crashes the application, yet on Rails 2 it works perfectly. Anyone? -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Do you pay for multiple apps, or only multiple dynos per app?
I currently have one app running with one dyno in production env. I'd like to create a staging one too, but am not sure if I can do that, with one dyno and its still free, or if I'll now have to pay for a 2nd dyno. thanks, Brian -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Do you pay for multiple apps, or only multiple dynos per app?
On Mon, May 17, 2010 at 3:44 PM, Brian bburr...@gmail.com wrote: I currently have one app running with one dyno in production env. I'd like to create a staging one too, but am not sure if I can do that, with one dyno and its still free, or if I'll now have to pay for a 2nd dyno. No, you only pay for multiple dynos on the same app. You can have plenty of 1-dyno apps for free. thanks, Brian -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Do you pay for multiple apps, or only multiple dynos per app?
Hello Brian, You want to have one code base that is hooked up to 2 heroku apps. (staging, production) Each of the heroku apps gives you 1 dyno for free. I like the article at: http://jqr.github.com/2009/04/25/deploying-multiple-environments-on-heroku.html (see also: http://stackoverflow.com/questions/1279787/staging-instance-on-heroku ) There were a number of examples out there, but I'm having trouble tracking it down. The take away is that your local repo is connecting to a number of remotes: 1 of which is staging, 1 is production, and optionally, another could be github, or any other remote repo. --Keenan On May 17, 2010, at 2:44 PM, Brian wrote: I currently have one app running with one dyno in production env. I'd like to create a staging one too, but am not sure if I can do that, with one dyno and its still free, or if I'll now have to pay for a 2nd dyno. thanks, Brian -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Do you pay for multiple apps, or only multiple dynos per app?
Thanks! On May 17, 3:08 pm, Nicolás Sanguinetti h...@nicolassanguinetti.info wrote: On Mon, May 17, 2010 at 3:44 PM, Brian bburr...@gmail.com wrote: I currently have one app running with one dyno in production env. I'd like to create a staging one too, but am not sure if I can do that, with one dyno and its still free, or if I'll now have to pay for a 2nd dyno. No, you only pay for multiple dynos on the same app. You can have plenty of 1-dyno apps for free. thanks, Brian -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Do you pay for multiple apps, or only multiple dynos per app?
Thanks for the info and the links. Very helpful. Brian On May 17, 3:18 pm, Keenan Brock kee...@thebrocks.net wrote: Hello Brian, You want to have one code base that is hooked up to 2 heroku apps. (staging, production) Each of the heroku apps gives you 1 dyno for free. I like the article at:http://jqr.github.com/2009/04/25/deploying-multiple-environments-on-h... (see also:http://stackoverflow.com/questions/1279787/staging-instance-on-heroku) There were a number of examples out there, but I'm having trouble tracking it down. The take away is that your local repo is connecting to a number of remotes: 1 of which is staging, 1 is production, and optionally, another could be github, or any other remote repo. --Keenan On May 17, 2010, at 2:44 PM, Brian wrote: I currently have one app running with one dyno in production env. I'd like to create a staging one too, but am not sure if I can do that, with one dyno and its still free, or if I'll now have to pay for a 2nd dyno. thanks, Brian -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: How to handle scheduled events?
Take a look at Background Jobs / Workers at http://docs.heroku.com/background-jobs - Steve W. On May 17, 7:36 am, Jim Jones jjones35...@yahoo.com wrote: I'm new to Heroku and am trying to figure how I would accomplish the following? I've got an Events table that stores the date an event is to occur. I'd like to automatically send out an email to a user when that event is close (ie. 1 day away, 1 hour away, 15 minutes, etc). How would I do this with Heroku? I was thinking I could have a cron job run every minute, that searches for events that are coming up, but it looks like I can only use hourly cron jobs, which would miss my 15 minute requirement. Any thoughts? Thanks. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: How to handle scheduled events?
Also take a look at http://github.com/ddollar/repeated_job - David On May 17, 2010, at 3:58 PM, Steve Wilhelm wrote: Take a look at Background Jobs / Workers at http://docs.heroku.com/background-jobs - Steve W. On May 17, 7:36 am, Jim Jones jjones35...@yahoo.com wrote: I'm new to Heroku and am trying to figure how I would accomplish the following? I've got an Events table that stores the date an event is to occur. I'd like to automatically send out an email to a user when that event is close (ie. 1 day away, 1 hour away, 15 minutes, etc). How would I do this with Heroku? I was thinking I could have a cron job run every minute, that searches for events that are coming up, but it looks like I can only use hourly cron jobs, which would miss my 15 minute requirement. Any thoughts? Thanks. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Heroku gem RVM problems
Got the same problem and solved it. I'm using ubuntu linux, but every debian based system should work the same way. 1. Installing libreadline-dev, sudo apt-get install libreadline-dev 2. go to the ruby source ext/readline and 3. sudo ruby extconf.rb 4. make 5. make install and it should work. If it doesn't, I previously also installed libreadline-ruby1.8 and libreadline-ruby1.9. But this didn't helped. But in the end 1 - 5 solved my problems. kind regards daniel -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Logs are showing that workers are Exiting...
Something strange started happening yesterday my workers started Exiting... by them selfs. I did see the message where workers where locked for some time yesterday, was there an update to workers process management? -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.