このガイドに従って、WEBrickからPhussion Passengerに切り替えました:http://developer.apple.com/library/mac/#featuredarticles/PhusionRails/index.html。PassengerPaneを使用して構成しました。
これで、 localhost:3000ではなくmyapp.localでアプリにアクセスできます。
しかし、外部からのアクセス方法がわかりません。以前はip:3000でした
私のvhost.confファイルは次のようになります:
<VirtualHost *:80>
ServerName myapp.local
DocumentRoot "/Users/martin/myapp/public"
RackEnv development
<Directory "/Users/martin/myapp/public">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>