gem install sinatra keeps fetching wrong version
when i type "ge开发者_高级运维m install sinatra" it keeps pulling 0.9.4 instead of the new 1.0
why does this happen?
gem update --system
gem install sinatra
Have you tried turning it off and on again?
gem uninstall sinatra
gem install sinatra
Or updating the specific gem?
gem update sinatra
Alternatively, you can try:
gem install --pre sinatra
But that gets you the 1.0.b version (beta version, I think), not the actual 1.0 release.
精彩评论