Re: Long running rake tasks freeze or crash

2010-10-11 Thread Mike
Great idea on the cron job, I wouldn't have thought to try that, it's interesting that those never fail. I already am using Delayed::Job, but I have enough records (a few million) that even a rake task that's just building delayed jobs is failing with these errors. I don't believe that these erro

Re: Compiled Slug size not changing after removing large gems from Gemfile

2010-10-11 Thread Chris Hanks
Yeah, this has happened to me before, too. I'm pretty sure the problem is on Heroku's end. I don't worry that much about it, though, since the max slug size is 100 MB. On Oct 11, 8:57 pm, stephen murdoch wrote: > I have encountered a few strange problems with Heroku this evening. > > My repo s

Re: You have modified your Gemfile in development but did not check the resulting snapshot (Gemfile.lock) into version control

2010-10-11 Thread Chris Hanks
First, to prevent Heroku from installing certain gems, use the BUNDLE_WITHOUT config var to specify groups you want to skip. For example, I do: heroku config:add BUNDLE_WITHOUT="development test" Then, in my Gemfile: source :rubygems gem 'rails', '3.0.0' group :development, :test do gem 'rspec

Re: Compiled Slug size not changing after removing large gems from Gemfile

2010-10-11 Thread stephen murdoch
PS - I'm using heroku gem 1.10.14 Also, when this problem occurs, the gems that I remove from my Gemfile do not get installed on heroku, but the slug size indicates that they are still lurking around somewhere in the background - is there anyway to list all the gems that my slug has installed? Is

You have modified your Gemfile in development but did not check the resulting snapshot (Gemfile.lock) into version control

2010-10-11 Thread stephen murdoch
I get this error message every now and then: You have modified your Gemfile in development but did not check the resulting snapshot (Gemfile.lock) into version control Most people suggest removing the .bundle directory and running bundle install again making sure to add Gemfile.lock to the git re

Compiled Slug size not changing after removing large gems from Gemfile

2010-10-11 Thread stephen murdoch
I have encountered a few strange problems with Heroku this evening. My repo size somehow managed to bloat to 17mb so I removed some gems from my Gemfile (ran bundle install, git add Gemfile.lock etc etc) and found that my repo was still 17mb. I removed all my gems (apart from rails and pg) and th

Re: Add SSH Key to Heroku (using Windows/Cygwin)

2010-10-11 Thread Abel Tamayo
I would recommend that you follow Heroku's guide here: http://docs.heroku.com/keys Maybe you don't have installed ssh. Let us know how that goes and I hope that helps. Abel. On Mon, Oct 11, 2010 at 6:36 PM, Twiek wrote: > Beeing new to programming I'm trying to learn

recording database problem

2010-10-11 Thread anailuj
we are experiencing problems with the database MongoDB, we do not know if it will be for the mongohq or what, but we have to constantly repair the database to write in it, that mean that if we consult we have no problem, but when we store data often fails and we have to repair it for recording. Any

Add SSH Key to Heroku (using Windows/Cygwin)

2010-10-11 Thread Twiek
Beeing new to programming I'm trying to learn RoR using railstutorial.org and ran into a problem in chapter 1.4.1 (http:// railstutorial.org/book#sec:1.4.1). When trying to add my SSH key to Heroku the following happend: ba...@basti-pc ~ $ heroku keys:add :29:in `require': no such file to load -

Re: Plugin dependencies

2010-10-11 Thread opsb
Scratch that, submodules don't get pulled automatically when you clone... Looks like I'll have to vendor them all in the plugin git repo. On Oct 11, 2:34 pm, opsb wrote: > Going to go with git submodules, not perfect but will work for now. > > On Oct 11, 1:43 pm, opsb wrote: > > > > > I'm writin

Re: no such file to load -- rspec

2010-10-11 Thread Rajaraman S
thanks for the reply. yes rspec is a dependency for my app and I have mentioned that in the bundler configuration. however for now, i commented out the rspec entry and everything works! thanks a lot for the help. On Fri, Oct 8, 2010 at 11:12 PM, Abel Tamayo wrote: > FIrst, /usr and bundler 1.0

Re: Plugin dependencies

2010-10-11 Thread opsb
Going to go with git submodules, not perfect but will work for now. On Oct 11, 1:43 pm, opsb wrote: > I'm writing a heroku plugin that needs some gem dependencies. How do I > go about making sure the gems are available when a plugin is > installed? > > If there isn't any mechanism to do this yet

Plugin dependencies

2010-10-11 Thread opsb
I'm writing a heroku plugin that needs some gem dependencies. How do I go about making sure the gems are available when a plugin is installed? If there isn't any mechanism to do this yet could I suggest the following: Use bundler to declare the dependencies in the plugin. When plugin is installed