Skip to content
Browse files

Merge pull request #64 from ffeldhaus/master

Added Mac OS X specific installation instructions
  • Loading branch information...
2 parents 5066c48 + 04c95f5 commit 365df431bf06571f32424f7f74c9f771203fda75 @ffeldhaus ffeldhaus committed Feb 23, 2013
Showing with 31 additions and 1 deletion.
  1. +0 −1 .gitignore
  2. +4 −0 README.md
  3. +27 −0 doc/macosx.md
View
1 .gitignore
@@ -11,5 +11,4 @@ tmp
log
coverage
vendor
-doc
collection
View
4 README.md
@@ -23,6 +23,10 @@ To use rOCCI with Java, you need JRE 6 or 7. To build rOCCI for Java, you need J
Installation
------------
+
+**[Mac OS X has some special requirements for the installation. Detailed information can be found in
+doc/macosx.md.](doc/macosx.md)**
+
To install the most recent stable version
gem install occi
View
27 doc/macosx.md
@@ -0,0 +1,27 @@
+# rOCCI on Mac OS X
+
+## Installation
+
+To use a recent version of Ruby on Mac OS X, a few preparations are needed. Installing Ruby on Apple Mac OS X is not as
+straightforward as it is on other platforms, hence following detailed instructions.
+
+1. Install the latest version of Xcode either
+[from the Mac OS X App Store](itms://itunes.apple.com/de/app/xcode/id497799835?mt=12#) or by downloading it from
+[[http://developer.apple.com]] and then installing the package.
+2. Open Xcode, then download and install the Xcode command line tools (Menu->Xcode->Preferences->Downloads)
+3. In the Terminal, install RVM with `curl -L https://get.rvm.io | bash -s stable`
+4. Read the plattform requirements for your specific setup by running `rvm requirements` in the Terminal. Execute any
+tasks mentioned there for installing Ruby 1.9.3 (you can ignore hints for Ruby 1.8.7). If you need to install additional
+packages it is recommended to use Homebew for it (unless you already use MacPorts). To install Homebrew paste the
+following in your Terminal `ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"`
+5. Install Ruby 1.9.3 with `rvm install ruby-1.9.3`
+
+Now that you have Ruby 1.9.3 installed, you can intall rOCCI.
+
+To install the most recent stable version
+
+ gem install occi
+
+To install the most recent beta version
+
+ gem install occi --pre

0 comments on commit 365df43

Please sign in to comment.
Something went wrong with that request. Please try again.