`

在windows下安装ruby1.9.2,rails3.0.3和DevKit--转

阅读更多

在windows下安装ruby1.9.2,rails3.0.3和DevKit

by root on 2011/03/14

1.安装ruby环境

http://rubyforge.org/frs/download.php/73722/rubyinstaller-1.9.2-p136.exe

2.安装rails
gem install rails –no-ri –no-rdoc

3.安装SQLite3

http://www.sqlite.org/sqlite-dll-win32-x86-3070400.zip

http://www.sqlite.org/sqlite-shell-win32-x86-3070400.zip

解压copy到:d:\Ruby192\bin目录.
sqlite3 -version

5.install the DevKit:

http://github.com/oneclick/rubyinstaller/wiki/Development-Kit

1>.Remove artifacts extracted by any of the legacy DevKit’s.
2>.Download the self-extracting DevKit-tdm-32-4.5.1-20101214-1400-sfx.exe archive.
3>.Extract the DevKit contents into a directory with no spaces, e.g. – d:\DevKit.
4>.Run the DevKit’s dk.rb init and install helper scripts to generate config.yml and enhance your installed Rubies.
ruby dk.rb init
ruby dk.rb install
5>.update your PATH
D:\DevKit\bin

 

D:\>gem install sqlite3-rubyFetching: sqlite3-1.3.3-x86-mingw32.gem (100%)
=============================================================================
You’ve installed the binary version of sqlite3.  It was built using SQLite3 version 3.7.3.  It’s recommended to use the exact same version to avoid potential issues.
At the time of building this gem, the necessary DLL files where available  in the following download:

http://www.sqlite.org/sqlitedll-3_7_3.zip

You can put the sqlite3.dll available in this package in your Ruby bin  directory, for example C:\Ruby\bin
=============================================================================
Fetching: sqlite3-ruby-1.3.3.gem (100%)
#######################################################
Hello! The sqlite3-ruby gem has changed it’s name to just sqlite3.  Rather thainstalling `sqlite3-ruby`, you should install `sqlite3`.  Please update yourdependencies accordingly.
Thanks from the Ruby sqlite3 team!
<3 <3 <3 <3
#######################################################
Successfully installed sqlite3-1.3.3-x86-mingw32Successfully installed sqlite3-ruby-1.3.32 gems installedInstalling ri documentation for sqlite3-1.3.3-x86-mingw32…Installing ri documentation for sqlite3-ruby-1.3.3…Installing RDoc documentation for sqlite3-1.3.3-x86-mingw32…Installing RDoc documentation for sqlite3-ruby-1.3.3…
D:\>

分享到:
评论
1 楼 fsword 2011-10-10  
同事拿着试了一下,说是把第五步放到第二步之前就可以了

相关推荐

    ruby1.9.2_1.9.2-p290-1_amd64.deb

    ruby1.9.2_1.9.2-p290-1_amd64.deb

    LSPosed-v1.9.2-7024-riru-release-1.zip

    标题 "LSPosed-v1.9.2-7024-riru-release-1.zip" 暗示我们正在处理一个与 LSPosed 相关的软件包,这是一个流行的框架,允许用户在 Android 设备上安装 Xposed 模块,无需解锁引导加载程序或根权限。版本号 "v1.9.2-...

    LSPosed-v1.9.2-7058-zygisk-release.zip

    7. **util_functions.sh**:这个文件包含了各种实用函数,很可能是在安装或管理过程中需要用到的辅助工具。 8. **verify.sh**:验证脚本,用于检查安装的正确性和完整性,确保所有必要的组件都在正确的位置并且功能...

    ruby-1.9.2-preview1-x64-mswin64-80.zip

    总的来说,"ruby-1.9.2-preview1-x64-mswin64-80.zip" 是一个为Windows 64位系统提供的Ruby开发环境,它带来了性能提升、语言增强和更好的Unicode支持,为开发者提供了更强大和灵活的工具。通过解压并安装这个压缩包...

    ruby-1.9.2-p290.tar.gz

    标题中的"ruby-1.9.2-p290.tar.gz"是一个开源编程语言Ruby的特定版本的归档文件,采用流行的tar和gzip...安装过程涉及下载、解压、配置、编译和安装,而源代码目录则包含了一切运行和理解Ruby 1.9.2-p290所需的信息。

    pygame-1.9.2a0.win32-py2.7

    压缩包内的文件“pygame-1.9.2a0.win32-py2.7.msi”是一个Microsoft Installer(MSI)文件,这是Windows操作系统下的安装程序包。用户可以通过运行这个MSI文件来安装Pygame库,这样他们的Python环境就可以支持Pygame...

    android图片异步加载框架universal-image-loader-1.9.2-SNAPSHOT-with-sources.jar

    http://www.bdqn.cn/news/201308/10849.shtml

    pygame-1.9.2a0.win32-py3.4.zip

    在安装完成后,开发者可以通过`pip install pygame`或直接导入解压后的库来开始使用pygame进行游戏开发。 在实际开发过程中,开发者通常会结合pygame与其他Python库,如numpy(用于数学计算和向量操作)、PIL...

    commons-beanutils-1.9.2和commons.collections-3.2.1

    Apache Commons BeanUtils与Apache Commons Collections是两个非常重要的Java开源库,它们在开发过程中扮演着不可或缺的角色,尤其是在处理对象属性操作和集合操作时。 Apache Commons BeanUtils库是专门为简化...

    jackson的包:jackson-core-asl-1.9.2.jar和jackson-mapper-asl-1.9.2.jar

    spring MVC中返回使用@ResponseBody注解返回时,后台没报错,就控制台显示406 Not Acceptable 原因是缺少jackson的包:jackson-core-asl-1.9.2.jar和jackson-mapper-asl-1.9.2.jar

    PyPI 官网下载 | pygame-1.9.2-cp35-cp35m-win_amd64.whl

    要在Python环境中安装`pygame-1.9.2-cp35-cp35m-win_amd64.whl`,首先确保你已经安装了Python 3.5且在64位的Windows系统上。然后,你可以使用pip工具进行安装: 1. 打开命令提示符或终端。 2. 导航到whl文件所在的...

    ruby1.9.2_installer

    最新版本的Ruby安装程序 。 ruby1.9.2 installer

    vision_-1.9.2-34-guanwang-release-20200313-124233.apk

    vision_-1.9.2-34-guanwang-release-20200313-124233.apk

    go-1.9.2-linux-windows-mac安装包

    Go语言,通常被称为Golang,是由Google开发的一种静态类型的、编译式的、并发型且具有垃圾回收功能的编程语言。...在安装和配置过程中,理解并掌握Go的基本概念和特性将对后续的编程工作大有裨益。

    ruby-1.9.2-rc2

    用户需要了解如何在本地设置和使用Ruby环境,包括安装Gem包,理解Ruby语法和对象模型,以及如何通过Ruby编译和管理项目。如果你计划使用这个版本的Ruby,确保查看相关文档,学习其特性和变更,以便充分利用它的功能...

    pygame-1.9.2-cp35-cp35m-win32.whl

    python3.5对应pygame。pygame-1.9.2-cp35-cp35m-win32.whl

    ruby1.9.2源代码安装文件

    ruby-1.9.2-p180源代码安装文件,2011年2月24日截止最新Ruby版本。

    pygame-1.9.2-cp34-cp34m-win_amd64

    pygame pygame-1.9.2-cp34-cp34m-win_amd64

    TortoiseSVN-1.9.2版本-64位-安装文件及中文语言包

    TortoiseSVN是一款在Windows操作系统上非常流行的版本控制系统客户端,它基于Subversion(SVN)服务器,提供了图形化的用户界面,...对于那些在Windows环境下进行软件开发的团队,TortoiseSVN是一个不可或缺的工具。

    wordcloud-1.9.2-cp36-cp36m-win-amd64.whl

    wordcloud-1.9.2-cp36-cp36m-win_amd64

Global site tag (gtag.js) - Google Analytics