Platforms
Rails is cross-platform, but Unix and Windows shells behave differently. For consistency, we use Mac OS X version 10.5.2 throughout this book. You can easily run the examples on the Unix or Windows operating systems as well. You’ll see a few minor differences:
You can specify paths with the forward slash (/) or backslash (\) character on Windows. We’ll try to be consistent and use the forward slash to specify all paths.
To run the various Ruby scripts that make up Rails on Windows, you need to explicitly type
ruby. On Unix environments, you don’t. We will remind you a few times early in the book. If you’re running Unix, and you are instructed to type the commandruby script/server, feel free to omit theruby.To run a process in a separate shell on Windows, precede the command with
start. On Unix and Mac OS X, append an ampersand (&) character to run the command in the background.
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.
Read now
Unlock full access