Re: EXIF support on Heroku?

2010-06-08 Thread Patrick Crowley
Anyone have any thoughts on this?

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



Occasional Memcached::ServerIsMarkedDead Error

2010-06-08 Thread chris
Hey y'all,

I'm getting an occasional Memcached::ServerIsMarkedDead error when
folks hit the app. It seems to work fine if I wait a while or just
restart the app.

What do you guys do to catch this error? begin rescue retry? fail
gracefully (somehow?)?

-- 
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: EXIF support on Heroku?

2010-06-08 Thread Patrick Crowley
I'm really looking for the simplest method of accomplishing this, so
setting up another, non-heroku server isn't an option for me.

Also, gem manifests don't seem to support custom libraries:

rtomayko 1 year ago
@foca Right. Extension gems that require system libraries won't build
without the system libs installed and we have no plans for automating
that process at gem install time. We're in the process of building a
list of gems that depend on system libs and plan to add support for
them based on demand. Sending a note to the heroku mailing list is
probably the fastest way to get your gem on the list at the moment.

http://blog.heroku.com/archives/2009/3/10/gem_manifests/

Has this changed?

-- 
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: Suppressing confirmation messages with heroku db:pull & heroku db:push

2010-06-08 Thread Hemal Kuntawala
Specify your database.. e.g: heroku db:pull *
mysq://somename:somep...@localhost/somedatabase* --force

On 8 June 2010 16:53, Jonathan  wrote:

> I get this:
>
>  8:45:33 C:\hf1> heroku  db:pull --force
> Loaded Taps v0.3.6
> Warning: Data in the database '--force' will be overwritten and will
> not be recoverable.
> Are you sure you wish to continue? (y/n)? n
>
> If I put the --force first, I get 'Unknown command.'
>
> Any suggestions?  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 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: Suppressing confirmation messages with heroku db:pull & heroku db:push

2010-06-08 Thread Jonathan
I get this:

 8:45:33 C:\hf1> heroku  db:pull --force
Loaded Taps v0.3.6
Warning: Data in the database '--force' will be overwritten and will
not be recoverable.
Are you sure you wish to continue? (y/n)? n

If I put the --force first, I get 'Unknown command.'

Any suggestions?  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 at 
http://groups.google.com/group/heroku?hl=en.



Re: EXIF support on Heroku?

2010-06-08 Thread Shane Witbeck
A pattern I've adopted is to host a worker on a non-Heroku server and wrap
it with a RESTful api via Sinatra or use RabbitMQ if you need something more
robust.

-Shane


On Tue, Jun 8, 2010 at 10:15 AM, Patrick Crowley wrote:

> Has anyone been able to extract EXIF information from photo uploads on
> Heroku?
>
> Most EXIF parsing gems are wrappers for libraries that aren't
> available on the Heroku stack. (And we can't install these libraries
> manually as you'd normally do on a VPS.)
>
> I'm digging into this now... just wondering if anyone already has a
> solution?
>
> 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 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: EXIF support on Heroku?

2010-06-08 Thread Keenan Brock
Kinda a hack but

If you look at mysql, they compile native c code.

I played with this in http://github.com/kbrock/tclink

Not sure what the dependencies are, but wonder if the code is tight enough to 
embed it in a gem.


--K
On Jun 8, 2010, at 10:37 AM, Richard Conroy wrote:

> 
> 
> On Tue, Jun 8, 2010 at 3:15 PM, Patrick Crowley  wrote:
> Has anyone been able to extract EXIF information from photo uploads on
> Heroku?
> 
> Most EXIF parsing gems are wrappers for libraries that aren't
> available on the Heroku stack. (And we can't install these libraries
> manually as you'd normally do on a VPS.)
> 
> 
> You can install non-standard gems on heroku. You need to look into updating
> your .gems file manifest. It can be a bit tricky if your gem has dependencies
> that are not part of the heroku stack. It will compile native gems for you 
> (within
> reason - no Win32 gems for instance) and generally works pretty well.
>  
> It can make your app size very big though, and can make deploy times very
> lengthy.
>  
> 
> -- 
> http://richardconroy.blogspot.com
> 
> -- 
> 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: EXIF support on Heroku?

2010-06-08 Thread Richard Conroy
On Tue, Jun 8, 2010 at 3:15 PM, Patrick Crowley wrote:

> Has anyone been able to extract EXIF information from photo uploads on
> Heroku?
>
> Most EXIF parsing gems are wrappers for libraries that aren't
> available on the Heroku stack. (And we can't install these libraries
> manually as you'd normally do on a VPS.)
>
>
> You can install non-standard gems on heroku. You need to look into updating
your .gems file manifest. It can be a bit tricky if your gem has
dependencies
that are not part of the heroku stack. It will compile native gems for you
(within
reason - no Win32 gems for instance) and generally works pretty well.

It can make your app size very big though, and can make deploy times very
lengthy.


-- 
http://richardconroy.blogspot.com

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



EXIF support on Heroku?

2010-06-08 Thread Patrick Crowley
Has anyone been able to extract EXIF information from photo uploads on
Heroku?

Most EXIF parsing gems are wrappers for libraries that aren't
available on the Heroku stack. (And we can't install these libraries
manually as you'd normally do on a VPS.)

I'm digging into this now... just wondering if anyone already has a
solution?

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 at 
http://groups.google.com/group/heroku?hl=en.



Re: Suppressing confirmation messages with heroku db:pull & heroku db:push

2010-06-08 Thread Hemal Kuntawala
+1 Thank you thank you!

(And thanks to Steven, too >
http://www.mail-archive.com/heroku@googlegroups.com/msg04909.html He
articulated my question so well all I had to do was copy it... I hope he
sees this answer!)



On 8 June 2010 04:15, Jonathan  wrote:

> Thank you thank you!
>
> --
> 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.