gpt4 book ai didi

ruby-on-rails - Rails 说 json 1.8.1 丢失,即使它在 bundle 安装期间列出

转载 作者:行者123 更新时间:2023-12-04 18:07:00 26 4
gpt4 key购买 nike

我做了 rails new awesomeapp然后我去的时候做rails s ,我收到了缺少 json-1.8.1 的错误。但是当我进行 bundle 安装时,它被清楚地列出。我错过了什么?

Donalds-MacBook-Pro:awesomeapp · rails s
Could not find json-1.8.1 in any of the sources
Run `bundle install` to install missing gems.

Donalds-MacBook-Pro:awesomeapp · bundle install
Using rake 10.3.2
Using i18n 0.6.9
Using json 1.8.1
Using minitest 5.3.5
Using thread_safe 0.3.4
Using tzinfo 1.2.1
Using activesupport 4.1.0
Using builder 3.2.2
Using erubis 2.7.0
Using actionview 4.1.0
Using rack 1.5.2
Using rack-test 0.6.2
Using actionpack 4.1.0
Using mime-types 1.25.1
Using polyglot 0.3.5
Using treetop 1.4.15
Using mail 2.5.4
Using actionmailer 4.1.0
Using activemodel 4.1.0
Using arel 5.0.1.20140414130214
Using activerecord 4.1.0
Using sass 3.3.9
Using bootstrap-sass 3.0.1.0
Using sassy-maps 0.4.0
Using breakpoint 2.4.2
Using chunky_png 1.3.1
Using coffee-script-source 1.7.0
Using execjs 2.2.1
Using coffee-script 2.2.0
Using thor 0.19.1
Using railties 4.1.0
Using coffee-rails 4.0.1
Using fssm 0.2.10
Using compass 0.12.2
Using hike 1.2.3
Using multi_json 1.10.1
Using tilt 1.4.1
Using sprockets 2.11.0
Using compass-rails 1.1.7
Using jbuilder 2.1.1
Using jquery-rails 3.1.1
Using normalize-rails 3.0.1
Using bundler 1.6.2
Using sprockets-rails 2.0.1
Using rails 4.1.0
Using rdoc 4.1.1
Using sass-rails 4.0.1
Using sdoc 0.4.0
Using spring 1.1.3
Using sqlite3 1.3.9
Using susy 2.1.0
Using turbolinks 2.2.2
Using uglifier 2.5.1
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.

Donalds-MacBook-Pro:awesomeapp · rails s
Could not find json-1.8.1 in any of the sources
Run `bundle install` to install missing gems.

Donalds-MacBook-Pro:awesomeapp ·

最佳答案

我认为您需要更新您的打包程序。
尝试运行:

bundle update
bundle install
rails s

关于ruby-on-rails - Rails 说 json 1.8.1 丢失,即使它在 bundle 安装期间列出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24589640/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com