Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

rename executable

  • Loading branch information...
commit 97ee00e1c545219d7b1be8636b7ff0a51749322f 1 parent b6f49c1
Daniel Choi authored July 07, 2011
8  bin/ri_vim
... ...
@@ -0,0 +1,8 @@
  1
+#!/usr/bin/env ruby
  2
+begin
  3
+  require 'ri_vim'
  4
+rescue LoadError
  5
+  require 'rubygems'
  6
+  require 'ri_vim'
  7
+end
  8
+RIVim.run
2  lib/install.rb
@@ -5,7 +5,7 @@ def self.install_vim_plugin
5 5
       plugin_template = File.read(File.join(File.dirname(__FILE__), 'plugin.erb'))
6 6
       vimscript_file = File.join(File.dirname(__FILE__), 'ri.vim')
7 7
 
8  
-      ri_vim_tool_path = File.join(File.dirname(__FILE__), 'ri_vim.rb')
  8
+      ri_vim_tool_path = "ri_vim"
9 9
       plugin_body = ERB.new(plugin_template).result(binding)
10 10
 
11 11
       `mkdir -p #{ENV['HOME']}/.vim/plugin`

0 notes on commit 97ee00e

Please sign in to comment.
Something went wrong with that request. Please try again.