25.02.2015 Views

Introducing Spring Framework

Introducing Spring Framework

Introducing Spring Framework

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix A ■ Installing Tools<br />

Open a terminal and execute the following command to install Homebrew on your Mac:<br />

$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"<br />

■ ■Note As you can see, you need the Ruby programming language to run Homebrew. By default, Mac OS X comes with<br />

it. If not, you can install Xcode from the App Store. Another alternative is to use the rvm (Ruby Version Manager) from<br />

https://rvm.io/.<br />

After you install Homebrew, you need to execute the following command in order to update any new versions of<br />

the tools you will use:<br />

$ brew update<br />

■ ■Note There is no version for Windows or Linux. For Linux, you will need to install either a ZIP file or a rpm/deb package,<br />

depending on what version of Linux version you are running.<br />

Installing GVM<br />

GVM, the Groovy enVironment Manager, is a tool that can be installed either on Mac OS X or Linux without any<br />

problems. It will help you to install Gradle, Groovy, and <strong>Spring</strong> Boot. Remember that before using these tools it is<br />

necessary to have created JAVA_HOME and PATH environment variables; if you don’t have them, the GVM installer<br />

will fail too.<br />

To install GVM, go to http://gvmtool.net/, as shown in Figure A-18, and then copy the instructions in a<br />

terminal window.<br />

302

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!