curl from heroku

2009-03-28 Thread Ryan Mahoski
I want to do a ruby 'curl -I some-remote-uri' to get the header on a file I'm prompting the user for the location of. But curl is a system command and since I don't have access to the shell on heroku I assume I can't use curl. The reason I want curl is to get content-length. How can I do an

Re: curl from heroku

2009-03-28 Thread Adam Wiggins
You can use curl, via the backticks you suggested. However, it would be more portable to do it with pure Ruby, using a library such as RestClient, HTTParty, or good ol' fashioned Net::HTTP. Adam --~--~-~--~~~---~--~~ You received this message because you are

SSL?

2009-03-28 Thread melvin ram
Is there a way to add SSL to my app w/ custom domain yet? This is not optional for production apps since I need/want to charge for my apps. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to

Re: curl from heroku

2009-03-28 Thread Ryan Mahoski
That is good news, thanks. On Mar 28, 1:58 pm, Adam Wiggins a...@heroku.com wrote: You can use curl, via the backticks you suggested.  However, it would be more portable to do it with pure Ruby, using a library such as RestClient, HTTParty, or good ol' fashioned Net::HTTP. Adam

Error pushing project

2009-03-28 Thread melvin ram
I just pushed a rails project and it gave this error: http://pastie.org/private/t10ympvvphkumczrez4yg Is this because of the size of the project? I'm just porting over an app and it has lots of images. I'm going to move the images to aws s3 but I just wanted to move the project over this weekend