Skip to content

Commit

Permalink
Remove user lib directory
Browse files Browse the repository at this point in the history
  • Loading branch information
peterkeen committed May 18, 2012
1 parent b9cb8d0 commit 97e372c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -67,7 +67,7 @@ This says that every value in the `Account` column will be surrounded with an `<

#### Customizing

Any ruby files in `~/.ledger_web/lib` will be loaded at startup so you can define your own classes, modules, whatever you want. In addition, you can put [Sequel migrations](http://sequel.rubyforge.org/rdoc/files/doc/migration_rdoc.html) in `~/.ledger_web/migrate` and they'll get applied as necessary at startup.
You can put [Sequel migrations](http://sequel.rubyforge.org/rdoc/files/doc/migration_rdoc.html) in `~/.ledger_web/migrate` and they'll get applied as necessary at startup.

#### Hooks

Expand Down
11 changes: 0 additions & 11 deletions lib/ledger_web.rb
Expand Up @@ -8,14 +8,3 @@
require 'ledger_web/watcher'
require 'ledger_web/helpers'
require 'ledger_web/app'


ledger_web_dir = "#{ENV['HOME']}/.ledger_web"

if File.directory? ledger_web_dir
if File.directory? File.join(ledger_web_dir, "lib")
Dir.glob(File.join(ledger_web_dir, "lib", "*.rb")).each do |f|
require f
end
end
end

0 comments on commit 97e372c

Please sign in to comment.