油漆未干
-
Ruby On Rails 环境构筑 - [工作]
2008-01-16
版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
http://live-free-or-die-hard.blogbus.com/logs/13978782.html
为方便起见,使用Instant Rails
地址在: http://rubyforge.org/projects/instantrails/
1、下载Instant Rails,下载地址为:http://rubyforge.org/projects/instantrails/ 最新版本2.0
2、将Instant Rails下载后,解压到本地目录,例如C盘,因此Instant Rails的安装目录就是:C:\InstantRails; 注意:Instant Rails的安装路径中不能包含空格。 至此,Instant Rails安装完毕,相当简单。
3、Instant Rails的运行文件为InstantRails.exe,双击运行,出现如下界面证明安装成功:
4、查看版本
5、下面启动Instant Rails自带的cookbook程序。
1、点击主界面上的"I"按钮,会出现Instant Rails的主菜单;
2、"Rails Applications"——〉"Manage Rails Applications...",打开Rails应用程序管理器,如下图所示:
3、在Rails Applications的列表中,选中"cookbook"前面的复选框,点击"Start with Mongerl"按钮,启动Mongerl服务器。这时出现一个命令行窗口,如下图:
4、使用上图中的端口号访问程序:http://localhost:3001,可以得到以下的结果:
6、测试MySQL环境:
7、如果一切正常,那么一个RoR环境已经构筑完毕。你甚至不用install,你只需要unzip就行了。
随机文章:
Heroku turns me down ~~ 2008-02-20Rails 2.0 step by step [翻译版] 2008-01-26The basic process of what's going on Rails 2008-01-23Rails 2.0 的 Magic 2008-01-18
收藏到:Del.icio.us












