CHAPTER 2
Creating a Component-Based Application
Photo: mattiaath/123RF
In preparation for creating your first CBRA app, you should ensure that your system is up to date with regard to Ruby and Rails. I suggest using the latest published versions of both Ruby and the Rails gems. The way I have my system set up, using the Ruby Version Manager (RVM) (http://rvm.io/), is something like the following:
Install rvm, bundler
, and rails
. Execute anywhere
$ rvm get stable $ rvm install 2.4.2 $ gem install bundler -v '1.15.4' $ gem install rails -v '5.1.4'
Code Samples: The Sportsball App
Throughout this book, we are going ...
Get Component-Based Rails Applications: Large Domains Under Control now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.