« ry-0.1a released | Main | What's ry »

August 04, 2005

Install

Installing from binary package

just drag & drop 'ry' application to your Application folder.
current version of ry doesn't work in any other place.

(NOTE: You have to install XCode 2.0 or later for OS X 10.4 Tiger, that includes ruby 1.8. thanks > Alex
And for OS X 10.3 Panther, you should install ruby 1.8 yourself.
Binary package of ruby 1.8 can be downloaded from http://homepage.mac.com/discord/Ruby/)

Installing from source code

Installing from source is a little bit complicated.

Step 0) Developer Tools from Apple must be installed in your box.
(including XCode2.1 and ruby1.8)

Step 1) Build COCOA UI.
- open cocoaui/ry.xcodeproj from XCode and build it.

Step 2) Copy ry ruby components into the application bundle built in Step 1.
- just type make at the top source directory
% make

Step 3) Install ry.app to your Application folder.
- drag&drop cocoaui/build/Release/ry.app to /Application folder

Step 4) Install rubyAEOSA.
- download rubyaeosa-0.2.4.tgz from http://rubycocoa.souceforge.net/files
- NOTE: you need XCode 2.1 for building rubyaeosa (XCode 2.0 doesn't work)
- build & install by the following step
% mkdir /Application/ry.app/Contents/ext
% ruby install.rb config --prefix=/Application/ry.app/Contents/ext
% ruby install.rb setup
% ruby install.rb install

Usage

1) Launch ry.app and start ry server from 'ry' tab.

2) You can test server by previewing local access.

3) Access your Mac from the PSP browser by entering
'http://[YOUR-MAC-IP]:2000/' as URL.

IMPORTANT NOTE: MacOS X local firewall should be disabled
or port 2000/TCP should be opened for firewall

Posted by rymk at August 4, 2005 01:11 PM

Comments

I downloaded ry 0.2.0, and I have two things to note... It requires WEBrick, which it did not install (I'm installing it now), and it say it's version 0.1.0...

Posted by: Alex at August 17, 2005 04:49 AM

You need to install XCode 2.0 or later for ry binary package too, that includes ruby 1.8 and WEBrick. I forgot about it and update install note on this page.
I also forgot updating the version number in ry.app :-0, i should not forget in the next release.
Thanks for your comment & sorry for inconvenience.

Posted by: yau at August 17, 2005 02:51 PM

Do you NEED to install Xcode 2.0, or can you simply install ruby 1.8 and webrick? I have Tiger 10.4.7... does this come with any of this?

Sorry for my ignorance, this is a program I've been searching for for a while, but I know nothing about code...

Posted by: steve newport at June 29, 2006 03:24 PM

Sorry for my late responce.
You don't have to install XCode 2.0, if you have installed ruby 1.8 in /usr/bin. But I think installing XCode 2.0 or later is easiest wat to go.

Posted by: yau at July 4, 2006 02:01 AM

Post a comment




Remember Me?