我是一个全新的ruby和rbenv新手,但我正在尝试让这个'bwoken‘应用程序与rbenv一起工作。
这是bwoken,这是用于iOS UIAutomation测试的:https://github.com/bendyworks/bwoken
我的问题是如何为rbenv添加钩子?
上面写着:
Ensure your after_cd_bundler rvm hook is enabled:
$ chmod u+x ~/.rvm/hooks/after_cd_bundler Then, add the following line to your Rakefile:
好的,我在这里看到了版本历史记录中的注释
https://github.com/sstephenson/rbenv
这样说:
Added /usr/lib/rbenv/hooks to the plugin hook search path.
Added /usr/local/etc/rbenv.d to the list of directories searched for rbenv hooks.
问题是最初添加钩子的默认位置是什么?他们在任何地方都不提这件事。放在哪里才是正确的?
发布于 2013-03-03 09:08:47
对于rbenv,您必须使用点(.)像.rbenv_version这样的文件。该插件在rvm上下文中进行配置。两者都是在同一系统上拥有多个ruby版本的不同方式。
https://stackoverflow.com/questions/14409255
复制相似问题