Skip to Main Content
Component-Based Rails Applications: Large Domains Under Control
book

Component-Based Rails Applications: Large Domains Under Control

by Stephan Hagemann
June 2018
Intermediate to advanced content levelIntermediate to advanced
304 pages
8h 29m
English
Addison-Wesley Professional
Content preview from Component-Based Rails Applications: Large Domains Under Control

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick
Mastering Ruby Closures

Mastering Ruby Closures

Benjamin Tan Wei Hao

Publisher Resources

ISBN: 9780134774596