- 浏览: 131974 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (140)
- ruby on rails (23)
- 随笔 (1)
- 部署 (3)
- ubuntu源 (2)
- linux (28)
- web (9)
- IT (3)
- linux,数据库 (3)
- MOOC (4)
- ubuntu (20)
- win7 (2)
- git (6)
- github (2)
- ubuntu,python (1)
- java,JDK (1)
- ubuntu,qq (1)
- vagrant (3)
- virtualbox (2)
- sass (1)
- centos (3)
- Sublime (1)
- nginx (4)
- passenger (1)
- VPN (0)
- mysql (4)
- VIM (1)
- bbb (1)
- 编码设置 (2)
- mongo (4)
- edx (2)
- ssh (1)
- python (1)
- phpmyadmin (1)
- libreoffice (2)
- docker (4)
- pg (1)
- PostgreSQL (2)
- 系统时间设置 (1)
- ansible (1)
- Sinatra (1)
- 硬盘挂载 (1)
- npm (1)
- smtp (1)
- docker 镜像 (1)
- Memcached (1)
最新评论
DevKit 是windows平台下编译和使用本地C/C++扩展包的工具。它就是用来模拟Linux平台下的make, gcc, sh来进行编译
今天在重做系统装rails时出现点小小问题
Please update your PATH to include build tools or download the DevKit
开始我不大注意,随便点击个下载安装,结果还是不正确,仔细一看才知道
NOTE: for the legacy RubyInstaller v1.8.6 use the DevKit-3.4.5 available at our archive downloads page. For RubyInstaller versions 1.8.7, 1.9.2, and 1.9.3 use the DevKit 4.5.2 from our main downloads page.
我装的ruby1.9.3,需要DevKit-3.4.5
然后从http://rubyinstaller.org/downloads/下载DevKit-3.4.5安装
如c:/devkit。(注意:目录不能有空格)
安装完后还需要几步才算是成功
1.>ruby dk.rb init 3
#生成config.yml这里会检查将要添加DevKit支持的Ruby列表只支持通过RubyInstaller安装的Ruby
2.>ruby dk.rb review #检查要添加DevKit支持的Ruby列表是否有误可以略过
3.>ruby dk.rb install
4.[INFO] Updating convenience notice gem override for 'C:/Ruby192'
[INFO] Installing 'C:/Ruby192/lib/ruby/site_ruby/devkit.rb'
5.#检查是否安装成功
>gem install rdiscount --platform=ruby
2 Fetching: rdiscount-1.6.8.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
Successfully installed rdiscount-1.6.8
1 gem installed
Installing ri documentation for rdiscount-1.6.8...
Installing RDoc documentation for rdiscount-1.6.8...
如果能安装rdiscount成功说明安装DevKit成功。
详细资料
https://github.com/oneclick/rubyinstaller/wiki/development-kit
今天在重做系统装rails时出现点小小问题
Please update your PATH to include build tools or download the DevKit
开始我不大注意,随便点击个下载安装,结果还是不正确,仔细一看才知道
NOTE: for the legacy RubyInstaller v1.8.6 use the DevKit-3.4.5 available at our archive downloads page. For RubyInstaller versions 1.8.7, 1.9.2, and 1.9.3 use the DevKit 4.5.2 from our main downloads page.
我装的ruby1.9.3,需要DevKit-3.4.5
然后从http://rubyinstaller.org/downloads/下载DevKit-3.4.5安装
如c:/devkit。(注意:目录不能有空格)
安装完后还需要几步才算是成功
1.>ruby dk.rb init 3
#生成config.yml这里会检查将要添加DevKit支持的Ruby列表只支持通过RubyInstaller安装的Ruby
2.>ruby dk.rb review #检查要添加DevKit支持的Ruby列表是否有误可以略过
3.>ruby dk.rb install
4.[INFO] Updating convenience notice gem override for 'C:/Ruby192'
[INFO] Installing 'C:/Ruby192/lib/ruby/site_ruby/devkit.rb'
5.#检查是否安装成功
>gem install rdiscount --platform=ruby
2 Fetching: rdiscount-1.6.8.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
Successfully installed rdiscount-1.6.8
1 gem installed
Installing ri documentation for rdiscount-1.6.8...
Installing RDoc documentation for rdiscount-1.6.8...
如果能安装rdiscount成功说明安装DevKit成功。
详细资料
https://github.com/oneclick/rubyinstaller/wiki/development-kit
发表评论
-
ruby 回复功能
2015-03-24 21:44 599http://www.sitepoint.com/realti ... -
测试驱动开发(TDD)
2015-03-02 17:00 589测试驱动开发的基本过程如下: 1) 明确当前要完成的功能。可 ... -
详解rails命令行
2015-02-02 14:32 866http://blog.58share.com/?cat=7 ... -
Ruby is Big in China
2014-08-12 15:35 519http://stylesror.github.io/#rub ... -
ruby http get post
2014-07-31 11:22 729uri = URI('url') Net::H ... -
使用者認證
2014-07-29 11:18 401转自: http://ihower.tw/rails3/aut ... -
bundle exec rake i18n:check
2014-07-03 11:45 494bundle exec rake i18n:check -
ruby on rails+nginx+passenger+ubuntu
2014-06-06 00:19 827ruby 使用rvm安装 在使用rmv安装的ruby时候必 ... -
用 Ruby on Rails 实现适应各种平台的在线 Office 文档预览
2014-05-28 09:20 927前言 在许多Web应用中 ... -
`gem install nokogiri -v '1.5.6' 报错
2014-05-18 13:07 569libxml2 is missing. please vis ... -
卸载指定版本 bundle
2014-05-05 18:04 2647gem uninstall bundler -v=1.6.2 ... -
使用Vagrant在Windows下部署开发环境
2014-03-06 10:34 663http://blog.smdcn.net/article/1 ... -
安装rails时的一个小注意
2013-12-17 10:08 826在ubuntu上安装ROR环境时候,我总是忘记一件事情,就是设 ... -
GitHub使用指南!(ubuntu)
2013-12-06 00:03 1035<!-- @page { margin: 2cm } P ... -
关于在win7上安装Ruby On Rails 环境的几点注意
2013-12-05 18:31 1437在window下安装Ruby On Rails 环境须知: 1 ... -
Ubuntu安装Ruby On Rails多版本
2013-11-29 23:44 838写Ruby程序的时候,可能 ... -
ruby数组基本操作
2013-11-08 14:52 684#创建数组的几种方法#字面量创建的方法 a = [1,2,3 ... -
Rails2.2新特性:本地化与国际化(2008-12-15 14:21:41)
2013-11-01 11:05 807http://fsjoy.blog.51cto.com/318 ... -
浅析Ruby on Rails部署方案
2013-09-27 15:16 723http://blog.csdn.net/jrckkyy/ar ... -
【转载】我是如何让Ruby项目速度提升10倍的?
2013-09-06 13:18 629作者详细描述了他是如 ...
相关推荐
《Rails之道》按照Rails的各个子系统进行组织编排,分别介绍了Rails的环境、初始过程、配置和日志记录,Rails的分配器、控制器、页面生成和路由,REST、资源和Rails,ActiveRecord的基础、关联、验证和高级技巧,...
《Rails之道》详细讨论了Rails的程序代码并通过分析Rails中的代码片段来深入解释它的功能,同时,《Rails之道》部分章节也摘录了一些API文档中的内容,使读者能够快速地找到对应的API文档、相关的示例代码以及深入的...
Rails之道.pdf 高清 带书签
MSYS2 is required to build native C/C++ extensions for Ruby and is necessary for Ruby on Rails. Moreover it allows the download and usage of hundreds of Open Source libraries which Ruby gems can ...
rails 2.3.2离线安装rails 2.3.2离线安装rails 2.3.2离线安装rails 2.3.2离线安装rails 2.3.2离线安装rails 2.3.2离线安装rails 2.3.2离线安装rails 2.3.2离线安装rails 2.3.2离线安装rails 2.3.2离线安装rails ...
[Pragmatic Bookshelf] Crafting Rails Applications Expert Practices for Everyday Rails Development (E-Book) ☆ 图书概要:☆ Rails 3 is a huge step forward. You can now easily extend the framework, ...
Ruby on Rails Guides v2 - Ruby on Rails 4.2.5
《Ruby on Rails Tutorial》中文版(原书第2版,涵盖 Rails 4) Ruby 是一门很美的计算机语言,其设计原则就是“让编程人员快乐”。David Heinemeier Hansson 就是看重了这一点,才在开发 Rails 框架时选择了 Ruby...
本资源是参照rails敏捷开发第四版书中的例子,rails的版本是rails3.2.6
一个用Ruby on Rails搭建的图片分享的网站项目.完整源代码
Bootstrap 3 和 Rails 4(样例用的是Ruby 2.1.1,Rails 4.1.4) Table of Contents Preface 1 Chapter 1: Introducing Web Application Development in Rails 7 Why Bootstrap with Rails? 8 Setting up a Todo ...
adminlte-rails, AdminLTE Rails gem 将AdminLTE主题与 Rails 资产管道集成 AdminLTE Rails gem AdminLTE 是后端的高级 Bootstrap 主题。英镑 AdminLTE Rails gem 与 Rails 资产管道集成了英镑AdminLTE主题。安装将...
Ruby On Rails 框架自它提出之日起就受到广泛关注,在“不要重复自己”,“约定优于配置”等思想的指导下,Rails 带给 Web 开发者的是极高的开发效率。 ActiveRecord 的灵活让你再也不用配置繁琐的 Hibernate 即可...
Ruby on Rails helps you produce high-quality, beautiful-looking web applications quickly. You concentrate on creating the application, and Rails takes care of the details., Tens of thousands of ...
使用Aptana+Rails开发Rails Web应用 有Aptana的安装配置等等,中文
中文世界唯一一本Rails 4.0.0 + Ruby 2.0.0 的自學書籍
书里的一切都很符合“Rails 之道”,我以前觉得这个道很不自然,但是读完这本书,感觉却是自然无比。本书也是唯一一本自始至终都是用测试驱动开发理念的 Rails 书籍,很多行家都推荐使用 TDD,但是在本书出版之前从...
初学 Ruby on Rails 必备之宝典