您的位置:首页 > 大数据 > 人工智能

rails 运行出错 版本错乱 部分更新

2013-03-14 10:02 330 查看
rails s

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

/Users//.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find json (~> 1.4) amongst [actionmailer-3.2.12, actionpack-3.2.12, activemodel-3.2.12, activerecord-3.2.12, activeresource-3.2.12, activesupport-3.2.12,
arel-3.0.2, bcrypt-ruby-3.0.1, builder-3.0.4, bundler-1.3.1, carrierwave-0.8.0, cells-3.8.8, coffee-rails-3.2.2, coffee-script-2.2.0, coffee-script-source-1.6.1, database_cleaner-0.9.1, devise-2.2.3, diff-lcs-1.2.1, erubis-2.7.0, execjs-1.4.0, haml-4.0.0,
hike-1.2.1, i18n-0.6.4, journey-1.0.4, jquery-rails-2.2.1, kgio-2.8.0, mail-2.4.4, mime-types-1.21, mini_magick-3.5.0, multi_json-1.6.1, mysql2-0.3.11, orm_adapter-0.4.0, pacecar-1.5.3, polyglot-0.3.3, rack-1.4.5, rack-cache-1.2, rack-ssl-1.3.3, rack-test-0.6.2,
rails-3.2.12, railties-3.2.12, raindrops-0.10.0, rake-10.0.3, rdoc-3.12.2, rspec-core-2.13.0, rspec-expectations-2.13.0, rspec-mocks-2.13.0, rspec-rails-2.13.0, ruby-progressbar-1.0.2, rubygems-bundler-1.1.1, rvm-1.11.3.6, sass-3.2.6, sass-rails-3.2.6, simple_form-2.0.2,
sprockets-2.2.2, subexec-0.2.2, thor-0.17.0, tilt-1.3.4, treetop-1.4.12, turbo-sprockets-rails3-0.3.2, tzinfo-0.3.36, uglifier-1.3.0, unicorn-4.6.2, warden-1.2.1, will_paginate-3.0.4] (Gem::LoadError)

from /Users//.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/rubygems/specification.rb:777:in `block in activate_dependencies'

from /Users//.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/rubygems/specification.rb:766:in `each'

from /Users//.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/rubygems/specification.rb:766:in `activate_dependencies'

from /Users//.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/rubygems/specification.rb:750:in `activate'

from /Users//.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/rubygems/specification.rb:780:in `block in activate_dependencies'

from /Users//.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/rubygems/specification.rb:766:in `each'

from /Users//.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/rubygems/specification.rb:766:in `activate_dependencies'

from /Users//.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/rubygems/specification.rb:750:in `activate'

from /Users//.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/rubygems.rb:1232:in `gem'

from /Users//.rvm/gems/ruby-1.9.3-p327/bin/rails:18:in `<main>'

from /Users//.rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in `eval'

from /Users//.rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in `<main>'

gem env

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

RubyGems Environment:

- RUBYGEMS VERSION: 1.8.23

- RUBY VERSION: 1.9.3 (2012-11-10 patchlevel 327) [x86_64-darwin12.2.0]

- INSTALLATION DIRECTORY: /Users//.rvm/gems/ruby-2.0.0-p0

- RUBY EXECUTABLE: /Users//.rvm/rubies/ruby-1.9.3-p327/bin/ruby

- EXECUTABLE DIRECTORY: /Users//.rvm/gems/ruby-2.0.0-p0/bin

- RUBYGEMS PLATFORMS:

- ruby

- x86_64-darwin-12

- GEM PATHS:

- /Users//.rvm/gems/ruby-2.0.0-p0

- /Users//.rvm/gems/ruby-2.0.0-p0@global

- GEM CONFIGURATION:

- :update_sources => true

- :verbose => true

- :benchmark => false

- :backtrace => false

- :bulk_threshold => 1000

- REMOTE SOURCES:

- http://rubygems.org/
bundle

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Fetching source index from https://rubygems.org/
Could not verify the SSL certificate for https://rubygems.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For

information about OpenSSL certificates, see bit.ly/ssl-certs. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.

ruby -v

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ruby 1.9.3p327 (2012-11-10) [x86_64-darwin12.2.0]

gem install rake

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Successfully installed rake-10.0.3

1 gem installed

Installing ri documentation for rake-10.0.3...

Installing RDoc documentation for rake-10.0.3...

bundle

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Fetching source index from http://ruby.taobao.org/
Resolving dependencies...

Installing rake (10.0.2)

Installing i18n (0.6.1)

Installing multi_json (1.4.0)

Installing activesupport (3.2.9)

Using builder (3.0.4)

Installing activemodel (3.2.9)

Using erubis (2.7.0)

Using journey (1.0.4)

Installing rack (1.4.1)

Using rack-cache (1.2)

Using rack-test (0.6.2)

Using hike (1.2.1)

rails s

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

/Users//.rvm/gems/ruby-2.0.0-p0/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle: [BUG] Segmentation fault

ruby 1.9.3p327 (2012-11-10) [x86_64-darwin12.2.0]

-- Control frame information -----------------------------------------------

c:0025 p:-17584095783122 s:0074 b:0074 l:000073 d:000073 TOP

c:0024 p:---- s:0072 b:0072 l:000071 d:000071 CFUNC :require

c:0023 p:0119 s:0068 b:0068 l:000067 d:000067 TOP /Users//.rvm/gems/ruby-2.0.0-p0/gems/mysql2-0.3.11/lib/mysql2.rb:9

c:0022 p:---- s:0066 b:0066 l:000065 d:000065 FINISH

c:0021 p:---- s:0064 b:0064 l:000063 d:000063 CFUNC :require

c:0020 p:0026 s:0060 b:0060 l:000039 d:000059 BLOCK /Users//.rvm/gems/ruby-2.0.0-p0@global/gems/bundler-1.3.1/lib/bundler/runtime.rb:72

c:0019 p:---- s:0057 b:0057 l:000056 d:000056 FINISH

c:0018 p:---- s:0055 b:0055 l:000054 d:000054 CFUNC :each

c:0017 p:0091 s:0052 b:0052 l:000039 d:000051 BLOCK /Users//.rvm/gems/ruby-2.0.0-p0@global/gems/bundler-1.3.1/lib/bundler/runtime.rb:70

c:0016 p:---- s:0045 b:0045 l:000044 d:000044 FINISH

c:0015 p:---- s:0043 b:0043 l:000042 d:000042 CFUNC :each

c:0014 p:0046 s:0040 b:0040 l:000039 d:000039 METHOD /Users//.rvm/gems/ruby-2.0.0-p0@global/gems/bundler-1.3.1/lib/bundler/runtime.rb:59

c:0013 p:0021 s:0036 b:0036 l:000035 d:000035 METHOD /Users//.rvm/gems/ruby-2.0.0-p0@global/gems/bundler-1.3.1/lib/bundler.rb:132

c:0012 p:0089 s:0032 b:0032 l:000031 d:000031 TOP /Users//ruby/workspace/blog2/config/application.rb:7

c:0011 p:---- s:0030 b:0030 l:000029 d:000029 FINISH

c:0010 p:---- s:0028 b:0028 l:000027 d:000027 CFUNC :require

c:0009 p:0016 s:0024 b:0024 l:000015 d:000023 BLOCK /Users//.rvm/gems/ruby-2.0.0-p0/gems/railties-3.2.9/lib/rails/commands.rb:53

c:0008 p:---- s:0021 b:0021 l:000020 d:000020 FINISH

c:0007 p:---- s:0019 b:0019 l:000018 d:000018 CFUNC :tap

354 /Users//.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/cgi/core.rb

355 /Users//.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/cgi/cookie.rb

356 /Users//.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/cgi/util.rb

357 /Users//.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/cgi.rb

358 /Users//.rvm/gems/ruby-2.0.0-p0/gems/haml-3.1.7/lib/haml/compiler.rb

359 /Users//.rvm/gems/ruby-2.0.0-p0/gems/haml-3.1.7/lib/haml/filters.rb

bundle

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Fetching source index from http://ruby.taobao.org/
Installing rake (10.0.2)

Installing i18n (0.6.1)

Installing multi_json (1.4.0)

Installing activesupport (3.2.9)

Installing builder (3.0.4)

Installing activemodel (3.2.9)

Installing erubis (2.7.0)

Installing journey (1.0.4)

Installing rack (1.4.1)

Installing rack-cache (1.2)

Installing rack-test (0.6.2)

Installing hike (1.2.1)

Installing tilt (1.3.3)

bundle bundle update

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

rails s
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Could not find json-1.7.7 in any of the sources

Run `bundle install` to install missing gems.

bundle update json

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

rails s
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐