28 Jun '12, 6am

Headius: JRuby on Rails on Amazon Elastic Beanstalk #AWS #cloud

Headius: JRuby on Rails on Amazon Elastic Beanstalk #AWS #cloud

AWSEB is really slow to deploy stuff. Several times it got "stuck" and I waited for more than 30 minutes for it to recover. It did not appear to be an app issue, since the app came up just fine. The default instance size is t1.micro. I was able to get a Rails app to boot there, but it's a very underpowered size. It appears to start up JVMs with 256MB of memory max and 64MB of permgen. For a larger app, or one with many Rails instances, that might not be enough. For a "threadsafe" Rails app, though, it's plenty. The default EC2 load balancer for the new Beanstalk instance is set to ping the "/" URL. If you don't rig up a / route in your Rails app (like I forgot to do) the app will come up for a few minutes and immediately get taken out. And the good news: it works great once you get past the hassles! Here's the process that worked for my app (assuming app is already build a...

Full article: http://blog.headius.com/2011/01/jruby-on-rails-on-amazon-...

Tweets

@ctford not read any rails books in a while, bu...

rubyinside.com 28 Jun '12, 11am

The Ruby on Rails Tutorial: Learn Rails by Example (a.k.a. railstutorial.org ) by Michael Hartl has become a must read for...

What’s New in Edge Rails #27: Week of June 25 -...

afreshcup.com 02 Jul '12, 12pm

is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the univer...

@hotgazpacho no, it's all rails apps. I haven't...

rubygems.org 30 Jun '12, 2am

Heel is a small static web server for use when you need a quick web server for a directory. Once the server is running, he...

pry素晴らしいなぁ(遅

railscasts.com 28 Jun '12, 7pm

Pry is an alternative to IRB and sports many great features. Here I show how to integrate it into a Rails app, and how it ...