摘要: redmine安装相对trac要简单一点。一、安装ruby下载ruby-1.8.7http://www.ruby-lang.org/en/downloads #tar xzvf ruby-1.8.7.tar.gz #cd ruby-1.8.7 #./configure --prefix=/usr/local/ruby #make && make install设置环境变量 vim /etc/profileexport PATH=/usr/local/ruby/bin:$PATH二、安装rubygems如果系统中已经存在rubygems,可以通过如下方法卸载:#ruby -e & 阅读全文
posted @ 2013-01-04 01:09 大智若简 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 昨天在安装了Ruby 1.9.2 ,并且将其路径加入到Devkit的config.yml中,并且使用ruby dk.rb install安装(不幸的是,没注意安装信息)。。但是依然无法构建native gem。于是重装Ruby,按照devkit的安装说明来安装。还是不正确。 Devkit的安装说明的第4步为Run Installation Scripts:cd <DEVKIT_INSTALL_DIR> from Step 3 above.ruby dk.rb init to generate the config.yml file to be used later in this 阅读全文
posted @ 2013-01-04 01:08 大智若简 阅读(803) 评论(0) 推荐(0) 编辑
摘要: 在安装过程中可能遇到的问题:不如出现下面的提示:Installing ri documentation for i18n-0.6.0... unable to convert U+00E4 from UTF-8 to GBK for lib/i18n/tests/interpolation.rb, skipping unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK for lib/i18n.rb, skippingInstalling on Windows没关系,是 阅读全文
posted @ 2013-01-04 01:06 大智若简 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 因为最近对火热的ruby感兴趣,故准备搭建ruby开发环境。感受下ruby的强大。在搭建环境的过程中,遇到了一些问题,在下文中已做记录,并奉上个人的解决方案。在开始前啰嗦一句:本人使用环境ruby 1.9.2 ,rails 3.0.9.1、 下载最新版ruby网址如下:http://www.ruby-lang.org/en/downloads/2、 安装ruby下载后直接为exe文件,直接下一步即可。可将[将路径添加到环境变量path中]和[关联ruby文件]两个选项选中。不解释。3、 查看安装结果Windows环境下,cmd中输入:ruby –v 查看ruby版本。如下图:4、 安装rail 阅读全文
posted @ 2013-01-04 00:58 大智若简 阅读(176) 评论(0) 推荐(0) 编辑