You can find instructions for both methods of VM deployment at

You can find instructions for both methods of vm

This preview shows page 502 - 504 out of 517 pages.

You can find instructions for both methods of VM deployment at - vm-instructions . If you’re thinking about installing the software yourself, be aware that the explanations and examples in each version of the book have been cross-checked against the specific versions of Ruby, Rails, and other software included in the VM. Changes across versions are significant, and running the book examples with the wrong software versions may result in syntax errors, incorrect behavior, differing messages, silent failure, or other problems. To avoid confusion, we strongly recommend you use the VM until you are familiar enough with the environment to distinguish errors in your own code from errors arising from incompatible versions of software components. We prepared the VM by running the vm-setup shell script in our public GitHub repo to populate a clean Ubuntu image. You must be familiar with Unix command line utilities to attempt this process; there is no GUI. ELABORATION: Free and Open Source Software Linux was originally created by Finnish programmer Linus Torvalds, who wanted to create a free and full-featured version of the famous Unix operating system for his own use. The GNU project was started by Richard Stallman, creator of the Emacs editor and founder of the Free Software Foundation (which stewards GNU), an illustrious developer with very strong opinions about the role of open source software. Both Linux and GNU are constantly being improved by contributions from thousands of collaborators worldwide; in fact, Torvalds later created Git to manage this large-scale collaboration. Despite the apparent lack of centralized authority in their development, the robustness of GNU and Linux compare favorably to proprietary software developed under a traditional centralized model. This phenomenon is explored in Eric Raymond’s The Cathedral and the Bazaar , which some consider the seminal manifesto of the Free and Open Source Software (FOSS) movement. A.4 Working With Code: Editors and Unix Survival Skills
Image of page 502
You will save yourself a great deal of grief by working with an editor that supports syntax highlighting and automatic indentation for the language you use. You can either edit files directly on the VM, or use the VirtualBox “shared folders” feature to make some directories on your VM available as folders on your Mac or Windows PC so that you can run a native editor on your Mac or PC. Many Integrated Development Environments (IDEs) that support Ruby, including Aptana , NetBeans, and RubyMine, perform syntax highlighting, indentation and other useful tasks. While these IDEs also provide a GUI for other development-related tasks such as running tests, in this book we use command- line tools for these tasks for three reasons. First, unlike IDEs, the command line tools are the same across all platforms. Second, we place heavy emphasis in the book on automation to avoid mistakes and improve productivity; GUI tasks often cannot be automated, whereas command line tools can be composed into scripts, an approach central to the Unix philosophy. Third, understanding what tools are
Image of page 503
Image of page 504

You've reached the end of your free preview.

Want to read all 517 pages?

  • Spring '19
  • Dr.Marcos

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors