---
title: "ROR环境搭建"
author: "cainwise"
date: "2010-10-30T21:54:52Z"
tags: []
categories: ["编程语言"]
slug: "ror"
draft: false
lastmod: "2010-10-30T21:54:52Z"
id: 798641
url: "https://cainwise.iteye.com/blog/798641"
---

1、下载ruby的安装文件“rubyinstaller-1.9.2-p0.exe”    下载地址：http://www.ruby-lang.org/en/downloads/

2、安装ruby的时候其中有两个可选的都选上去，安装完成后在dos窗口里面输入ruby -v  如果输出版本号那么就是安装成功

3、安装rails，在dos窗口里输入*gem install rails* --*pre等待一会儿*

4、在dos窗口里面输入rails -v如果输出的是rails的版本号，那么就算安装成功

这样ROR环境就算搭建完成了。