好吧,这让我的大脑融化了。这可能与我不了解Upstart以及我应该了解的事实有关。对于这么长的问题提前致歉。我正在尝试使用Upstart来管理Rails应用程序的Unicorn主进程。这是我现在的/etc/init/app.conf:description"app"startonrunlevel[2]stoponrunlevel[016]consoleowner#expectdaemonscriptAPP_ROOT=/home/deploy/appPATH=/home/deploy/.rbenv/shims:/home/deploy/.rbenv/bin:$PATH$APP_ROOT/
我运行railss或bundleexecrailss并收到此警告:Bundlerisusingabinstubthatwascreatedforadifferentgem.Thisisdeprecated,infutureversionsyoumayneedto`bundlebinstubrails`toworkaroundasystem/bundleconflict.这是什么意思?通过查看bundler站点,我对binstubs的理解是您可以为它们设置可执行文件,因此您可以执行bin/blabla而不是运行bundleexecblabla。所以这个错误是说我的bundler没有设置到
当我使用运行Rails控制台时railsconsole一切都很好。当我使用运行Rails控制台时bundleexecrailsconsole我收到以下警告Bundlerisusingabinstubthatwascreatedforadifferentgem.Thisisdeprecated,infutureversionsyoumayneedto`bundlebinstubmy_gem`toworkaroundasystem/bundleconflict.my_gem恰好是我创建的一个gem,它完全不相关并且没有在当前项目目录中使用。我已经尝试了这个问题的所有解决方案,但没有成功:B