我试图在Linux上设置 Prax ,但只要我指向http://market_place_api.dev,我就会收到以下错误:
RVM project not found at: /media/pluralism/Data/market_place_api
I, [2016-03-14T16:30:10.286932 #30163] INFO -- : Prax is ready to receive connections on :20559 and :20558.
I, [2016-03-14T16:30:29.961939 #30163] INFO -- : Spawning application 'market_place_api' [/media/pluralism/Data/market_place_api]
/home/pluralism/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems.rb:250:in `find_spec_for_exe': can't find gem bundler (>= 0.a) (Gem::GemNotFoundException)
from /home/pluralism/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems.rb:278:in `activate_bin_path'
from /home/pluralism/.rvm/gems/ruby-2.3.0/bin/bundle:22:in `<main>'
from /home/pluralism/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
from /home/pluralism/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>'
^CI, [2016-03-14T16:30:35.760481 #30163] INFO -- : Forcing restart of market_place_api (/media/pluralism/Data/market_place_api)
我的安装有什么问题?提前谢谢!
答案 0 :(得分:2)
看起来缺少bundler
gem。使用gem install bundler
安装它,看看它是否有帮助。
答案 1 :(得分:2)
我遇到了类似的问题。看起来他们可能会使用不同版本的rubygems
来构建他们的宝石。我找到的唯一解决方案是升级rubygems,gem update --system
。