List of add-ons compatible with review apps?

2019-03-28 Thread Martin Streicher
Does Heroku or anyone in the community maintain a list of add-ons suitable 
for use with review apps? I read that not all add-ons support review apps 
-- but I cannot find a list of options. 

Does each add-on document this feature? 




-- 
-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

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_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to heroku+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Heroku on Java + Caching

2014-10-25 Thread Julien Martin
Hello Julien,
I am facing the same issue as you and was considering using Redis as a 2nd 
level cache backend but I found very little relevant information.
Any luck with your original question?
Regards,
Julien Martin.

Le mardi 4 octobre 2011 13:51:29 UTC+2, Julien Dubois a écrit :

 Hi,

 - My application is a classic Java Web application (nothing fancy)
 - I'm using Hibernate
 - I'm using ehcache as Hibernate's second level cache

 As far as I understand the concept of Dynos, this will not work well with 
 my 2nd level cache: the cache will not be synchronized across all dynos 
 (considering I want to scale to more than 1 dyno).

 I couldn't find any documentation on using a Java cache on Heroku, does 
 anybody has any idea or experience on this matter?

 Cheers,

 Julien.



-- 
-- 
You received this message because you are subscribed to the Google
Groups Heroku group.

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_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
Heroku Community group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to heroku+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using custom tsearch dictionaries

2014-06-12 Thread Chris Martin
 to the Google Groups
 Heroku Community group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to heroku+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 

Cheers



Available on the App Store
https://www.google.com/url?q=https%3A%2F%2Fitunes.apple.com%2Fau%2Fapp%2Fworkible%2Fid626140962%3Fmt%3D8%26ign-mpt%3Duo%3D4sa=Dsntz=1usg=AFrqEzfOZtxdQT6B6EY_u9_Td_ALICFpLg
 and Google Play
https://play.google.com/store/apps/details?id=au.com.hiremeup.workible
Chris Martin
PO Box 554, Drummoyne  NSW  2047  Australia
m: +61.419.812.371
e: ch...@workible.com.au | w: www.workible.com.au
http://www.google.com/url?q=http%3A%2F%2Fwww.workible.com.au%2Fsa=Dsntz=1usg=AFrqEzfrEI7ku162UhibLHOmtDjlE_uVmQ
facebook
https://www.google.com/url?q=https%3A%2F%2Fwww.facebook.com%2FWorkiblesa=Dsntz=1usg=AFrqEzdoq3uP4h-iSOXPqnuI0fepVawdXQ
 | twitter
https://www.google.com/url?q=https%3A%2F%2Ftwitter.com%2FWorkiblesa=Dsntz=1usg=AFrqEzfwloI7bKFSRcTHFrWfWybA_4j-Pw
 | pinterest http://pinterest.com/workible/ | linkedin
http://www.google.com/url?q=http%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fhiremeup%2Fproducts%3Ftrk%3Dtop_nav_productssa=Dsntz=1usg=AFrqEzdGoO31SS3bks6-LeOhOFp2bVokxw
.

The information contained in this message may be privileged and
confidential.
Any dissemination, distribution, copying of or taking of any action in
reliance upon this message, other than to/by the addressee, is strictly
prohibited

-- 
-- 
You received this message because you are subscribed to the Google
Groups Heroku group.

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_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
Heroku Community group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to heroku+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is Websockets support coming?

2013-09-10 Thread Martin Saint-Macary
Same here, node and socket.io.

Any update on the roadmap? :-)

On Sunday, August 11, 2013 5:22:31 AM UTC+2, Troy Gaylord wrote:

 We're into nodejs and socket.io as well.

 Hope things are going well with the implementation. Looking forward to 
 giving it a whirl.


 On Tuesday, August 6, 2013 2:09:06 PM UTC-4, Matthew Soldo wrote:

 Hi,

 Thank you for the interest in websockets. I am a product manager at 
 Heroku. Our engineers are actively working on websockets support. Because 
 of the nature of the work, I can't commit to a timeline - it may happen 
 very quickly, or it may take longer, depending on how the the work goes.

 Can you tell me what framework(s) and libraries you plan to use for 
 websockets?

 Thanks


 On Tuesday, August 6, 2013 2:59:56 AM UTC-7, Krisztian Petrucsik wrote:

 Hi,

 Do you have an update on the websockets prototype? More precisely is it 
 coming within the next few (2 max) month?
 Thanks

 On Sunday, February 17, 2013 5:54:58 PM UTC+1, Matt Zimmerman wrote:

 It is a feature which we recognize is desirable for customers, and 
 we've 
 implemented a proof of concept for how we'd like it to work.  I can't 
 currently offer an estimate of when it will be available in production. 

 On Sat, Feb 16, 2013 at 03:20:28AM -0800, Cary Cherng wrote: 
  Is there any official estimate or comment on when Heroku will support 
  websockets? 
  
  -- 
  -- 
  You received this message because you are subscribed to the Google 
  Groups Heroku group. 
  
  To unsubscribe from this group, send email to 
  heroku+un...@googlegroups.com 
  For more options, visit this group at 
  http://groups.google.com/group/heroku?hl=en_US?hl=en 
  
  --- 
  You received this message because you are subscribed to the Google 
 Groups Heroku Community group. 
  To unsubscribe from this group and stop receiving emails from it, 
 send an email to heroku+un...@googlegroups.com. 
  For more options, visit https://groups.google.com/groups/opt_out. 
  
  

 -- 
  - mdz 



-- 
-- 
You received this message because you are subscribed to the Google
Groups Heroku group.

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_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
Heroku Community group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to heroku+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: REXML::UndefinedNamespaceException when downloading from Amazon S3

2013-02-20 Thread Martin Gogov


On Saturday, March 24, 2012 3:43:15 AM UTC+1, Danorak wrote:

 I am downloading a file from Amazon S3 into the tmp directory of my 
 heroku dyno.  I am using aws-s3 and downloading using the following 
 code: 

 def s3_get_file(filename, bucket_name) 
 logger.debug S3 - Streaming #{filename} from bucket 
 #{bucket_name} to temp 
 temp = Tempfile.new(s3) 

 File.open(temp.path, 'wb') do |file| 
   AWS::S3::S3Object.stream(filename, bucket_name) { |segment| 
 file  segment 
   } 
 end 

 temp.path 
 end 

 This works fine on my local machine but when running on heroku I get 
 the following exception. 

 2012-03-24T02:18:12+00:00 app[web.1]: 
 REXML::UndefinedNamespaceException (Undefined prefix Net: found): 
 2012-03-24T02:18:12+00:00 app[web.1]:   app/controllers/ 
 application_controller.rb:73:in `block in s3_get_file' 
 2012-03-24T02:18:12+00:00 app[web.1]:   app/controllers/ 
 application_controller.rb:72:in `open' 
 2012-03-24T02:18:12+00:00 app[web.1]:   app/controllers/ 
 application_controller.rb:72:in `s3_get_file' 

 Line 73 is the S3Object.stream call. 

 Any ideas what is going on here. 

 Thanks

-- 
-- 
You received this message because you are subscribed to the Google
Groups Heroku group.

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_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
Heroku Community group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to heroku+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Ask a web dyno if it is currently up, from the outside?

2013-01-09 Thread Martin Moss
I do this in python in this code
https://github.com/martyzz1/heroku_proc_scalar_app/blob/master/worker.py

def get_current_dynos(heroku_app, procname):
try:
web_proc = heroku_app.processes[procname]
except KeyError:
return 0
else:

cpt = 0
for proc in web_proc:
print %s is %s % (proc, proc.state)
cpt += 1

return cpt


proc.state should give you up, starting, crashed

Regards

Marty



On 7 January 2013 19:03, geemus wes...@heroku.com wrote:

 Interesting. You might also be able to figure out state by looking at
 router related logs even when it wasn't yet being routed to. I haven't
 tried doing this myself, but might get you what you are after.


 On Wednesday, December 26, 2012 7:44:36 AM UTC-8, Andrew Lorente wrote:

 Hi,

 I'm writing a commandline client that consumes a web api that currently
 lives in a single web dyno. I'd like the client to be able to tell the user
 hey the dyno is starting up; it'll be a second. Short of having the
 heroku credentials and asking heroku directly, is there any way to get that
 information?

 Andrew

  --
 You received this message because you are subscribed to the Google
 Groups Heroku group.

 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_US?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Heroku group.

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_US?hl=en


Re: app transfer and billing

2013-01-09 Thread Martin Moss
Just email support, and they'll sort it for you

Basically both the owner and the account to be transferred to should email
support confirming the transfer, and they'll organise it for you. The
billing will transfer to the new owner - or at least this was what happened
to us.

Marty


On 17 December 2012 17:46, Josh Coffman joshcoff...@gmail.com wrote:

 Hi,

   Does anyone know what happens if you transfer an app with paid services
 to a new owner? We have accounts under 2 different logins, and would like
 to consolidate to a single account. I'm concerned that paid services will
 be suspended or lost.

 Thanks,
 josh

  --
 You received this message because you are subscribed to the Google
 Groups Heroku group.

 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_US?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Heroku group.

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_US?hl=en


Re: How do you manage your production secrets (API key's etc.) without using source control?

2012-10-29 Thread Martin Wawrusch
To chime in here a bit,

what we and a lot of others I know of would really like to see is a
separate, distributed config store that securely stores and manages config
variables, with a nice admin api and a way to track changes and update
servers in real-time (socket.io comes to mind). It's definitely something
we would pay for. The only thing that would be stored in env vars is some
secret key to access the config store.

On Mon, Oct 29, 2012 at 12:39 PM, Keenan Brock kee...@thebrocks.net wrote:

 Hi Jay,

 I really like storing config vars in .env
 adding the file to gitignore and it doesn't go into the database

 If you didn't get enough from the heroku-config gem, there are more
 details are in a heroku article:

 https://devcenter.heroku.com/articles/config-vars#using-foreman

 Since foreman knows about the .env file (also written by David), locally
 it is quite simple to use. And it acts as a recipe to remember what to
 publish.

 If you are using pow, you may need to add add source .env to your .powenv

 you may want to check in a .env.sample file, much the same way you create
 a database.sample.yml file.
 So it is quick for people to get up to speed, but the secrets are not
 checked in.

 --Keenan

 On Monday, October 29, 2012 at 2:25 PM, Jay Vyas wrote:

 It would be nice if heroku gave us a bootstrap script that could be
 uploaded and downloaded, that came with default templates and commands that
 we could toggle (like setting env variables and stuff).  Does anything like
 this exist already?  Such a paradigm would be great for adding API keys and
 stuff as env variables .

 --
 You received this message because you are subscribed to the Google
 Groups Heroku group.

 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_US?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Heroku group.

 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_US?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Heroku group.

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_US?hl=en


Re: Accessing server app on Heroku from a local client

2012-06-06 Thread Martin Wawrusch
You need to implement something like this in your backend:
https://gist.github.com/1306507


On Wed, Jun 6, 2012 at 12:07 PM, Vikas Hazrati vi...@knoldus.com wrote:

 Hi,

 We have a scenario where we need to access our Scalatra based app deployed
 on heroku via local backbone.js application. The use case being that
 backbone development is loosely coupled to the server side through JSON
 interchange.

 The problem that we are running into is related to CORS. When we access
 the server from our local backbone app, we get the following error

 XMLHttpRequest cannot load http://myapp.herokuapp.com/user/authenticate.
 Origin null is not allowed by Access-Control-Allow-Origin.

 Is there a way to specify the header('Access-Control-Allow-Origin: *') for
 our app  in heroku?

 should we be doing it another way?

 Regards | Vikas
 www.knoldus.com
 blog.knoldus.com


  --
 You received this message because you are subscribed to the Google
 Groups Heroku group.

 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_US?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Heroku group.

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_US?hl=en


Re: Heroku Scheduler API ?

2012-03-09 Thread Martin Moss
How would I use this to run a PHP script?
On Mar 5, 2012 3:02 AM, Mark Pundsack m...@heroku.com wrote:

 Sorry for the delayed response. We updated the docs to mention running
 Procfile entries via `heroku run`:
 http://devcenter.heroku.com/articles/oneoff-admin-ps

 Anything that works via `heroku run` works via Heroku Scheduler. Just put
 the name of the process type as the 'task in Scheduler. No special syntax
 required. And you can even pass it arguments.

 On Feb 22, 2012, at 5:51 PM, kowsik wrote:

 Didn't know that. I thought the scheduler can only run commands, like
 rake tasks and what not. Assuming my Procfile has this:

 cleanup: bundle exec rake jobs:cleanup

 How exactly can the scheduler reference the cleanup process without
 duplicating the 'bundle exec ..' line?

 K.
 ---
 http://blitz.io
 @k0ws1k

 On Wed, Feb 22, 2012 at 8:04 AM, Mark Pundsack m...@heroku.com wrote:

 Thanks for the feedback.


 In case this wasn't obvious, Scheduler can certainly reference elements in
 the Procfile. If you've got a cleanup entry defined, for example, you can
 just set up Scheduler to run cleanup every hour, or whatever.


 On Feb 22, 2012, at 7:58 AM, kowsik wrote:


 I second the the API and/or the CLI integration. We have multiple apps

 with various background processes. It's hard to get a global

 perspective of what exactly is happening in the app, since the

 scheduler tasks are not in the Procfile.


 So I would have to check the Procfile, do a heroku ps, go to the

 scheduler's dashboard and see what's scheduled for when to really

 understand the app. This is especially important when we add new

 members to the team.


 Maybe the scheduler should reference a named element in the Procfile?


 K.

 ---

 http://blitz.io

 @k0ws1k


 On Wed, Feb 22, 2012 at 7:13 AM, Mark Pundsack m...@heroku.com wrote:

 Sorry, there's no API for scheduler. Can I ask what you want one for?


 On Feb 22, 2012, at 3:05 AM, Michel Pigassou wrote:


 Hi

 Is there an API for the Heroku Scheduler

 (https://addons.heroku.com/scheduler) or do we have to go through the web
 UI

 ?


 --

 You received this message because you are subscribed to the Google Groups

 Heroku group.

 To view this discussion on the web visit

 https://groups.google.com/d/msg/heroku/-/9OFedCoHRF4J.

 To post to this group, send email to heroku@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 heroku@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 heroku@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 heroku@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 heroku@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 heroku@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 heroku@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: Hiding data files

2012-03-09 Thread Martin Moss
Have you tried creating a htaccess file?

I use htaccess files on cedar and they seem to work ad you would expect

Regards

Marty
On Mar 2, 2012 5:03 AM, Eric Laberge e.labe...@gmail.com wrote:

 Hi!

 I think this should be basic stuff, but I failed to find an answer through
 the documentation or the mailing list archive.

 I have a PHP script that use data from another file:

 File1.php
 ?php
   printf( file_get_contents( './File2.inc' ) );
 ?

 File2.inc
 Hello World!

 I want my script to run successfully through Heroku  (
 http://example.herokuapp.com/File1.php ), but I don't want the data file
 to be reachable ( http://example.herokuapp.com/File2.inc ).

 This would be trivial with Apache htaccess or nginx location, but I can't
 figure it out on Heroku.

 Regards!
 --
 Eric Laberge

 --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/heroku/-/0IpvJZ-oHxwJ.
 To post to this group, send email to heroku@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 heroku@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: Sending Emails from Rails on the cedar stack

2012-03-09 Thread Martin Wawrusch
Definitely go for sendgrid. Not even worth thinking about using gmail.
Sending emails is a real pita...

On Sat, Mar 3, 2012 at 2:57 PM, Ray B raybo...@gmail.com wrote:

 Everything in my Rails app (3.2.1) runs just fine, except that when I
 try to use action_mailer to send emails, the emails go off into the
 void unless the recipient is an address @gmail.com.  The approach I'm
 using for this is to set the action_mailer config values to use gmail
 to send the email.  I set the domain to the same as the user_name,
 which is a valid gmail.com user.  I've seen the docs that suggest
 using Adam Wiggins' gmail_smtp.git, but that is 3 years old, and I
 don't think Rails 3.2.1 even responds to script/plugin install anymore
 9at least it didn't for me).  The other option seems to be to use the
 free version of the sendgrid plugin, but I'm curious about why I'm
 getting such odd results with just trying to use gmail.com.  I trust
 it is obvious that I am a newbie at Heroku!

 Thanks for any help!



-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@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: Fixed IP? Will my idea work...

2012-03-08 Thread Martin Wawrusch
Either expose a webservice on both ends (heroku and your fixed ip instance)
or pump it through a message queue. There is a hosted rabbitmq add on for
heroku that's free for low usage or you can use iron.io message queue,
which gives you 250k  requests per month for free.

Also, for the proxy I would consider running it under node.js on the
cheapest virtual server on rackspace.com, which goes for $10 a month.


On Thu, Mar 8, 2012 at 11:33 AM, Karl threadh...@gmail.com wrote:

 On Thursday, March 8, 2012 12:25:56 PM UTC-7, Peter van Hardenberg wrote:

 On Thu, Mar 8, 2012 at 11:21 AM, Karl  wrote:

 So, I need to connect to a SOAP API that *requires* the caller have a
 fixed IP address. We all know that heroku has two options: $100 a month for
 fixed ip ssl, or no-can-do. And I'm not convinced that the instance doing
 the calling will reveal the fixed ip anyway.

 So, my thought is that I could create an EC2 micro instance, give it an
 elastic IP address, and hobble together a quick sinatra app to receive
 calls from my heroku app and have it make the SOAP calls. But I would like
 this EC2 instance (not under heroku's app structure) to connect to the
 postgres db directly. I'm using the shared postgres db, but I may be
 willing to go with an add-on if it works.

 Is this possible, will it work?

 PS - yes, I know I could have the sinatra app just return the SOAP XML
 back to the heroku app, and that is my plan 'B'. But if it could talk to
 the postgres db directly, it would make the setup easier and simpler.


 The shared databases don't support ingress from outside the Heroku cloud,
 but the production databases do.

 -p


 Thanks Peter. My client won't pony up for the $200/mo Ronin, but I wish
 they would.

 Do you have any advise on the best way to handle this task in a heroku app
 (API receiver requires fixed ip address)?

 --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/heroku/-/iFdgiF2C4SsJ.

 To post to this group, send email to heroku@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 heroku@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: Allow top-level domains to point to a vanity subdomain?

2012-02-21 Thread Martin Streicher
Keenan: Yes, thanks. I have this configuration already. What I wanted
was another proxy.

On Feb 20, 5:31 pm, Keenan Brock kee...@thebrocks.net wrote:
 Hi Martin,

 There are 2 things.

 1. The browser needs to resolve the domain name to heroku's servers.
 You tell DNS to point a.app.com (http://a.app.com) or example.com 
 (http://example.com) to the right app server [app.heroku.com 
 (http://app.heroku.com)].
 The CNAME record does this.
 You can tell DNS to point all *.app.com to point to heroku.com.

 2. The app server at Heroku needs to route the request to the right 
 Application.
 The heroku.add_domain example does this.
 Or if you have a simple app, the web configuration does this.

 If you use a wild card domain (heroku wild card), then it is easy to say 
 *.app.com (http://app.com) all point to your code base.

 If you do not/can not wild card the domains, then you will need to add every 
 entry to link to your app.
 So if you are adding another domain, e.g.: example.com (http://example.com), 
 you'll probably need to add this via the command line.

 Did that help?

 —Keenan







 On Sunday, February 19, 2012 at 2:04 PM, Martin Streicher wrote:
  I have a Rails 3.2 app on Heroku.

  It accepts wildcards and subdomains, so each user can have a vanity
  subdomain, such as a.app.com (http://a.app.com), b.app.com 
  (http://b.app.com), etc.

  What I want to do is let a user point example.com (http://example.com) to 
  a.app.com (http://a.app.com).

  What would I have to change in the example.com (http://example.com) DNS 
  config to make this
  work? And what do I change in my app?

  I am guessing example.com (http://example.com) is just a CNAME for 
  a.app.com (http://a.app.com). But how does
  my app know what to do -- it needs to know that example.com 
  (http://example.com) is really
  a.app.com (http://a.app.com). I suppose I could tell the app that -- the 
  user could
  configure it.

  Just trying to figure out the proxy madness for this... since
  a.app.com (http://a.app.com) is a proxy to app.heroku.com 
  (http://app.heroku.com). Does example.com (http://example.com) have to be a
  proxy to app.heroku.com (http://app.heroku.com)?I am guessing that wont 
  work.

  Any ideas would be awesome.

  --
  You received this message because you are subscribed to the Google Groups 
  Heroku group.
  To post to this group, send email to heroku@googlegroups.com 
  (mailto:heroku@googlegroups.com).
  To unsubscribe from this group, send email to 
  heroku+unsubscr...@googlegroups.com 
  (mailto: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 heroku@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.



Allow top-level domains to point to a vanity subdomain?

2012-02-20 Thread Martin Streicher
I have a Rails 3.2 app on Heroku.

It accepts wildcards and subdomains, so each user can have a vanity
subdomain, such as a.app.com, b.app.com, etc.

What I want to do is let a user point example.com to a.app.com.

What would I have to change in the example.com DNS config to make this
work? And what do I change in my app?

I am guessing example.com is just a CNAME for a.app.com. But how does
my app know what to do -- it needs to know that example.com is really
a.app.com. I suppose I could tell the app that -- the user could
configure it.

Just trying to figure out the proxy madness for this... since
a.app.com is a proxy to app.heroku.com. Does example.com have to be a
proxy to app.heroku.com? I am guessing that wont work.

Any ideas would be awesome.

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@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: Interactive console on Cedar

2012-01-13 Thread Martin Aspeli
On 13 January 2012 20:39, Mark Pundsack m...@heroku.com wrote:
 Is it a ruby app? `console` is for the interactive ruby console. If
 it's some other language (or you haven't pushed any code at all yet),
 there may not be the equivalent. If you want a shell, then `heroku run
 bash` should work.

Ah, that makes sense!

No, it's not a Ruby app. ;-)

Bash works. Thanks a lot! The docs are not very clear on this point, by the way.

Martin

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@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: Interactive console on Cedar

2012-01-10 Thread Martin Aspeli
On 10 January 2012 15:15, Neil Middleton neil.middle...@gmail.com wrote:
 heroku run console is fine on the cedar stack.

Okay, I'm probably missing something. This is on OS X Lion. I do the following:

$ heroku login
$ heroku run console --app=myapp
Running console attached to terminal... up, run.1
$

At this point I was expecting to be inside an interactive console.
Instead I'm back at my (local) shell.

Martin

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@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: getting started

2011-09-30 Thread Martin Wawrusch
add

gem 'pg'

to your gemfile

On Mon, Sep 26, 2011 at 3:39 PM, Chris Finch cptfi...@gmail.com wrote:

 Hi , sorry for the newb question but I followed the getting started
 with Heroku guide, got to the heroku rake db:migrate part and get the
 following:


 rake aborted!
 Please install the postgresql adapter: `gem install activerecord-
 postgresql-adapter` (pg is not part of the bundle. Add it to Gemfile.)


 activerecord-postgresql-adapter doesn't exist - what do I do?

 Chris.

 --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To post to this group, send email to heroku@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 heroku@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: MongoHQ Connection Issues

2011-03-07 Thread Martin Solli
After the improvements MongoHQ did this weekend, we're no longer seeing the 
timeouts. It think they nailed it.

-martin

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@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: MongoHQ Connection Issues

2011-03-04 Thread Martin Solli
Great! Thanks, John.

Today MongoHQ sent out a notification that will be upgrading their Pearl db 
server to alleviate some of the recently reported issues. Hopefully we'll 
see some improvement.

-martin
   

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@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.



MongoHQ Connection Issues

2011-03-02 Thread Martin Solli
The last couple of months we've seen sporadic connection issues from our 
Heroku app to MongoHQ. It's usually about 10-20 a day, and a typical error 
looks like this (from Exceptional):

VersionsController# (Timeout::Error) execution expired

/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/connection.rb:797:in
 
`read'
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/connection.rb:797:in
 
`receive_message_on_socket' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/connection.rb:667:in
 
`receive_header' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/connection.rb:657:in
 
`receive' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/connection.rb:435:in
 
`block in receive_message' internal:prelude:10:in `synchronize' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/connection.rb:433:in
 
`receive_message' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/cursor.rb:384:in
 
`block in send_initial_query'
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/connection.rb:543:in
 
`instrument' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/cursor.rb:383:in
 
`send_initial_query' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/cursor.rb:348:in
 
`refresh' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/cursor.rb:72:in
 
`next_document' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/db.rb:492:in
 
`command' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/connection.rb:636:in
 
`check_is_master' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/connection.rb:455:in
 
`connect' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/connection.rb:512:in
 
`checkout_reader' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/connection.rb:428:in
 
`receive_message' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/cursor.rb:384:in
 
`block in send_initial_query' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/connection.rb:543:in
 
`instrument' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/cursor.rb:383:in
 
`send_initial_query' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/cursor.rb:348:in
 
`refresh' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/cursor.rb:72:in
 
`next_document' 
/app/065b4f1b-fbaf-40c9-a050-993b7f0765e6/home/.bundle/gems/ruby/1.9.1/gems/mongo-1.2.4/lib/mongo/collection.rb:229:in
 
`find_one'


I've been in contact with MongoHQ support regarding this, but they haven't 
found a solution yet. There's a thread over at their support forums where we 
try to find the cause for this. If you've experienced the same thing, please 
join in with your experiences and possible workarounds:
http://support.mongohq.com/discussions/problems/233-connection-failure-issues

-martin

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@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.



1 hour inactivity idling and http caching

2011-01-07 Thread Martin Petrov
Hi,

Looking at my logs I see that if my application is not used for 1 hour
its state is changed from up to down. Next time a request comes it
takes several seconds to start again.

Does requesting an http cached page keeps the application alive? My
app has only one page, which is http cached.

-- 
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: 1 hour inactivity idling and http caching

2011-01-07 Thread Martin Petrov
If this is the case then I should remove http caching in order to
prevent the app from shutting down as much as possible.
But... why requesting a cached page starts the app if the request is
never handled by the app?

On Jan 7, 11:18 am, Steve Smith st...@scsworld.co.uk wrote:
 I'm not an expert on this so I would double check, however I think this is 
 all the case,

 If you only have one dyno then the app will shutdown when there are no 
 requests for a certain time period. I believe this isn't the case once you 
 have more than one dyno but in my experience at that point you have enough 
 concurrent connections to keep things alive anyway.

 If you are caching the page it will be stored in varnish so the request will 
 never be handed out to the app and will therefore allow the app to shutdown.

 Steve

 On 7 Jan 2011, at 09:02, Martin Petrov wrote:







  Hi,

  Looking at my logs I see that if my application is not used for 1 hour
  its state is changed from up to down. Next time a request comes it
  takes several seconds to start again.

  Does requesting an http cached page keeps the application alive? My
  app has only one page, which is http cached.

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



Cron, delayed jobs and workers scaling

2011-01-05 Thread Martin Petrov
Hi,
Could you help me with setting up a delayed job?

I have installed the delayed_job(collectiveidea) gem,
the workless gem,
daily cron addon,
and I have a verified credit card.

Do you know how to modify the following cron.rake file, in order to make it 
work with the delayed_job gem? 
... I'm not very experienced.

desc This task is called by the Heroku cron add-on
task :cron = :environment do
  puts start sending notification
  User.each do |user|
UserMailer.notification_mail(user).deliver
  end
  puts end sending notification
end

-- 
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: Cron, delayed jobs and workers scaling

2011-01-05 Thread Martin Petrov
Ok, thank you.  I think I understand it more now.

On Wed, Jan 5, 2011 at 11:43 PM, Abel Tamayo abel.tam...@gmail.com wrote:
 I think you got it all wrong. Cron and Delayed Job are two completely
 different and unrelated things; they don't have to work together.
 Maybe you should take a look at the examples in the wiki as they're pretty
 accurate both at showing  you how to use and configure each and at helping
 you chose which one is more appropriate in your case.

 On Wed, Jan 5, 2011 at 5:34 PM, chris mcclellan...@gmail.com wrote:

 Cron and delayed_job are entirely separate things.

 You use cron if you want to run things daily (or hourly). Say you want to
 send a daily report to all your users, you would use the code your posted
 above.

 You use delayed_job if you want to run something in the background (email
 sending, heavy processing, etc) after something happens. Say, someone buys
 something from your site and you want to send them a receipt. You would do
 this via delayed_job, doing something like
 UserMailer.send_later(:notification_mail, user)

 Hope that helps!

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



cron to request a page

2010-12-20 Thread Martin Petrov
Hi,
I'm using http caching and I want to run a daily cron to request a page in 
order to update the cache.

I learnt how to make a cron at: http://docs.heroku.com/cron

Could you tell me how to request a page?

-- 
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: haml on heroku

2010-10-24 Thread Martin
all you need to do is this:

production.rb:
Sass::Plugin.options[:never_update] = true

martin


On Oct 22, 5:48 pm, Josh Coffman joshcoff...@gmail.com wrote:
 I was just finally trying haml and did a quick push up to heroku to make
 sure it worked. I think causing a problem with the read-only file system.
 Can anyone confirm, or know of a way to get haml working on heroku?

 This was the production log from the heroku command line:

 == production.log ==

 Started GET / for 72.208.78.46 at 2010-10-22 15:40:00 -0700

 Errno::EROFS (Read-only file system -
 /disk1/home/slugs/274925_92988c8_75a6-15f7f62e-5365-490a-9a8a-f6b735d4b340/ 
 mnt/public/stylesheets/ie.css
 - Heroku has a read-only filesystem.  
 Seehttp://docs.heroku.com/constraints#read-only-filesystem):

 Thanks,
 Josh

-- 
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: Neo4j

2010-09-29 Thread Martin Solli
Thanks! Yes, it seems setting up an instance on Amazon EC2 would be
the way forward for the time being. I'll keep the group posted when I
get something running.

-martin




On Fri, Sep 24, 2010 at 1:25 AM, Stephen Cremin asianf...@gmail.com wrote:
 This is something I'm also very interested in.
 Googling, there do seem to be examples of people who have set up their own
 Neo4j instances on Amazon's cloud, which would presumably have low-latency
 talking to Heroku.
 There are some very raw official instructions here:
 http://wiki.neo4j.org/content/Neo4j_in_the_Cloud

 The official REST interface is still at an early stage of development, and
 it might make more sense to implement your own REST interface using a
 Sinatra or Rails app in JRuby with the rapidly evolving Neo4j.rb gem:
 http://github.com/andreasronge/neo4j/wiki
 That would ideally be hosted on Amazon, with your Heroku application
 communicating with your data through the REST interface you create. The
 advantage of rolling your own, is that your REST interface can be domain
 specific.
 I'd LOVE to see a Neo4j add-on, but any REST interface offered is going to
 be extremely limited. And I'd still need to host an application running
 JRuby somewhere to use the descriptive power of the Neo4j.rb gem.
 If you make any progress, do post here.
 Stephen


 On 23 September 2010 16:18, Martin Solli mso...@gmail.com wrote:

 Is there anyone offering Neo4j instances in the cloud? If so, what are
 your experiences, and have you used it with a Heroku-hosted app?

 -martin

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



Neo4j

2010-09-23 Thread Martin Solli
Is there anyone offering Neo4j instances in the cloud? If so, what are
your experiences, and have you used it with a Heroku-hosted app?

-martin

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



Running custom executables in your app

2010-08-27 Thread Martin Solli
Hello

I'd just like to share this with you guys, maybe it will come in handy
for somebody someday.

I have a rake task for importing data from an external source. The
data includes geographic information that need to be converted using
the proj command-line utility (http://trac.osgeo.org/proj/). I opened
a support ticket to have Heroku install this, which is a standard
package in most Linux distros. For some unspecified reason they were
not able to do this, but instead asked me to try and include a
pre-compiled binary for the AMD64 platform in a bin/ directory of my
app.

So I randomly selected the latest Ubuntu distro, and got the
libproj0_4.7.0-1_amd64.deb and proj-bin_4.7.0-1_amd64.deb from there.
These can be unpacked with tar xzvf file, and somewhere inside the
executables and the libraries can be found. I copied the 'proj'
executable and the 'libproj.so.0' library to a new bin/ directory of
my app, checked them into git, and pushed to Heroku.

After a bit of experimenting in the console, this is how I got the
program to run:
`LD_LIBRARY_PATH=$LD_LIBRARY_PATH:#{ENV['APP_ROOT']}/bin
#{ENV['APP_ROOT']}/bin/proj 21`

This includes the bin/ dir in the LD_LIBRARY_PATH environment
variable, so that the proj executable is able to find the libproj.so.0
library file. The '21' part just combines STDOUT and STDERR, so that
I'm able to see the output.

parvati:some-app martin$ heroku console
Ruby console for some-app.heroku.com
 `LD_LIBRARY_PATH=$LD_LIBRARY_PATH:#{ENV['APP_ROOT']}/bin 
 #{ENV['APP_ROOT']}/bin/proj 21`
= Rel. 4.7.1, 23 September 2009\nusage: proj [ -beEfiIlormsStTvVwW
[args] ] [ +opts[=arg] ] [ files ]\n


I love it when stuff works. Happy hacking!

-martin

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