LeopardでAptana-RadRailsを動かす

http://www.aptana.com/rails/ の Download Aptana RadRails を実行する.

Aptana Studioインストール

Aptana_Studio_Setup.dmg(ver1.0.0 88.6MBもある)を選択しDL.

Workspaceの設定

パスの設定など個別設定はWorkspace毎に保持しているので,変える場合は注意.

    • /Users/***/Documents/AptanaWork

Aptana Automatic Updates

しばらくするとUpdatorが立ち上がってくるので,そのままInstallする.(Build 1.0.1.004323) updates終了後,Aptanaを再起動する.再起動後は,Aptana Studio 1.0.2

RadRailsインストール

Aptana Start Page の下の方にある,Aptana RadRailsのインストールリンクをクリックして,RadRailsをインストールする.

Ruby Mylyn Connector でエラーをいわれるので,Aptana RadRails Integration は選択せずに,Aptana RadRails のみを選択する.updates終了後,Aptanaを再起動する.

再起動後に,Unable to detect Ruby install のエラーが表示された.Setup Preferences で RubyVM home directory に以下の正しいパスの設定を追加する.チェックも忘れずに.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr
最後にだめ押しでUpdate検索をしておく.

Help > Software Updates > Find and Install

もしSubversionを使うなら,Subclipseもアップデートしておく
Help > Software Updates > Find and Install > Search for new features to > Subclipse

設定

Ruby のパス設定

既に上記で設定済み

Rails, rake, mongrel のパス設定

Window > Preferences > Rails > Configuration

文字コードUTF-8

Window > Preferences > General > Workspace > Text file encoding

Tab 2

Window > Preferences > General > Editors > Text Editors

新規プロジェクトを作成して,Rails と Mogrel Server がちゃんと動いていることは確認できた.