简体   繁体   English

无法安装RoR Engine for LocomoativeCMS

[英]Can't install RoR Engine for LocomoativeCMS

I've been following these instructions from their main site. 我一直在他们的主要网站上遵循这些说明 Everything works well until I get to this line: 一切正常,直到我到达这一行:

$ bundle exec rails g locomotive:install

All that happens though is that the rails help text gets displayed. 尽管所有发生的事情是Rails帮助文本被显示。 After some googling, I can see that this used to work but it doesn't anymore. 经过一番谷歌搜索,我可以看到它曾经起作用,但现在不再起作用。 It is rather vexing for a new comer to see outdated documentation. 对于一个新手来说,看到过时的文档真是令人讨厌。

What is the current way to set up Ruby on rails with locomotivecMS? 使用机车技术在rails上设置Ruby的当前方法是什么?

I encountered the same issue a few days ago, following the same guide. 我几天前按照相同的指南遇到了相同的问题。 I can't remember exactly what fixed it for me (and it was on my dev machine at home, so I can't look at it right now), but IIRC the top-rated answer from here worked for me: Failing to install Locomotive CMS at bundle exec 我不记得是什么确切地为我修复了它(它在我家里的开发机器上,所以我现在不能看它),但是IIRC从这里得到的最高评价对我有用无法安装Bundle exec的机车CMS

While both of the listed answers may work, my basic understanding of Ruby and Bundler (I'm just learning the ecosystem) leads me to believe that the first one is better. 虽然列出的两个答案都可能有效,但是我对Ruby和Bundler的基本了解(我正在学习生态系统)使我相信第一个更好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM