在我的/Users/Apple/Documents/projects
上有一个Rails项目,我已经删除了它的文件。
现在,当我尝试在任何文件夹中创建新的Rails应用rails new app
时,都会出现此错误:
/Users/Apple/.rvm/rubies/ruby-2.5.1/bin/ruby: warning: shebang line ending with \r may cause problems
Traceback (most recent call last):
2: from script/rails:5:in `<main>'
1: from /Users/Apple/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/Users/Apple/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- /Users/Apple/Documents/projects/config/boot (LoadError)
我不知道为什么它试图从已删除的项目中加载config/boot
?