当我运行rspec时,我收到以下消息:
std::string FileSystem::removeNullCharacters(const char * input){
std::string out = "";
for(int i = 0; i < 512; ++i){
std::cout << i << ": " << input[i];
/*if(input[i] == '\0'){
return out;
}
else{
out += input[i];
}*/
}
return out;
}
我不知道我在使用Qt,所以不知道升级它的含义。
如何进行升级以及在此之前应采取哪些预防措施?
答案 0 :(得分:4)
Comment out the capybara and capybara-webkit gems from your gemfile. Then:
bundle
gem uninstall capybara-webkit
gem uninstall capybara # if it complains about dependencies 'gem uninstall' them first
brew remove qt
brew remove qt5 # if you've been playing around
From a clean environment (restart your terminal):
brew install qt5
brew linkapps qt5
brew link --force qt5
Uncomment capybara and capybara-webkit in the gemfile and then:
bundle install