我剛安裝在我的Windows機器形式railsinstaller.org
。Ruby on Rails的安裝程序問題在Windows 7電腦
現在早些時候我已經安裝在我的機器Ruby2.0
。所以,當我試圖從命令提示符下運行as mentioned here以下命令:
rails s
收到錯誤爲:
C:/Ruby200/lib/ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': Could not f
nd 'railties' (>= 0) among 8 total gem(s) (Gem::LoadError)
from C:/Ruby200/lib/ruby/2.0.0/rubygems/dependency.rb:307:in `to_spec'
from C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in `g
m'
from C:/RailsInstaller/Ruby1.9.3/bin/rails:22:in `<main>'
現在,如果我卸載Ruby2.0
東西都設定。但我也想在我的電腦中使用最新版本的Ruby,這樣我就可以像以前那樣運行我的Ruby實踐程序。 - 請指導我,這樣我就可以在不影響編輯的情況下從我的Sublime Text 2
編輯器運行我的Rails和Ruby程序。