Ruby larrow 发布 0.0.3,顺便请教一个问题

fsword · 2014年11月02日 · 最后由 googya 回复于 2014年11月03日 · 1545 次阅读

release note:

  • clean dependency: remove active_support
  • open verbose mode on tests
  • delete resource file when cleanup
  • ensure node start( use nmap to detect)
  • use larrow-qingcloud v0.0.2

顺便问一个问题,我在某些目录下执行 larrow 遇到了如下的现象:

~/projects/github/easycmd/essh(master)[2.1.3]
$ larrow
Could not find proper version of larrow-runner (0.0.1) in any of the sources
Run `bundle install` to install missing gems.

但是这里安装的是 0.0.3 这个版本,我经过查找,发现

$ which larrow 
/home/john/.rvm/gems/ruby-2.1.3/bin/larrow
~/projects/github/easycmd/essh(master)[2.1.3]
$ cat /home/john/.rvm/gems/ruby-2.1.3/bin/larrow | head -n 1
#!/usr/bin/env ruby_executable_hooks

如果把这个 shebang 设定改为

#!/usr/bin/env ruby

就没问题了。

似乎是 executable-hooks 这个 gem 的问题,但是涉及到 gem 插件,这块我不太懂,有人处理过类似的情况么?

用这个的人比较少啊。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号