Add “lib” to $: in bin/teamocil
This commit is contained in:
parent
b71e5a9470
commit
9f1b573a99
@ -1,6 +1,9 @@
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require File.dirname(__FILE__)+"/../lib/teamocil"
|
||||
$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
|
||||
|
||||
require 'yaml'
|
||||
require 'teamocil'
|
||||
|
||||
if ENV["TMUX"] == nil
|
||||
puts "You must be in a tmux session to use teamocil"
|
||||
|
@ -1,8 +1,3 @@
|
||||
require 'yaml'
|
||||
|
||||
$:.unshift(File.dirname(__FILE__)) unless
|
||||
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
|
||||
|
||||
module Teamocil
|
||||
VERSION = '0.1.2'
|
||||
autoload :Layout, "teamocil/layout"
|
||||
|
Loading…
Reference in New Issue
Block a user