-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfile.getting-started.html
More file actions
149 lines (114 loc) · 4.7 KB
/
file.getting-started.html
File metadata and controls
149 lines (114 loc) · 4.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>
File: Getting Started
— RubyCocoa Documentation
</title>
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
<script type="text/javascript" charset="utf-8">
hasFrames = window.top.frames.main ? true : false;
relpath = '';
framesUrl = "frames.html#!file.getting-started.html";
</script>
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
</head>
<body>
<div id="header">
<div id="menu">
<a href="_index.html">Index</a> »
<span class="title">File: Getting Started</span>
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
</div>
<div id="search">
<a class="full_list_link" id="class_list_link"
href="class_list.html">
Class List
</a>
<a class="full_list_link" id="method_list_link"
href="method_list.html">
Method List
</a>
<a class="full_list_link" id="file_list_link"
href="file_list.html">
File List
</a>
</div>
<div class="clear"></div>
</div>
<iframe id="search_frame"></iframe>
<div id="content"><div id='filecontents'>
<h1 id="label-Getting+Started">Getting Started</h1>
<h2 id="label-Mac+OS+X+built-in+framework">Mac OS X built-in framework</h2>
<p>Mac OS X 10.5 Leopard or later, RubyCocoa is installed as a part of Mac OS
X. The versions of RubyCocoa pre-installed into Mac OS X are:</p>
<ul><li>
<p>OS X 10.9 Mavericks: 1.0.1</p>
</li><li>
<p>OS X 10.8 Mountain Lion: 1.0.1</p>
</li><li>
<p>Mac OS X 10.7 Lion: 1.0.0</p>
</li><li>
<p>Mac OS X 10.6 Snow Leopard: 1.0.0</p>
</li><li>
<p>Mac OS X 10.5 Leopard: 0.13.2</p>
</li></ul>
<p>If you want to use the latest RubyCocoa, you need to install
RubyCocoa.framework from dmg or source code.</p>
<h2 id="label-Download+binary+distribution">Download binary distribution</h2>
<p>Download RubyCocoa-x.x.x.dmg from <a
href="https://github.com/rubycocoa/rubycocoa/releases">GitHub.com/rubycocoa/rubycocoa/releases</a>.</p>
<p>It includes library, samples, templates for Xcode etc. for RubyCocoa.
Everything necessary for execution and development is included in an
easy-to-install '.pkg' package file.</p>
<p>A successful installation of the binary package will add the following
items:</p>
<ul><li>
<p>/Library/Frameworks/RubyCocoa.framework : RubyCocoa framework (core)</p>
</li><li>
<p>inside of /Library/Ruby/Site/1.8/osx : RubyCocoa library (stub)</p>
</li><li>
<p>/Library/Ruby/Site/1.8/universal-darwin12.0/rubycocoa.bundle : RubyCocoa
extended library (stub)</p>
</li><li>
<p>/Developer/Examples/RubyCocoa : Sample programs</p>
</li></ul>
<p>After installation, try the samples that are written in Ruby. Refer to
<a href="file.try-samples.html" title="Try Samples">Try Samples</a>.</p>
<h2 id="label-Install+Xcode4+project+templates+-281.0.5+or+later-29">Install Xcode4 project templates (1.0.5 or later)</h2>
<pre class="code ruby"><code class="ruby">$ ruby /Developer/Documentation/RubyCocoa/Templates/install_templates.rb \
Xcode4.x
% ls ~/Library/Developer/Xcode/Templates/Project\ Templates/Mac/Application
Ruby-Cocoa Application Base.xctemplate
Ruby-Cocoa Application.xctemplate
Ruby-Cocoa Document-based Application.xctemplate
Ruby-Core Data Application.xctemplate
Ruby-Core Data Spotlight Application.xctemplate
% ruby /Developer/Documentation/RubyCocoa/Templates/install_templates.rb \
--help
usage: install_templates.rb [options] TEMPLATE_DIR
TEMPLATE_DIR: Xcode4.x or Xcode4.1
-f, --force overwrite existing templates
-v, --verbose print verbose message
--dest=dir specify install destination</code></pre>
<h2 id="label-Build+from+Source">Build from Source</h2>
<p>Extract RubyCocoa source from the '.tar.gz' file into a directory
somewhere.</p>
<pre class="code ruby"><code class="ruby">$ tar xzf RubyCocoa-x.x.x.tar.gz
$ cd RubyCocoa-x.x.x
$ ruby install.rb config
$ ruby install.rb setup
$ ruby install.rb test
$ sudo ruby install.rb intstall</code></pre>
</div></div>
<div id="footer">
Generated on Sun May 31 11:56:30 2015 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.7.6 (ruby-2.2.2).
</div>
</body>
</html>