![](/img/trans.png)
[英]Bundler::GemNotFound: Could not find i18n-0.7.0 in any of the sources
[英]Could not find i18n-0.6.0 in any of the sources (Bundler::GemNotFound)
Could not find i18n-0.6.0 in any of the sources (Bundler::GemNotFound)
我試圖在OSX Lion上使用RVM下的Phusion Passenger運行redmine時遇到此錯誤。
我在Ruby 1.9.3下有“redmine”和“global”RVM gemsets。 “global”gemset包含Passenger寶石,其他redmine特定寶石都在“redmine”寶石套裝中。
有很多的堆棧溢出,與此相似的處理崗位( 1 , 2 , 3 ),所有公認的答案,但我不相信任何人都“正確”的解決方案。
如何在我的全球寶石中安裝Passenger時能夠克服這個錯誤嗎?
檢查第一個提到的帖子,最重要的部分是使用包裝器:
PassengerRuby /usr/local/rvm/wrappers/ruby-1.9.3-p125/ruby
包裝器為默認ruby設置適當的環境,因為使用gemsets遵循rvm集成指令: https ://rvm.io/integration/passenger/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.