C:\Users\Евгений\silmple_cms2>rails server
C:/Users/Евгений/silmple_cms2/config/application.rb:7:in `<top (required)>': uni
nitialized constant Bundler (NameError)
from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_req
uire.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_req
uire.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/com
mands/commands_tasks.rb:78:in `block in server'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/com
mands/commands_tasks.rb:75:in `tap'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/com
mands/commands_tasks.rb:75:in `server'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/com
mands/commands_tasks.rb:39:in `run_command!'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/com
mands.rb:17:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_req
uire.rb:128:in `require'
from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_req
uire.rb:128:in `rescue in require'
from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_req
uire.rb:39:in `require'
from bin/rails:4:in `<main>'
C:\Users\Евгений\silmple_cms2>
0
A
回答
0
好像bundler
不存在。啓動服務器之前,請嘗試:
gem install bundler
依次爲:
rails server
櫃面bundler
已經存在,清除所有bundler
特定的設置和緩存:
rm -rf .bundle/
rm -rf vendor/
rm -rf Gemfile.lockcache/
+0
does not help,same error –
0
類型: gem install bundler
到安裝處理所有寶石的bundler應用程序。
然後輸入bundler install
來檢查並安裝所有的寶石。
相關問題
- 1. 當我啓動Apache Presto服務器使用$ bin/launcher運行我得到錯誤
- 2. 我得到ActivityNotFoundException錯誤,當我試圖啓動一個新的活動在android
- 3. 當我嘗試添加一個動態創建的控件到一個asp我得到一個錯誤
- 4. 找不到類錯誤,當我嘗試創建一個Web服務
- 5. 爲什麼我得到一個錯誤,當我嘗試git的承諾--amend
- 6. 我正在使用Jenkins ver。 1.640,當我嘗試啓動奴隸,然後我得到了這個錯誤
- 7. 嘗試啓動第一個WCF服務
- 8. iOS試圖調用Web服務,我得到一個NSURLErrorDomain錯誤
- 9. 我有恩的錯誤,當我嘗試在軌2.3.11
- 10. ios:UIPickerView lldb錯誤,當我嘗試滾動
- 11. 嘗試連接到我的服務器時出現錯誤10061
- 12. 嘗試啓動我的一個節點項目的服務器,但收到此錯誤
- 13. 當我嘗試設置服務前景時Android重新啓動
- 14. pkg_resources.VersionConflict當我嘗試啓動貼膜服務
- 15. 當我嘗試啓動我的Rails服務器時,出現錯誤(Carrier_wave)無法加載霧
- 16. 當我嘗試使用「導軌s」時導軌服務器停止
- 17. 當我嘗試發送json jQuery時,我有內部服務器錯誤500 ajax
- 18. 當我啓動Rails服務器時出現ExecJS :: RuntimeUnavailable錯誤
- 19. 試圖在軌道上「軌道的」啓動服務器,我不斷收到錯誤
- 20. 當我嘗試插入其中BLOB數據類型當我試圖執行INSERT語句,我得到了下面的錯誤,我得到一個錯誤
- 21. 錯誤403當我嘗試上傳文件(圖片)到服務器
- 22. 流星發行版本錯誤嘗試啓動服務器
- 23. GDI +發生一般性錯誤。 (只有當我嘗試在服務器上)
- 24. 無法當我嘗試做從命令java中我得到這個錯誤窗口提示,以啓動Java
- 25. 錯誤:當我嘗試運行時,啓動Apache nutch與mongodb
- 26. 我得到一個 「EXC_BAD_ACCESS」 當我嘗試讀取的NSString
- 27. 我得到一個空片段,當我嘗試替換
- 28. 嘗試導入pygame的,我嘗試導入pygame的得到一個錯誤
- 29. 我通常當我嘗試安裝寶石得到這個錯誤
- 30. PHP:嘗試連接到一個memcache服務器,但獲得「權限錯誤(13)」
您似乎沒有安裝「bundler」。試試'gem install bundler' –