gpt4 book ai didi

mysql - 在 ROR 中创建数据库时出错

转载 作者:太空宇宙 更新时间:2023-11-03 16:08:09 26 4
gpt4 key购买 nike

我会在创建数据库后安装一个包,在终端中运行这个commond

rake db:migrate

然后出现这个错误,请帮我看看是什么问题

dominname@dominname204:~/Desktop/ajaxtree$ rake db:create

NOTE: Gem.cache is deprecated, use Gem::source_index. It will be removed on or after 2011-08-01.

Gem.cache called from /home/domainname/Desktop/ajaxtree/config/boot.rb:25.

NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.

Gem.source_index called from /usr/local/lib/site_ruby/1.8/rubygems.rb:1144.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.

Gem::SourceIndex#search called from /home/domainname/Desktop/ajaxtree/config/boot.rb:25.

/usr/local/lib/site_ruby/1.8/rubygems/deprecate.rb:62:Warning: Gem::SourceIndex#search support for String patterns is deprecated, use #find_name
Cannot find gem for Rails =1.1.4:

Install the missing gem with 'gem install -v=1.1.4 rails', or
change environment.rb to define RAILS_GEM_VERSION with your desired version.

最佳答案

请在您的系统中安装新版本的ruby。

关于mysql - 在 ROR 中创建数据库时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9462886/

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