Isnor Creative
Isnor Creative Blog
Ruby, Ruby on Rails, Ember, Elm, Phoenix, Elixir, React, Vue

Jan 2, 2009

Deploying Ruby on Rails 2.2 to Webfaction

WebFaction is my Rails host of choice - the prices are good, the service is great, I love the Mongrel hosting, I have experienced no downtime, the support is excellent, generally no complaints. This is my procedure for deploying a Rails application to Webfaction without Capistrano.

  1. Allow create default rails app during account setup
  2. Upload your application on top of default Rails app
  3. Install Rake: gem install —remote rake
  4. Add your local gem path to bash profile: PATH=$PATH:$HOME/bin:/home/YOUR USERNAME GOES HERE/.gem/ruby/1.8/bin
  5. Install the gems specified in environment.rb (eg config.gem ‘calendardateselect’) and located in your vendors/gems folder: rake gems:install
  6. Having created a database and added it’s info to your database.yml file, then load your database schema and or import through phpmyadmin if you have production data on local server (don’t forget you need to specify the production environment when running rake tasks, script/console etc…): rake environment RAILS_ENV=production db:schema:load or migrate it: rake environment RAILS_ENV=production db:migrate
  7. Restart the application in SSH:

    ps -u “your_username” kill “id of your app”


I am available for Ruby on Rails consulting work – get in touch to learn more.

Gordon B. Isnor

Gordon B. Isnor writes about Ruby on Rails, Ember.js, Elm, Elixir, Phoenix, React, Vue and the web.
If you enjoyed this article, you may be interested in the occasional newsletter.

I am now available for project work. I have availability to build greenfield sites and applications, to maintain and update/upgrade existing applications, team augmentation. I offer website/web application assessment packages that can help with SEO/security/performance/accessibility and best practices. Let’s talk

comments powered by Disqus