2013-01-18 103 views
0

我是一个全新的ruby和rbenv,但我试图让这个'bwoken'应用程序与rbenv工作。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.

的问题是世界卫生大会t是添加钩子的原始默认位置?他们没有在任何地方提及它。正确的地方放在哪里?

回答

0

对于rbenv,您必须使用像.rbenv_version这样的点(。)文件。该插件在rvm上下文中进行配置。这两种方法在同一个系统上有多个ruby版本。