如何在Ubuntu上安装Subversion Ruby绑定

时间:2016-09-26 22:37:58

标签: ruby ubuntu svn

我一直在寻找如何安装Subversion Ruby绑定但未发现任何有帮助的东西。一切都很旧,没有用。

我试过了:

sudo apt-get install libsvn-ruby1.8

按预期安装,但返回以下错误:

chris@chris-VirtualBox:/usr/lib/ruby/2.3.0$ irb
1.8.7 :001 > require 'svn/client'
LoadError: cannot load such file -- svn/client
    from /home/chris/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /home/chris/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from (irb):1
    from /home/chris/.rvm/rubies/ruby-2.3.0/bin/irb:11:in `<main>'

我跑的时候:

require 'svn/client'

0 个答案:

没有答案