我已經在Windows 10上安裝了一個rails應用程序並正在遷移數據庫,但是我收到了問題rake db:migrate:在任何源代碼中找不到nio4r-2.1.0運行`bundle install`安裝缺失的gems
rake db:migrate
Could not find nio4r-2.1.0 in any of the sources
Run `bundle install` to install missing gems.
我有更新並安裝blundler
人是否有這是爲什麼happning
gem_make.out任何想法,顯示我:
You have to install development tools first.
from D:/Ruby24-x64/lib/ruby/2.4.0/mkmf.rb:588:in `try_cpp'
from D:/Ruby24-x64/lib/ruby/2.4.0/mkmf.rb:1095:in `block in have_header'
from D:/Ruby24-x64/lib/ruby/2.4.0/mkmf.rb:945:in `block in checking_for'
from D:/Ruby24-x64/lib/ruby/2.4.0/mkmf.rb:351:in `block (2 levels) in postpone'
from D:/Ruby24-x64/lib/ruby/2.4.0/mkmf.rb:321:in `open'
from D:/Ruby24-x64/lib/ruby/2.4.0/mkmf.rb:351:in `block in postpone'
from D:/Ruby24-x64/lib/ruby/2.4.0/mkmf.rb:321:in `open'
from D:/Ruby24-x64/lib/ruby/2.4.0/mkmf.rb:347:in `postpone'
from D:/Ruby24-x64/lib/ruby/2.4.0/mkmf.rb:944:in `checking_for'
from D:/Ruby24-x64/lib/ruby/2.4.0/mkmf.rb:1094:in `have_header'
from extconf.rb:5:in `<main>'
我錯過了它。
我已經安裝的devkit ...錯誤是:耙分貝:遷移 在任何源中找不到nio4r-2.1.0 運行'bundle install'安裝缺失的gem。 –
最後,我已經解決了這個問題,我使用的功率外殼..它不工作..現在使用cmd,它的工作原理:) –