本月博客排行
-
第1名
龙儿筝 -
第2名
lerf -
第3名
fantaxy025025 - johnsmith9th
- zysnba
- xiangjie88
年度博客排行
-
第1名
青否云后端云 -
第2名
宏天软件 -
第3名
gashero - wy_19921005
- vipbooks
- benladeng5225
- e_e
- wallimn
- javashop
- ranbuijj
- fantaxy025025
- jickcai
- zw7534313
- qepwqnp
- 解宜然
- ssydxa219
- zysnba
- sichunli_030
- sam123456gz
- 龙儿筝
- arpenker
- tanling8334
- kaizi1992
- gaojingsong
- xpenxpen
- jh108020
- wiseboyloves
- ganxueyun
- xyuma
- xiangjie88
- wangchen.ily
- Jameslyy
- luxurioust
- lemonhandsome
- mengjichen
- jbosscn
- zxq_2017
- lzyfn123
- nychen2000
- forestqqqq
- wjianwei666
- ajinn
- zhanjia
- Xeden
- hanbaohong
- java-007
- 喧嚣求静
- kingwell.leng
- mwhgJava
- lich0079
最新文章列表
cc.rb Mysql2::Error: No database selected: SHOW TABLES
/home/agideo/.cruise/projects/mindaitong_dev/work agideo$ ruby -e "require 'rubygems' rescue nil; require 'rake'; load '/home/agideo/projects/cruisecontrol-1.4.0/tasks/cc_build.rake'; ARGV << ...
RoR开发环境搭建 - Windows radrails2
1. 安装Ruby
1)下载RubyInstaller: http://rubyforge.org/frs/download.php/74298/rubyinstaller-1.9.2-p180.exe
2)运行rubyinstaller-1.9.2-p180.exe,根据向导安装,我是安装到c盘: C:\Ruby192 并且勾选那两个选项: Add Ruby executables to ...
ruby on rails 常用 网站
http://ruby-toolbox.com/
http://cn.asciicasts.com/
http://railscasts.com/
http://rubygems.org/
https://github.com/
http://rdoc.info/ 插件文档
http://api.rubyonrails.org/ rail ...
jruby on rails 的安装
1,安装jruby
sudo apt-get install jruby1.1
2. 安装RubyGems
sudo apt-get install rubygems1.8
3, 安装rake
sudo jruby -S gem install -y rake
4 安装rails
sudo jruby -S gem install -v=1.2.3 rails
测试: ...
安装 nokogiri 时问题处理
# bundle install================================================================================================================= Installing nokogiri (1.4.4) with native extensions /opt/ruby-enterpris ...
how to use rails gems and ruby libraries
1、rails gems
cd /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record
#这个路径因你的ruby安装路径不同而不同ls
aggregations.rb dynamic_finder_match.rb schema_dumper.rb
associat ...
Rails3:使用bundler管理gems
直接在命令行(CMD)执行:
sudo gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i18n
(以上是一行,一次输入并执行)
bundle install 时有一个gem出错 下面的gem就不会被安装
[simo ...
.irbrc rails 3 compatible
require 'rubygems' rescue nil
require 'wirble'
require 'pp'
# load wirble
Wirble.init
Wirble.colorize
IRB.conf[:AUTO_INDENT] = true
## method tracing
# enable tracing
def enable_trac ...