首先 安装 cygwin
cygwin 要安装的插件是
默认的+ make + gcc + libiconv + openssl
cygwin下需要编译原文件
到ruby-lang(http://ruby-lang.org/) 下载ruby-1.9.1-p0.tar.gz
tar xvf ruby-1.9.1-p0.tar.gz
cd ruby-1.9.1-p0
./configure
make && make install
安装rails
gem install rails
rails demo
cd demo
ruby script/server
此时提示找不到iconv.so (google 之后 似乎1.8.6以上版本不会自动生成iconv.so文件了
转到ruby 1.9.1 源代码处
cd /ruby-1.9.1-p0/ext/iconv
ruby extconf.rd (如果之前cygwin 安装是没有选择libiconv 此处可能会有错误 再次运行cygwin安装文件 安装吧
会生成makefile
make
生成iconv.so 文件
make install
ruby script/server
这次提示找不到openssl
openssl.so 文件安装方法同iconv.so
安装mysql 下载源文件 http://dev.mysql.com/downloads/mysql/5.0.html#win32 最下面的tar.gz文件
tar xvf ruby-1.9.1-p0.tar.gz
cd mysql-5.0.77
./configure
make && make install
安装mysql 驱动 http://rubyforge.org/frs/?group_id=4550
下载mysql-ruby-2.8.1.tar.gz
安装同上
最后来张图片
- 大小: 22.8 KB
分享到:
相关推荐
Ruby on Rails Guide:是rails官方教程,本人为了大家学习查阅的方便,制成chm格式。就如同java doc的chm格式一样方便。
Ubuntu系统ruby on rails安装 Ubuntu系统ruby on rails安装 Ubuntu系统ruby on rails安装 Ubuntu系统ruby on rails安装 Ubuntu系统ruby on rails安装 Ubuntu系统ruby on rails安装 Ubuntu系统ruby on rails安装 ...
Are you using Rails, and want to dig deeper into the underlying Ruby language? If so, then we’ve got a language and book for you! Ruby is a fully object-oriented language, much like the classic ...
ruby 1.9.1 的下载地址是:ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.gz (windows上在http://www.ruby-lang.org/en/downloads/ 下载二进制的文件)另外,目前Rails 2.2还无法在ruby 1.9.1上面正常...
Both Rails 3 and 4, as well as Ruby 1.9 and 2.0, bring hundreds of improvements, including new APIs and substantial performance enhancements. The fourth edition of this award-winning classic has been...
rails 2.3 chm文档 官方最新版
NetBeans Ruby and Rails IDE with JRuby 2009,大家看标题就知道了啊。。好东西啊,刚得到就发上来了。。
Ruby on Rails Guides v2 - Ruby on Rails 4.2.5
Windows7_Cygwin_Git_RVM_Ruby1.9.3_Rails3_MongoD B_Nginx_Unicorn_Rspec_Guard_Spork(2-Ruby on Rails3 安装配置
ruby on rails 开发环境包(ruby1.8.7,rails2.2.3)
Ruby on Rails安装,有人说难,但其实也很方便。要基于ruby开发应用程序,我们必须安装ruby、gem、rails、mongrel。
David Heinemeier Hansson 就是看重了这一点,才在开发 Rails 框架时选择了 Ruby。Rails 常被称作 Ruby on Rails,它让 Web 开发变得从未这么快速,也从未如此简单。在过去的几年中,《Ruby on Rails Tutorial》这...
ruby on rails 2.3.5 api,自己留着用的,如果有人不知道怎么生成的话可以下载我生成的这个
在目前的主流web开发技术中,基于ruby语言的rails框架是做网站开发速度最快的工具。它可以达到j2ee框架开发速度的5~10倍,并且代码量也非常少。另外由于代码量的大幅度减少,整个网站维护的工作量也大大降低。 ...
Ruby on Rails is the revolutionary online programming tool that makes creating functional e-commerce web sites faster and easier than ever. With the intuitive, straightforward nature of Ruby and the ...
ruby1.8.6 + rails2.0.2 + radrails0.7.2 + mysql 安装配置 详细说明
Ruby On Rails中文教材(PDF)
2.3 在Mac OS X系统上安装Ruby on Rails 2.3.1 Mac OS X 10.5(Leopard) 2.3.2 Mac OS X 10.4(Tiger)和更早的版本 2.4 在Linux系统上安装Ruby on Rails 2.4.1 使用包管理器 2.4.2 先决条件 ...
2.3 在Mac OS X系统上安装Ruby on Rails 2.3.1 Mac OS X 10.5(Leopard) 2.3.2 Mac OS X 10.4(Tiger)和更早的版本 2.4 在Linux系统上安装Ruby on Rails 2.4.1 使用包管理器 2.4.2 先决条件 ...
2.3 在Mac OS X系统上安装Ruby on Rails 2.3.1 Mac OS X 10.5(Leopard) 2.3.2 Mac OS X 10.4(Tiger)和更早的版本 2.4 在Linux系统上安装Ruby on Rails 2.4.1 使用包管理器 2.4.2 先决条件 ...