Re: Connecting to EC2 services & Security

2012-04-06 Thread Adam Wiggins
On Wed, Apr 4, 2012 at 6:13 PM, Eric Jain wrote: > If I follow the instructions at > https://devcenter.heroku.com/articles/external-services, > any Heroku app will be able to connect to my security group. Correct? Correct. Adam -- You received this message because you are subscribed to the Go

Re: Same-dyno communication via TCP sockets (for worker task)

2012-02-22 Thread Adam Wiggins
How about a FIFO? Use mkfifo to create a named pipe inside your ephemeral filesystem, then launch your two child processes. One can write to it, the other can read. So using your bash example: $ heroku run bash ~ $ mkfifo myfifo ~ $ cat myfifo | ./run_listener_process ~ $ ./run_

Re: Multiple Apps, Multiple Clients. One Account?

2011-12-01 Thread Adam Wiggins
On Fri, Nov 25, 2011 at 12:55 PM, anentropic wrote: > I found a place in the FAQs where it says "Each application receives > 750 free dyno hours per month" but would like to confirm that it > really is per app. > Correct, it's per-app. Adam -- You received this message because you are subscri

Re: basic question about dyno RAM

2011-12-01 Thread Adam Wiggins
On Fri, Nov 25, 2011 at 11:16 AM, anentropic wrote: > Is this broadly comparable to Heroku... i.e. the whole 512MB is > available to user processes? Yes, all 512MB goes to your processes. Adam -- You received this message because you are subscribed to the Google Groups "Heroku" group. To po

Re: fatal: Not a git repository (or any of the parent directories): .git

2011-11-29 Thread Adam Wiggins
Slugs don't have git repositories in them. Something in your app is trying to do a Git operation when it boots -- you should figure out what it is and remove it. You can duplicate it locally by moving your .git directory to .git-bak, and then try running your app. Adam -- You received this mes

Re: Cannot acces app in Console

2011-11-23 Thread Adam Wiggins
What do you run locally to get a console? Whatever it is, prefix it with `heroku run` and you should be set. e.g. if you normally type: $ bundle exec rails console Then to run remotely: $ heroku run 'bundle exec rails console' Or if it's a Sinatra app: $ bundle exec irb -r ./web

Re: Procfile, cedar and logs

2011-10-17 Thread Adam Wiggins
You might try putting this at the top of your email:work task: STDOUT.sync = true Ruby buffers output by default, which can cause it to delay appearing in the logs until you have enough output. Adam -- You received this message because you are subscribed to the Google Groups "Heroku" grou

Re: Node / Express app.js not in root directory

2011-10-14 Thread Adam Wiggins
It doesn't matter where your sourcecode sits. All that matters is that package.json is in your top-level directory. Adam -- 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 fro

Re: Caching POST Requests

2011-10-11 Thread Adam Wiggins
On Tue, Oct 11, 2011 at 7:32 PM, Karl wrote: >2011-10-11T20:53:27+00:00 app[web.1]: cache: [POST /printed.xml] > invalidate, pass > > What does the "cache: [...] invalidate, pass" mean? > Note that the log originates with your app, process name web.1. This is coming from your app, not Herok

Re: Cedar migrations

2011-07-11 Thread Adam Wiggins
On Mon, Jul 11, 2011 at 9:51 AM, Neil Middleton wrote: > ruby-1.9.2 ~/code/rest_test (master) ➔ heroku run rake db:migrate > > Unknown command. Run 'heroku help' for usage information. > You probably need to update to the latest Heroku gem: `gem install heroku` Adam -- You received this mes

Re: [Help!] DelayedJob workers die with no warnign or SIGTERM

2011-04-14 Thread Adam Wiggins
Cristiano - Is your app in maintenance mode? Adam -- 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 m

Re: H12 errors, blocked dynos and Heroku website claims.

2011-02-17 Thread Adam Wiggins
On Thu, Feb 17, 2011 at 7:15 AM, Michael Abner wrote: > In this situation I would think you'd want to upload to s3 directly and the > fire off a background worker to go and do the resizing for you. That would > keep your web dynos available to serve your requests. Exactly right. Uploads straig

Re: H12 errors, blocked dynos and Heroku website claims.

2011-02-16 Thread Adam Wiggins
Tim, You're correct, the routing mesh does not behave in quite the way described by the docs. We're working on evolving away from the global backlog concept in order to provide better support for different concurrency models, and the docs are no longer accurate. The current behavior is not ideal

Re: Help getting app to start running?

2011-02-01 Thread Adam Wiggins
On Sun, Jan 30, 2011 at 5:06 PM, Jason Preston wrote: > as part of my user model (built from scrach) I explicitly called > "require 'Digest'" in order to do a one-way hash on user passwords, > I'm guessing that was the issue. The problem here might be that your local filesystem is case-insensitiv

Re: Is there a way to be notified on Backlog Too Deep or Request Timeout?

2011-01-20 Thread Adam Wiggins
We've got some features in mind that should provide a good solution for this use-case. In the meantime, the best workaround I can suggest if you really need this would be to install the advanced logging add-on, direct the logs to your own syslog instance, and set up some kind of log analysis scrip

Re: tailing heroku logs does not work

2011-01-19 Thread Adam Wiggins
Make sure you have the latest Heroku gem: $ gem install heroku Adam -- 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...@g

Re: Feature request: an easier way to get to your addon urls

2011-01-11 Thread Adam Wiggins
Thanks for the suggestion Trevor, I agree that would be handy. Care to add it to the Heroku client and send us a patch? :) Adam -- 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 unsubscr

Re: Custom Error Pages problem

2010-12-22 Thread Adam Wiggins
Thanks for the report Joseph, we'll look into it. Adam -- 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. F

Re: Why is this Eventmachine process being terminated?

2010-12-15 Thread Adam Wiggins
On Wed, Dec 15, 2010 at 1:46 PM, Jonas wrote: > For people playing around with the daemons gem, this is the equivalent > of setting the :ontop option to true. (http://daemons.rubyforge.org/ > classes/Daemons.html#M04) I suggest not using the Daemons gem at all. Here's a hello-world eventmach

Re: Request timeouts

2010-11-15 Thread Adam Wiggins
Thanks for the thoughtful description of your situation, Josal. We appreciate your trust and are working very hard to continue to deserve it! Regarding unexpected timeouts, what we've seen is that they are almost always a result of what I call a wedged process. I blogged about this a couple year

[ANN] new crashed process handling

2010-08-27 Thread Adam Wiggins
We've just rolled out a new version of our process manager, with streamlined handling of crashed processes. A lot of you guys have been frustrated when your workers crash (libXML segfaults, for example) because the restart behavior was somewhat unpredictable. The new version follows a very simple

Re: A conclusive way to "package" static assets

2010-07-18 Thread Adam Wiggins
On Sun, Jul 18, 2010 at 5:44 PM, Julio Cesar wrote: > The official docs[1] say: > > "There is no guarantee that this file will be there on subsequent > requests (although it might be), so this should not be used for any > kind of permanent storage." > > And you just pointed out: > > "and that way

Re: A conclusive way to "package" static assets

2010-07-18 Thread Adam Wiggins
On Sat, Jul 17, 2010 at 10:57 PM, Ben Schwarz wrote: > Can you explain how dynos work across file systems? Can `/tmp` be > relied upon with multiple dynos? (disregarding the fact that `/tmp` > will be cleared at random intervals.) Your dynos are running on different machines, with no filesystem s

Re: Using Rack::StaticCache

2010-07-18 Thread Adam Wiggins
Great discussion in this thread. Matthew, your analysis and monkey-patch are very impressive! I'm just sorry you guys are stuck reverse-engineering this portion of our stack to get your apps working the way you want - that's definitely bad on us. We're hoping to be able to make heroku_rack open

Re: wiki for Heroku community?

2010-07-15 Thread Adam Wiggins
On Thu, Jul 15, 2010 at 6:50 AM, Maximilian Mack wrote: > Is there a rails wiki software out there who works with heroku? http://github.com/adamwiggins/bitswiki -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her

Re: text/cache-manifest MIME type

2010-02-24 Thread Adam Wiggins
I put together a small example of an html5 offline app using cache manifest and deployed it to Heroku: http://cachemanifest.heroku.com/ I used the clock example from the html5 draft: http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html Source code: http://github.com/adamwig

Re: flush memcached?

2010-01-24 Thread Adam Wiggins
flush_all isn't possible with the current memcache beta. We've got a major update coming soon that will add support for this. Adam -- 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 unsub

Re: gem bundler support

2010-01-21 Thread Adam Wiggins
On Wed, Jan 20, 2010 at 2:58 PM, morgoth wrote: > Great. It works perfectly. One downside: this increase slug size. True. Our experience has been that the many "dependency hell" issues that can be avoided by explicitly declaring and bundling all your gems is well worth the few MB increase in slu

[ANN] gem bundler support

2010-01-19 Thread Adam Wiggins
Gem Bundler is rapidly on its way to becoming the new community standard for managing gem dependencies in Ruby apps. Bundler is the default gem manager for Rails 3, but it will also work seamlessly with any other web framework (or no framework) since it has no dependencies itself. Using it is as s

Re: Temporary Tables - Sqlite in Memory

2010-01-19 Thread Adam Wiggins
On Tue, Jan 19, 2010 at 7:24 AM, Karl wrote: > I am thinking of using a temporary table, most likely sqlite in memory > table. This will work, but take note it will only work for a single dyno, and the contents of the table will disappear periodically when the dyno is cycled. If you add a worker

Re: Deploying from rails subdirectory within repository

2010-01-13 Thread Adam Wiggins
If you put a config.ru into the root of your project, you can point to any rack app (including rails) inside of any arbitrary subdirectory. If you're using rails, this will work: subdir = File.dirname(__FILE__) + '/my_subdir' require "#{subdir}/config/environment" use Rails::Rack::LogTailer use R

Re: do workers use the version of DJ from my app?

2009-12-23 Thread Adam Wiggins
It uses the version installed in your codebase. Adam -- 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

Re: Filesystem?

2009-12-18 Thread Adam Wiggins
On Fri, Dec 18, 2009 at 7:17 AM, iamjediknight wrote: > I have a rails app that reads liquid templates off the filesystem, as > well as content (i.e. images, html, etc.).   So will I need to store > those via Amazon S3?   Is there another way to store content? Assuming these things (templates, im

Re: redis+heroku

2009-12-18 Thread Adam Wiggins
Yes, I set this up as a demo of scanty-redis a while back: http://scanty-redis.heroku.com/ I put the Redis db on slicehost, described in the third paragraph of this post: http://adam.blog.heroku.com/past/2009/7/13/scanty_on_redis/ Adam -- You received this message because you are subscribed t

Re: Help with Deployment of multiple application versions

2009-11-25 Thread Adam Wiggins
Here are some good writeups on the subject: http://jqr.github.com/2009/04/25/deploying-multiple-environments-on-heroku.html http://suitmymind.com/blog/2009/06/02/deploying-multiple-environments-on-heroku-while-still-hosting-code-on-github/ http://stackoverflow.com/questions/1279787/staging-instanc

Re: Multiple domains pointing to different parts of the application

2009-09-08 Thread Adam Wiggins
On Tue, Sep 8, 2009 at 5:33 AM, Jay Godse wrote: > Is it possible to point > www.d1.com to "myapp.heroku.com/a1" > www.d2.com to "myapp.heroku.com/a2" Yes, although this has more to do with your web framework than Heroku. Point both domains at your app: $ heroku domains:add www.d1.com $ heroku

Re: throttling; limiting use per IP or other request parameter

2009-08-25 Thread Adam Wiggins
On Sun, Aug 16, 2009 at 7:36 PM, Brian Hammond wrote: > I can setup throttling of a web service hosted on Heroku at the app > level fairly easily (e.g. rack middleware + memcache).  However, this > causes a dyno to be busy for no reason; granted, for only a very short > time. > > It would be more

Re: Site down between Push and Migrate?

2009-08-17 Thread Adam Wiggins
On Sun, Aug 16, 2009 at 10:39 AM, Alex Chaffee wrote: > During the few seconds the restart is happening, what happens to > incoming HTTP requests? Are they queued or do they fail? If the > latter, where's the error page and can we change it? > > And what's the timing like for applying the change t

Re: multiple custom domains + wildcards for each?

2009-08-14 Thread Adam Wiggins
On Fri, Aug 14, 2009 at 9:24 AM, orlin wrote: > If one app has a couple of custom domain names set, and has wildcards > enabled, can I have wildcards turned on just for one of those? Yes. Enabling the add-on only activates the feature for use, you specify domains starting with *. to use it. So

Re: Passing environment variables to rake

2009-08-07 Thread Adam Wiggins
On Thu, Aug 6, 2009 at 11:09 AM, Keenan wrote: > I'm trying to write a rake task that requires additional data > > command: > rake USER=user1 lovdbyless:admin > > rake file: > > namespace :lovdbyless do >  task :admin => :environment do >    login=ENV['ADMIN'] You need to use ENV['USER'], or else

Re: Full-Text Indexing - How to decide?

2009-07-28 Thread Adam Wiggins
On Mon, Jul 27, 2009 at 6:23 PM, Neville wrote: > Do you have a guide, or blog post perhaps detailing best practice for > deploying Solr on Heroku or is EC2 the only way? Solr is a Java program, Heroku only runs Ruby programs. So yes, you need to run it on another server, such as a Slicehost sli

Re: Full-Text Indexing - How to decide?

2009-07-27 Thread Adam Wiggins
On Mon, Jul 27, 2009 at 3:04 PM, DyingToLearn wrote: > I am trying to figure out the best way to handle full-text indexing on > my app. The docs (http://docs.heroku.com/full-text-indexing) provide a > great starting point, but I would like some more details. > > As far as I know, I have a "small d

Re: Invalid database url for heroku db:push

2009-07-09 Thread Adam Wiggins
On Thu, Jul 9, 2009 at 12:46 PM, Sarah Allen wrote: > $ heroku db:push > Invalid database url > > development: >   <<: *defaults >   database: mightyverse_dev I think the issue here is that taps turns the database credentials into a URL/URI, and URI.parse considers underscore an invalid character

Re: Root Domain (mydomain.com not www.mydomain.com)?

2009-07-07 Thread Adam Wiggins
On Tue, Jul 7, 2009 at 7:25 AM, Ed Jones wrote: > C:\Users\Ed\webapps>host whendidji.com > whendidji.com has address 216.39.57.104 This is your problem. It should read something like this: C:\> host whendidji.com whendidji.com is an alias pointing to proxy.heroku.com Adam --~--~-~--~-

Re: Root Domain (mydomain.com not www.mydomain.com)?

2009-07-06 Thread Adam Wiggins
On Mon, Jul 6, 2009 at 7:08 AM, Ed Jones wrote: > Alas, for myapp.com, heroku just gives "Heroku | No such app. There is > no app configured at that hostname." Try: heroku domains:add myapp.com Adam --~--~-~--~~~---~--~~ You received this message because you are

Re: .gems vs. geminstaller.yml

2009-06-29 Thread Adam Wiggins
Gem Installer is a great tool, but it doesn't work well with our slug compilation process. It requires executing some code in the application, and the machine that compiles slugs is not a complete ruby environment and doesn't have the ability to do that. I think the dudes (Ryan Tomayko & Blake M

Re: Config vars and local setup

2009-06-24 Thread Adam Wiggins
Very nice, Trevor. I wonder if you could write this up into a blog post somewhere that summarizes the technique? That way we can provide the link to others that prefer not to use environment variables in their local setup. Adam --~--~-~--~~~---~--~~ You received

Re: Varnish Layer

2009-06-16 Thread Adam Wiggins
You're correct Jason, 100 varnish servers would mean that fetching a single static asset or cached page could produce up to 100 dyno hits. In practice, I don't think we'd run more than 4 or 5 varnishes in front of a single application - if it became necessary to do that at some point, we'd probabl

Re: Commit hooks for compiled Sass?

2009-06-09 Thread Adam Wiggins
Interesting discussion in that thread, thanks for the link Sean. At the moment we're not putting any development effort into allowing user code into the server-side receive hooks, as this has a lot of deep design and security ramifications that make it a pretty massive project. I think it's an i

Re: Way to see DB size used?

2009-06-03 Thread Adam Wiggins
On Wed, Jun 3, 2009 at 4:44 PM, Carl wrote: > Is there anyway to see the size of the database being used on Heroku, http://docs.heroku.com/heroku-command#app-commands Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: heroku console: ^C should clear, not exit.

2009-05-27 Thread Adam Wiggins
On Wed, May 27, 2009 at 1:27 PM, Harry Vangberg wrote: > I didn't realize the heroku console was on GitHub, will take a look > at it. > http://github.com/heroku/heroku/blob/85693066c72f86595f03ebeae338134b162639d8/lib/heroku/commands/app.rb#L115-128 --~--~-~--~~~---~

Re: heroku console: ^C should clear, not exit.

2009-05-27 Thread Adam Wiggins
Ctrl-D does exit the Heroku console as long as you at the start of a line. It's behavior is identical to irb and bash in that regard. Ctrl-C is a funny one. I experimented with irb, and on OS X it doesn't seem to do anything, although the behavior is very quirkly. On Linux it clears the line lik

Re: Heroku | Backlog too deep

2009-05-25 Thread Adam Wiggins
On Mon, May 25, 2009 at 4:43 PM, Carl Anderson wrote: > So what is the difference between a dyno and a compute unit? A dyno is a single Ruby process that can process web requests. Number of dynos = number of concurrent requests your app can process. So think of a dyno as a measure of concurren

Re: Heroku | Backlog too deep

2009-05-25 Thread Adam Wiggins
This doc is in the works right now, thanks for giving us a friendly nudge on getting it finished. :) In the meantime, here's a rough cut of the explanation: The backlog is the number of requests waiting to be processed. If you're using the default (one dyno), it can only process one request at

Re: reverting a commit?

2009-05-18 Thread Adam Wiggins
In the case where you've edited the commits or reset the HEAD to rewind to an earlier commit, you can force the push like this: $ git push -f heroku Note that if you have other people pulling from the Heroku app, they should probably destroy their master branch and fetch it fresh, to avoid accid

elevated errors today - resolved

2009-05-14 Thread Adam Wiggins
Hey folks, we'd been having elevated error rates today (the http 503 / ouchie guy page). They were very intermittent (just reload and the next request would usually work) but still very annoying. We tracked down and resolved the problem, so things should be back to normal now. Adam --~--~-

Re: App migration from EC2

2009-05-12 Thread Adam Wiggins
The correct solution in this case is to interact with your Heroku app using REST calls, or a queueing service like Amazon SQS. For example, you could have the app post requests via a lightweight web service running on your EC2 instance to request one of these operations. The request would queue

Re: Other branch -> other URL ?

2009-05-08 Thread Adam Wiggins
On Fri, Apr 24, 2009 at 7:51 AM, Damien MATHIEU wrote: > When I work on a new feature for my application, I do it in a specific > branch; I commit in that branch. > [...] > For example, have xxx.heroku.com on the branch master of the > application xxx. > And yyy.xxx.heroku.com on the branch yyy o

Re: Can't use CNAME and MX records together

2009-05-08 Thread Adam Wiggins
Another fix for this is to alias your domain to point to proxy.heroku.com instead of heroku.com. i.e.: $ host mydomain.com mydomain.com is an alias for proxy.heroku.com. proxy.heroku.com has address 75.101.145.87 proxy.heroku.com has address 75.101.163.44 Although it reads a little less nicely,

Re: newbie question on what to do after change url

2009-05-03 Thread Adam Wiggins
Good call, Max. I've updated the docs. http://docs.heroku.com/renaming-apps Adam --~--~-~--~~~---~--~~ 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 unsu

Re: newbie question on what to do after change url

2009-05-02 Thread Adam Wiggins
Try this: git remote rm heroku git remote add heroku g...@heroku.com:followme.git Adam --~--~-~--~~~---~--~~ 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

Re: how do I find out how much space I have?

2009-04-29 Thread Adam Wiggins
We're working on providing a lot of information about exactly what resources your app is using. The first small step toward this is that "heroku info" will now show some stats about your code and data size: $ heroku info --app adamblog === adamblog Web URL:http://adamblog.heroku.com/ Git

Re: A Vote for Supporting MySQL

2009-04-29 Thread Adam Wiggins
On Wed, Apr 22, 2009 at 1:07 PM, Brian Armstrong wrote: > 1. When it came time to implement full text searching, my first choice > (sphinx) was out and i saw a thread where you guys suggested tsearch2 > for Postgresql.  I managed to get this up and running, but to test/ > develop it I now had to

Re: db problems today and where to find heroku status/outage info

2009-04-23 Thread Adam Wiggins
Guys - We had some system-wide downtime today, as described in this thread. We know that downtime is definitely in the "not awesome, not at all" category. Heroku is hitting some serious growth right now. Up until now we've been focusing all our efforts on making a really seamless deployment wor

Re: Subdomain CNAMEs

2009-04-21 Thread Adam Wiggins
You've stumbled upon a beta feature that is not yet publicly available. Drop me a private email if you'd like access to this. Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this gro

Re: Updating heroku gem

2009-04-19 Thread Adam Wiggins
Are you on Ubuntu? Try installing the Ruby development package: $ sudo apt-get install ruby1.8-dev Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to heroku@g

Re: Failed to push mysql db when installing Radiant

2009-04-14 Thread Adam Wiggins
Tony, can you run "sudo gem install taps" to get the latest version (Ricardo has been hard at work fixing numerous edge-case bugs), and then try again? If you still get an error, post the exact output here. Adam --~--~-~--~~~---~--~~ You received this message beca

Re: "Internal server error" when trying to execute anything in the console

2009-04-13 Thread Adam Wiggins
Should be fixed now. Adam --~--~-~--~~~---~--~~ 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...@

Re: db:push request

2009-04-12 Thread Adam Wiggins
Indeed, should be an easy change to this line: http://github.com/heroku/heroku/blob/25977db86c4a07b9766a53ae9cea1b3d41c3e3cc/lib/heroku/commands/db.rb#L72 Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Heroku"

Re: no error message detail

2009-04-11 Thread Adam Wiggins
Timeouts are tricky to debug. One option could be an infinite loop, or hitting a remote service on startup that is slow or taking a long time. Another possibility would be something like building a big index, which may not run infinitely, but if it takes more than 20 seconds we assume a timeout.

Re: "Internal server error" when trying to execute anything in the console

2009-04-11 Thread Adam Wiggins
Is this still happening for you right now? I was able to execute 1+1 against your app right now without difficulty. Are you using "heroku console 1+1" or "heroku console" and then entering into the interactive shell? Adam --~--~-~--~~~---~--~~ You received this me

Re: Internal Server Error on db:data:load

2009-04-09 Thread Adam Wiggins
Yes, db:push is a preferred method, if you have the database loaded locally. Make sure you have the latest version of the heroku and taps gems installed: sudo gem install heroku taps ...and then read details here: http://docs.heroku.com/taps Adam --~--~-~--~~~---~-

Re: root CNAME with slicehost DNS

2009-04-08 Thread Adam Wiggins
One reason this can happen is that the DNS info was cached on the local nameserver prior to it propagating from your provider (Slicehost, in this case). In that case you have to wait about 20 minutes for the cache to clear. Can you try it again right now and let me know if it works? We've got som

Re: Multiple domains pointing to heroku app?

2009-04-05 Thread Adam Wiggins
You can do multiple domains on Heroku via the command-line tool: heroku domains:add mydomain1.com heroku domains:add mydomain2.com See: http://docs.heroku.com/custom-domains#heroku-setup Adam --~--~-~--~~~---~--~~ You received this message because you are subscri

Re: Internal Server Error

2009-04-03 Thread Adam Wiggins
We had a brief issue with one git server this morning. It's fixed now - try your push again. Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to heroku@googlegrou

Re: GZIP & expxires header for static files

2009-04-02 Thread Adam Wiggins
All content served on Heroku apps is automatically gziped, so you need take no action there. You can definitely set the expires header, or any other HTTP header, and it will be passed to the user's browser, and also used by the Varnish http cache. One example of this with a max-age from Rails is h

Re: No such app as

2009-03-31 Thread Adam Wiggins
On Tue, Mar 31, 2009 at 10:55 AM, Brian Armstrong wrote: > Awesome, that worked Mat thanks! I just edited .git/config and > changed it to the new name. Maybe rename should do this for you?? > Agreed. If someone wants to take a stab at a patch, it would be a matter of inserting the git remote r

Re: herokugarden => heroku

2009-03-30 Thread Adam Wiggins
Anton - I went to http://heroku.com/signup and typed in your email. An invitation should be in your inbox now. Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email

Re: db:pull doesn't work (uses wrong socket)

2009-03-30 Thread Adam Wiggins
In addition to Ricardo's solution, I think another thing you can do is just leave off the database url. You mentioned that you have a config/database.yml, without specifying a URL it will read from that automatically. i.e. $ heroku db:pull Auto-detected local database: sqlite://db/development.sq

Re: Can't install heroku gem?

2009-03-30 Thread Adam Wiggins
That's very odd. Github downtime shouldn't affect the Heroku gem, since it's in Rubyforge. Can you type "gem sources" and see if it lists http://gems.rubyforge.org? Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

Re: git push heroku master

2009-03-30 Thread Adam Wiggins
Try running these commands inside your app's directory first: git init git add . git commit -m "first commit" This is documented here: http://heroku.com/docs#toc9 Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

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 subscr

Re: getting started "test database is not configured"

2009-03-26 Thread Adam Wiggins
Heroku doesn't provide a test database, so "heroku rake test" won't work. This might be an interesting feature to provide at some point, although automated CI systems like runcoderun.com may be a better approach than trying to run tests on a production system. If you're just tinkering with a new a

Re: Data.yml exported from HerokuGarden is out of date.

2009-03-25 Thread Adam Wiggins
I ran a manual db:data:dump for saps.herokugarden.com. You should be able to download the file now. Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to heroku@goo

Re: Problem moving from herokugarden - rake aborted! Don't know how to build task 'db:data:load'

2009-03-23 Thread Adam Wiggins
On Mon, Mar 23, 2009 at 2:40 PM, ptorrsmith wrote: > $ sudo apt-get install git > This should be: sudo apt-get install git-core It's definitely confusing that there is a package named "git" on Debian which is not the Git revision control system. Adam --~--~-~--~~~

Re: Problem moving from herokugarden - rake aborted! Don't know how to build task 'db:data:load'

2009-03-23 Thread Adam Wiggins
Glad you got it figured out Paul. You're right about mentioning yamldb, I've updated the instructions to include that step. Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group,

Re: i some ssh issue

2009-03-23 Thread Adam Wiggins
Post the contents of your .git/config - maybe your git remote is wrong. Note that the host portion should be g...@heroku.com, not heroku.com. Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Heroku" group. To p

Re: rest_client , external web services

2009-03-23 Thread Adam Wiggins
On Sun, Mar 22, 2009 at 3:21 PM, pabloa wrote: > hi, i am using the rest client gem to connect to a public dictionary > web service via a HTTP GET, but it seems that Heroku does not allow > this connection . All Heroku apps can send traffic on the web ports (80 and 443), so this should work.

Re: heroku specific .gitignore?

2009-03-20 Thread Adam Wiggins
On Fri, Mar 20, 2009 at 7:58 AM, Mat Schaffer wrote: > another option would be to keep a heroku branch separate from your main > development branch and push from that rather than master. This branch > would have the config.yml in it w/ the password. Then deployment would > be: > > git checkout her

Re: Rails 2.3 support

2009-03-17 Thread Adam Wiggins
One catch here - make sure you're running on heroku.com. herokugarden.comdoes not have Rails 2.3 installed. Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to he

Re: how to read production.log or log files in full length

2009-03-16 Thread Adam Wiggins
We're experimenting with some features to make it easier to get at your logs in this kind of situation. In the meantime, one good option is to use Hoptoad (hoptoadapp.com) or Get Exceptional (getexceptional.com) to access your complete exception information. I'll see if we can increase the line c

Re: Importing non-ActiveRecord DB

2009-03-16 Thread Adam Wiggins
On Mon, Mar 16, 2009 at 6:04 AM, Jerod Santo wrote: > The current documentation (which is otherwise very helpful) has no > information on getting production data into Heroku's PostgreSQL databases. > This seems to be the missing piece to the puzzle for me, and probably for > other potential users

Re: Rake error message on Heroku

2009-03-15 Thread Adam Wiggins
Your vendor/plugins/restful-authentication directory is empty in the repo on Heroku. Perhaps you're using Git submodules? See: http://heroku.com/docs#toc62 Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Hero

Re: Problem launching app us github gem (mislav's will paginate) via .gems

2009-03-15 Thread Adam Wiggins
I get this same error running locally. I was able to fix it by changing this line: On Sun, Mar 15, 2009 at 12:00 PM, Nick Dimiduk wrote: > config.gem 'mislav-will_paginate', :version => '~> 2.2.3', :lib => > 'will_paginate', :source => 'http://gems.github.com' > ...to read like this: config.

Re: Ready for Production? Questions

2009-03-12 Thread Adam Wiggins
On Thu, Mar 12, 2009 at 8:42 AM, K2 wrote: > 1. What will the eventual cost structure be? I know you don't want > to release exact pricing, but will it be more inline with EngineYard's > Solo or Mor.ph's AppSpace? ~$50-$250 month for most apps. Or more of > the Mor.ph App Cloud offering start

Re: Sprockets

2009-03-12 Thread Adam Wiggins
On Thu, Mar 12, 2009 at 1:08 PM, Kris S wrote: > Is it possible to use sprockets with in an app on heroku? It writes > out a js file, and for this reason I am not sure if its permitted or > not. You'll need to compile the sprockets and commit the file to the repository for this to work - the ra

Re: github vs. heroku vs. rubyforge

2009-03-12 Thread Adam Wiggins
Great question David: On Thu, Mar 12, 2009 at 9:33 AM, David Rogers wrote: > - gems are at home at rubyforge. > - apps are at home in heroku. > - open collaboration's home is github. > > Does establishing and updating git repos at all three make sense? Yes, absolutely. The way I usually set th

Re: Data.yml exported from HerokuGarden is out of date.

2009-03-12 Thread Adam Wiggins
We disabled yamldb output on export because it was causing http timeouts. I installed the yaml_db plugin in your app and manually ran rake db:data:dump, so now db/data.yml should be the latest version. If you have any trouble downloading it, email me privately and I'll email it to you. If anyone

Re: aws connections from heroku apps

2009-03-11 Thread Adam Wiggins
You can absolutely access all of the EC2 services from Heroku, exactly as you would from any Ruby app. There's no single gem for all of the services, but there are individual ones for each service: http://amazon.rubyforge.org/ http://github.com/grempe/amazon-ec2/tree/master http://www.craic.com/

Re: User Agent not possible on heroku?

2009-03-09 Thread Adam Wiggins
Don't store things on the filesystem - because your app is spread across the dyno grid, there's no guarantee that something written to the tmp directory will be there on the next request. The place for permanent data storage is the database. If you wish to do a curl-style cookiejar to keep a ses

  1   2   3   4   >