惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
Recent Announcements
Recent Announcements
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The GitHub Blog
The GitHub Blog
MyScale Blog
MyScale Blog
爱范儿
爱范儿
GbyAI
GbyAI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
美团技术团队
Y
Y Combinator Blog
博客园 - 叶小钗
Apple Machine Learning Research
Apple Machine Learning Research
Martin Fowler
Martin Fowler
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
罗磊的独立博客
M
MIT News - Artificial intelligence
博客园 - Franky
V
Visual Studio Blog
I
InfoQ
V
V2EX
Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
博客园 - 司徒正美
L
LangChain Blog

博客园 - chensss2008

JavaScript 中的undefined and null 学习 html5 file upload and form data by ajax openresty + lua-resty-weedfs + weedfs + graphicsmagick动态生成缩略图(类似淘宝方案) ubuntu10.04 安装oracle server 版 笔记 windows xp + mysql5.5 + phpmyadmin insert 中文繁體 (原创)ubuntu 10.04+ruby1.9.2+rails3 安装记录 ruby簡單的代碼行統計工具 Ruby中如何复制对象 (deep clone)(转载) vi 常用命令使用說明 svn Server sent unexpected return value (403 Forbidden) in response to CHECKOUT ubuntu 14.04 安装svn server (subversionedge ) ubuntu 13.10 install wireshark Ubuntu 14.10下基于Nginx搭建mp4/flv流媒体服务器(可随意拖动)并支持RTMP/HLS协议(含转码工具) mysql distinct field1,field2,field3, .... from table jsoup 使用总结4--高级用法之 script js 脚本 jsoup 使用总结3--高级用法之 not jsoup 使用总结2--高级用法之 :gt(n) jsoup 使用总结1--添加header require './ex25' can't load such file
ruby1.9.2 +windowxp
chensss2008 · 2015-08-12 · via 博客园 - chensss2008

ruby1.9.2 install on the window xp

1:在公司上網是有windows代理的(ntlm),而rails又都是gem安裝,對于接觸rails不多的人來時真是一場災難,我是在網站上google了半天才將rails的依賴一個一個的安裝上,然后按照上了rails2.3.3;

2:安裝后,http://localhost:3000可以看到,但是click "About your application's environment"是一直提示錯誤。

Status: 500 Internal Server Error
RubyGem version error: sqlite3-ruby(1.3.1 not >= 0)
d:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:926:in report_activate_error' d:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:244:in activate_dep'
d:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:236:in activate' d:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:213:in rescue in try_activate'
d:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:210:in try_activate' d:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:56:in rescue in require'
d:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in require' d:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:156:in block in require'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:521:in new_constants_in' d:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:156:in require'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.3/lib/active_support/core_ext/kernel/requires.rb:7:in block in require_library_or_gem' d:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.3/lib/active_support/core_ext/kernel/reporting.rb:11:in silence_warnings'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.3/lib/active_support/core_ext/kernel/requires.rb:5:in require_library_or_gem' d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:10:in sqlite3_connection'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in new_connection' d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in checkout_new_connection'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in block (2 levels) in checkout' d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in loop'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in block in checkout' d:/Ruby192/lib/ruby/1.9.1/monitor.rb:201:in mon_synchronize'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in checkout' d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in connection'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in retrieve_connection' d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in retrieve_connection'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in connection' d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/query_cache.rb:9:in cache'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/query_cache.rb:28:in call' d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in call'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/head.rb:9:in call' d:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/methodoverride.rb:24:in call'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-2.3.3/lib/action_controller/params_parser.rb:15:in call' d:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-2.3.3/lib/action_controller/session/cookie_store.rb:93:in call'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-2.3.3/lib/action_controller/reloader.rb:29:in call' d:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-2.3.3/lib/action_controller/failsafe.rb:26:in call'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/lock.rb:11:in block in call' <internal:prelude>:10:in synchronize'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/lock.rb:11:in call' d:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-2.3.3/lib/action_controller/dispatcher.rb:106:in call'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.3.3/lib/rails/rack/static.rb:31:in call' d:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/urlmap.rb:46:in block in call'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in each' d:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in call'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.3.3/lib/rails/rack/log_tailer.rb:17:in call' d:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/content_length.rb:13:in call'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/handler/webrick.rb:46:in service' d:/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:111:in service'
d:/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:70:in run' d:/Ruby192/lib/ruby/1.9.1/webrick/server.rb:183:in block in start_thread'
安裝sqlit3-ruby后,還是一直提示錯誤。后來使用proxy,

gem install sqlite3-ruby #在線安裝,提示

Successfully installed sqlite3-1.3.3-x86-mingw32
Successfully installed sqlite3-ruby-1.3.3
2 gems installed
這樣就ok了。

==========20110420补充
在另一台windowxp上重新安装又是出错
最后终于发现原来是要安装sqlite3-1.3.3-x86-mingw32.gem才可以