Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 252136 | Differences between
and this patch

Collapse All | Expand All

(-)bin/rdig.orig (-9 / +4 lines)
Lines 1-15 Link Here
1
#!/usr/bin/ruby18
1
#!/usr/bin/env ruby
2
#!/usr/bin/env ruby
2
3
3
# run from RAILS_ROOT with 
4
4
# ruby -Ilib vendor/plugins/sitesearch/create_index.rb config
5
5
# where config is the name of your config file
6
require 'rdig'
6
7
7
begin
8
  require 'rdig'
9
rescue LoadError
10
  require 'rubygems'
11
  require 'rdig'
12
end
13
RDig.application.run
8
RDig.application.run
14
9
15
10

Return to bug 252136