Deploying gems using Capistrano
Update for Rails 3: Rails 3 and Bundler: Deploying gems using Capistrano Thought I’d share this because I had a lot of trouble figuring out how and where to run the “rake gems:install” when deploying...
View ArticleRails 3 and Bundler: Deploying gems using Capistrano
Update: Instead, in the beginning of deploy.rb, use: require "bundler/capistrano" I have previously described how to deploy gems using Capistrano in a Rails 2 application. After upgrading to Rails 3,...
View ArticleGetting your assets to work when upgrading to Rails 3.1
I was upgrading an app from Rails 3.0 to Rails 3.1 and had some trouble when it came to assets. Here’s how I got it to work. 1. Upgrading to Rails 3.1 Add Rails 3.1 to your Gemfile. Add or change the...
View ArticleCreating a public symlink using Capistrano
So, I have a folder containing static sitemap files for my site. These sitemaps are generated and saved in my public/sitemap folder. However, I want to keep these sitemap files between deployments....
View Article