打印

RailsOnWindows

RailsOnWindows

RailsOnWindows
你的选择:
1。InstantRails: 是一个封装好的包All-in-one Package. 在这个包中包括Apache, MySQL, php?name=Ruby" onclick="tagshow(event)" class="t_tag">Ruby 和 Rails。 所有的文件都已经配置好了,并且可以运行。是作为开始学习php?name=rails" onclick="tagshow(event)" class="t_tag">rails的最好选择。(注意,在文件包中使用的是MySQL,并不是Oracle, Microsoft SQL Server, PostgreSQL,其他的数据库)如果你要自己安装其他的数据库,需要自己手动安装。

2。RubyStack—一个之前定义好的的封装包,包括Apache, MySQL, Rails 和一些扩展,例如Mongrel和ImageMagick。RubyStack可以在Windows, OS X和Linux 平台上面应用。

3。分别安装和配置Apache和其他的要求的配件。

分别安装不同的组件。
下面的一些内容可能过时了。
安装Rails和其他的单独的gem package组建时,看下面的链接:Install Rails on a Windows PC not connected to the internet

我已经让他在我的笔记本电脑上面顺利运行了,所以我拿来和大家分享。这些介绍在不同的Window 的电脑上应该有共通性。
•    Windows XP SP2
•    Windows XP SP1
•    Windows 2000
安装“RubyGems” -标准的 Ruby package管理器
1. Download rubygems http://rubyforge.org/frs/download.php/20586/rubygems-0.9.3.zip
2. unzip archive
3. goto directory
4. ruby setup.rb all
5. thats it
察看RailsOnWin9x , 关于 Windows98/95的配置.
安装要求:
网络需要连接
这是一个远程安装和得到最新的版本的ruby Gems 和它相关的工具,所以网络畅通是必须的。
如果你需要代理,请安装’-p http://proxy:port’ 到所有gem安装的命令行。
注释:已经有用户抱怨安装的问题,例如 TCPServer 错误和gem安装失败。大多数问题是防火墙设置的问题。用c:\netstat -ano;这个会指出端口冲突。

安装软件:
•    Apache webserver
•    Database server
•    Ruby programming environment
•    RubyGems
•    Rails
Apache Webserver
根据指示安装Apache2 webserver
Apache2 install packages
•    Apache2Triad
•    Wamp5
•    Uniform Web server
•    Xammp for windows
•    Web-Developer Server Suite
使用fastcgi和Apache也可以作为一个选择,使用FastCGI 运行Rails applications能够增加速度.
手动安装
你可以在fastcgi.com 得到fastcgi确定dll 文件和你安装的文件对应。 把fast CGI dll放在Apache配置webserver 安装的文件里面,并且把这行加入到httpd.conf
LoadModule fastcgi_module [path to the dll file]mod_fastcgi-2.4.2-AP20.dll
下面是一个例子在httpd.conf文件:
LoadModule php5_module "i:/wamp/php/php5apache.dll"
LoadModule fastcgi_module "i:/wamp/fastcgi/mod_fastcgi-2.4.2-AP20.dll"
本帖最近评分记录
  • drive2me R币 +10 谢谢迅速的翻译! 2008-5-20 16:11

TOP

forget to give the link, sorry:
Thanks for http://wiki.rubyonrails.com/ , Trevor Johns who updated this webpage and other contributors.
http://wiki.rubyonrails.com/rails/pages/RailsOnWindows

TOP

Time is so limited, it takes me half an hour to do it. Any suggestion is welcome, then I can improve my work better next time.

Thank you

Xinhao

TOP

引用:
原帖由 xinhao 于 2008-5-20 12:37 发表
Time is so limited, it takes me half an hour to do it. Any suggestion is welcome, then I can improve my work better next time.

Thank you

Xinhao
Xinhao,
帖子发表后,你的版主权限和中文化组的权限,都可以再对发表的帖子进行编辑的。所以你可以修改和增加你忘记的信息在已经发表的文章里。你试一下,看看你能不能编辑发表的帖子。如有问题,请给我短信联系。
至于发表帖子的简单方法,你和cclong交流一下,看看他们是怎么操作的。

谢谢你迅速的翻译和支持!
Flying Piggy...! 
天地人合一!

TOP

2008-11-18 17:17 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html) @38.103.63.57