Ruby on Rails (or just Rails) is one of the most popular MVC frameworks used to develop web applications. Since Rails requires many of the Ruby tools, such as Bundler and Rake, and comes with a lot of best practices and conventions out of the box, we will use a sample Rails project in this chapter. By using a Rails-based sample project, the idea is to cover the breadth of Ruby (and Rails) support in TeamCity.
The sample project, named rails_ci_example
, is located on GitHub at https://github.com/manojlds/rails_ci_example.
But, before we begin building our sample project, we will take a look at RVM, rbenv, Bundler, and Rake. These common tools are used in most Ruby, and Rails, projects, and an understanding of these is necessary before setting up CI for a Rails project. TeamCity supports all these tools in one form or another.