![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Ruby
sloanwu
这个作者很懒,什么都没留下…
展开
-
Ruby1.9.2 On Rails3.0.0
Ruby1.9.2 On Rails3.0.0 Required: sudo aptitude install bison sudo aptitude install libmysqlclient-dev sudo aptitude install libxml2-dev libxslt-dev sudo aptitude install build-essential li...2010-08-31 17:16:54 · 102 阅读 · 0 评论 -
OpenId Authentication For Rails3
[align=center][size=xx-large]OpenId Authentication For Rails3[/size][/align] [b]1. Add Gem[/b] GemFile [code="java"] gem 'ruby-openid' gem 'rack-openid', '>=0.2.1', :require => 'rack/openid'[...2010-09-01 22:00:17 · 73 阅读 · 0 评论 -
Make Ruby Gem
How to make gem 1. Install echoe gem $ gem install echoe 2. make gem $ mkdir hello_world $ vi hello_world/Rakefile require 'rubygems' require 'rake' require 'echoe' Echoe.new('...2010-09-09 21:41:12 · 219 阅读 · 0 评论 -
Rails3集成测试插件Rails-Carrot(一)
Rails-Carrot部分参考Capybara,支持原生的测试Gem驱动,主要是供喜欢用Celerity或者原生浏览器测试Driver。 支持远程,本地,本地外部ruby运行服务器 进行集成测试。 插件地址: http://github.com/sloanwu/carrot 简要介绍,以集成Celerity(需要使用JRuby)为例 You can us...2010-11-03 11:40:54 · 190 阅读 · 0 评论 -
Rails3集成测试插件Rails-Carrot(二)
本篇简要介绍使用JRuby + RSpec + Rails-Carrot + Celerity 进行rails3项目的集成测试。 1. Install jruby > rvm install jruby 2. Rails Gemfile if defined?(JRUBY_VERSION) gem 'activerecord-jdbc-ad...2010-11-03 11:59:28 · 97 阅读 · 0 评论