Tag: rails3


Rails3 and Rails2 on the same box with thin

Posted By Ryan Stout on September 08, 2010

Thin is my favorite application server, its fast, its light, and it doesn't require you tie into any particular front end server (unlike passenger, which has its own benefits) Recently I tried to launch a Rail3 project on a box with a few existing Rails2 applications. I was getting all sorts of complaints from rails and thin about gem dependencies. Finally I realized that the thin gem manually requires a specific version of rack (1.1.0) But rails 3 upgrades its rack version to 1.2.1. Needless to say this is quite a pain to work around. I ended up taking the simple way out and setting up RVM and running a separate gemset.

If you haven't already, check out the RVM page on capistrano setup, it makes everything a lot easier.


Tags: rails3, capistrano, rvm



Congrats to the Whole Rails Team

Posted By Ryan Stout on August 30, 2010

Rails 3 has officially dropped. I've been following the progress since it branched and I think the core team (and all the contributors) have done a great job. Not only does rails 3 have some great new features, but the refactoring under the hood means that plugin development will continue to grow. Bundler has already made my day to day rails development much easier and the UJS helpers are a great way to approach javascript support. Having the libraries use delegation is a simple and elegant solution to a complex problem. All in all, very well done. It might have taken a little longer than expected, but the upgrade process is fairly easy, and the learning curve isn't bad.

Again, from us here at agile productions,

Congratulations and Thank You to all involved.


Tags: rails, rails3



Props to Heroku

Posted By Ryan Stout on June 02, 2010

So I typically host my projects on either Amazon EC2 or through iWeb.com's dedicated service. When I went to launch my new portfolio site, I realized that I Heroku would be a good fit, and their free service would be perfect for me.

Getting a project that is already using git up and in production is as simple as:

gem install heroku
heroku create app_name --stack bamboo-mri-1.9.1
git push heroku master

Specifying the stack makes sure that it will work with rails 3. Plus why not take the extra performance of ruby 1.9

Deploying with git will take a little getting used to, so I may end up creating a capfile that just pushs.


Tags: heroku, rails3, ruby 1.9