Ruby 更改默认的Aptana IP地址

Ruby 更改默认的Aptana IP地址,ruby,aptana,aptana3,Ruby,Aptana,Aptana3,我想将默认IP更改为127.0.0.1或localhost,而不是script/rails服务器 我怎么能在Aptana3中做到这一点 script/rails server => Booting WEBrick => Rails 3.2.3 application starting in development on **http://0.0.0.0:3000** => Call with -d to detach => Ctrl-C to shutdown serve

我想将默认IP更改为127.0.0.1或localhost,而不是script/rails服务器

我怎么能在Aptana3中做到这一点

script/rails server
=> Booting WEBrick
=> Rails 3.2.3 application starting in development on **http://0.0.0.0:3000**
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2012-05-04 21:41:46] INFO  WEBrick 1.3.1
[2012-05-04 21:41:46] INFO  ruby 1.9.2 (2011-07-09) [i386-mingw32]
[2012-05-04 21:41:46] INFO  WEBrick::HTTPServer#start: pid=9588 port=3000

使用命令行选项:

script/rails server -b 127.0.0.1 -p 80

@Gainster-老实说,我对Rails开发服务器没有那么丰富的经验。我一直使用本地Apache/Passenger设置进行开发,因此我不必启动/停止服务器,并且可以使用本地域名。但是,您可以在
scripts
文件夹中设置自己的自定义脚本,以使用默认选项启动服务器,也可以在环境配置中设置这些选项。有更多Rails经验的人可能会在这方面纠正我