Re: Abridged summary of heroku@googlegroups.com - 25 Messages in 9 Topics

2010-10-29 Thread lsiden
K
Sent via BlackBerry from T-Mobile

-Original Message-
From: heroku+nore...@googlegroups.com
Sender: heroku@googlegroups.com
Date: Thu, 28 Oct 2010 10:34:58 
To: Abridged Recipientsheroku+dig...@googlegroups.com
Reply-To: heroku@googlegroups.com
Subject: Abridged summary of heroku@googlegroups.com - 25 Messages in 9 Topics

=
Today's Topic Summary
=

Group: heroku@googlegroups.com
Url: http://groups.google.com/group/heroku/topics

  - Bundler upgrade to 1.0.3 to support BUNDLE_WITHOUT? [1 Update]
http://groups.google.com/group/heroku/t/913e4e9ff8c5ec00
  - Has anyone got pony working with gmail on heroku? [5 Updates]
http://groups.google.com/group/heroku/t/b3eafb2e981f5a33
  - Delayed_job worker + paperclip + s3 error [2 Updates]
http://groups.google.com/group/heroku/t/92e68a9c6310f3d1
  - Heroku down time today, about 30 minutes total [8 Updates]
http://groups.google.com/group/heroku/t/fc45c0b5d2a363e
  - Postmortem on Tuesday's outage [1 Update]
http://groups.google.com/group/heroku/t/105f581cbe762528
  - RubyAMF [1 Update]
http://groups.google.com/group/heroku/t/6e7c9d872868a673
  - Heroku has a read-only filesystem [2 Updates]
http://groups.google.com/group/heroku/t/32cbeb0597113f22
  - Background job processing [4 Updates]
http://groups.google.com/group/heroku/t/5dc70ba0edb85523
  - Dalli  memcached not hitting the cache [1 Update]
http://groups.google.com/group/heroku/t/a85372b7717b3ab


=
Topic: Bundler upgrade to 1.0.3 to support BUNDLE_WITHOUT?
Url: http://groups.google.com/group/heroku/t/913e4e9ff8c5ec00
=

-- 1 of 1 --
From: Peter Marklund peter_markl...@fastmail.fm
Date: Oct 28 03:12AM -0700
Url: http://groups.google.com/group/heroku/msg/e1f8013be072b279

Hi!
According to the Heroku documentation at http://docs.heroku.com/bundler
you can use this config var setting:

heroku config:add BUNDLE_WITHOUT=development test

It will exclude the


=
Topic: Has anyone got pony working with gmail on heroku?
Url: http://groups.google.com/group/heroku/t/b3eafb2e981f5a33
=

-- 1 of 5 --
From: Phil Pirozhkov pirjs...@gmail.com
Date: Oct 27 04:23AM -0700
Url: http://groups.google.com/group/heroku/msg/adb5ec3372ef1845

look at padrino mailer if you are using sinatra, or active mailer if
rails
tmail gem is outdated, and pony depends on it
you can either patch tmail or use patched as provided by tools i've

-- 2 of 5 --
From: Richard Conroy richard.con...@gmail.com
Date: Oct 27 12:32PM +0100
Url: http://groups.google.com/group/heroku/msg/184b664483f5f098

 you can either patch tmail or use patched as provided by tools i've
 mentioned

 you can also use SendGrid or any alternative addon

I got sendgrid working. It was pretty straightforward.

-- 3 of 5 --
From: Jimmy moxley.ja...@googlemail.com
Date: Oct 27 05:01AM -0700
Url: http://groups.google.com/group/heroku/msg/d93f56f8b283cd8d

I figured it out, I had used an example from http://github.com/benprew/pony

Works locally, doesn't work on heroku
Pony.mail :to = ENV['TO_EMAIL'],
  :from = params[:email],

-- 4 of 5 --
From: Pedro Del Gallego pedro.delgall...@gmail.com
Date: Oct 27 09:32AM +0200
Url: http://groups.google.com/group/heroku/msg/40a5aac9e4d9848a

 Pony works locally, but on heroku I get the following:

It's working fine for me.  Have you declared the gem smtp_tls in
your .gems file?



Here you have the code.

-- 5 of 5 --
From: morgoth w.wnetr...@gmail.com
Date: Oct 28 02:45AM -0700
Url: http://groups.google.com/group/heroku/msg/53a8d5080be57b9f

You can also use mail gem.

You can find my configuration of mail gem in sinatra applicaion in:

http://github.com/morgoth/kasia/blob/master/app.rb



=
Topic: Delayed_job worker + paperclip + s3 error
Url: http://groups.google.com/group/heroku/t/92e68a9c6310f3d1
=

-- 1 of 2 --
From: Mark  Wang mark.w...@gmail.com
Date: Oct 27 03:40AM -0700
Url: http://groups.google.com/group/heroku/msg/3d8dfa77fee1a7a0

Hi all,

I'm implementing a simple photo upload test app that uses paperclip
2.3.5 for the upload, S3 for storage, and delayed_job + ImageMagick
for photo resizing.

It works fine on my local

-- 2 of 2 --
From: Mark  Wang mark.w...@gmail.com
Date: Oct 27 05:03PM -0700
Url: 

db:pull throws exception from taps

2010-06-25 Thread lsiden
I am having the same problem discussed in this thread:
http://groups.google.com/group/heroku/browse_thread/thread/20e036163a9e5ee0/92f0f6e9e021c2a0?lnk=gstq=taps+_load,
but the solution of uninstalling and re-installing sqlite3-ruby did
not help.  Taps throws an exception here:

Error encountered loading data, wrote the data chunk to dump.
20810.dat   | ETA:  --:--:--
/home/lsiden/.rvm/gems/ruby-1.9.1-p378/gems/taps-0.3.9/lib/taps/
data_stream.rb:187:in `load': class DateTime needs to have method
`_load' (TypeError)
from /home/lsiden/.rvm/gems/ruby-1.9.1-p378/gems/taps-0.3.9/lib/taps/
data_stream.rb:187:in `parse_encoded_data'
from /home/lsiden/.rvm/gems/ruby-1.9.1-p378/gems/taps-0.3.9/lib/taps/
data_stream.rb:130:in `fetch_remote'
from /home/lsiden/.rvm/gems/ruby-1.9.1-p378/gems/taps-0.3.9/lib/taps/
operation.rb:286:in `block in pull_data_from_table'
from /home/lsiden/.rvm/gems/ruby-1.9.1-p378/gems/taps-0.3.9/lib/taps/
operation.rb:279:in `loop'
from /home/lsiden/.rvm/gems/ruby-1.9.1-p378/gems/taps-0.3.9/lib/taps/
operation.rb:279:in `pull_data_from_table'

Is this something I should post to the taps forum or #irc?

-- 
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.



git push heroku resets database each time

2010-06-25 Thread lsiden
Each time I push my app to heroku, I notice that the database has been
reset (emptied).  Is this because I have environment=test set?  Or is
it because my git refspec forces non-fast-forward pushes?  Or is there
some other reason that I don't know about.

This could be a show-stopper when I deploy my app and it starts to
gather real data.

-- 
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 can I clean out or reinitialize an app's git repository?

2010-06-14 Thread lsiden
I think that Steve's advice is way to drastic.  It means you will lose
_all_ of your development history.

Why not just do 'git gc' (garbase collect)?  Then, as Steve said, you
may need to 'git push heroku-repository --force'

Because Heroku will only checkout the master branch, I use the
following refspec in my config file when pushing to Heroku:

[remote heroku]
url = g...@heroku.com:my-app.git
push = +HEAD:refs/heads/master
[push]
default = current

This means, push whatever branch I may be on to Heroku master.

The consequence of so many pushes to the master branch from other
branches is that Heroku's history of my project got muddles, so when I
tried pushed a new revision, things weren't loading, even though the
change was to a test file that is never run by Heroku.  I fixed it by
deleting and rebuilding my app on Heroku, which I know may be time
consuming if you have a lot of add-ons.  You may want to develop a
script if you have to do this more than once in a great while.

Of  course, don't depend on Heroku to keep your main repository.  Do
that on Github, or perhaps a shared-host where you have an account so
that it gets backed up daily.  That way, if disaster strikes, you
still have a good backup.

On Jun 11, 4:52 am, Steve Smith st...@scsworld.co.uk wrote:
 Hey, If you really need to clean out the repo and start from a clean
 init (I personally think that its worth keeping just for the history)
 then you can do something along these lines (I haven't tried it so
 backup and double check before you do it).

 # find all the git files and remove them
 cd APP_DIR
 rm -rf `find . -name .git`

 #re init the repo
 git init
 git add .

 #check everything and commit
 git commit -m 'fresh repo after cleanup'

 # Then add heroku as a remote again
 git remote add g...@heroku.com:APP_NAME.git heroku

 # Then force heroku to accept the new commit
 git push heroku master --force

 Like I said I haven't checked it so it might be worth making a copy of
 the app using a bundle or something and testing things first.

 Steve

 On Jun 8, 9:39 pm, Dan Z dza...@yahoo.com wrote:



  I've got several apps where I need to re-init or clean out the
  repository (partly to reduce the bundle size). Heroku doesn't support
  direct access to the machine.

  Is there some way (e.g. a git command) I can accomplish this without
  creating a new app and pushing my clean repository to it?

  The problem with that is that I'd have to re-add and configure all my
  addons, and it would require DNS changes, which are a pain and involve
  some downtime.

-- 
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.