Permalink
Browse files

Remove rubygems hooks, use bundler.

Signed-off-by: Laurent Arnoud <laurent@spkdev.net>
  • Loading branch information...
1 parent d1c01b2 commit 9afe7302e7a62d2937451b405516998ef4c27842 @spk committed Aug 21, 2011
Showing with 0 additions and 16 deletions.
  1. +0 −8 bin/validate-website
  2. +0 −8 bin/validate-website-static
View
@@ -1,14 +1,6 @@
#!/usr/bin/env ruby
# encoding: utf-8
-developer_mode = false
-developer_mode = true if __FILE__ == $0
-if developer_mode
- lib_dir = File.join(File.dirname(__FILE__), '..', 'lib')
- $:.unshift(File.expand_path(lib_dir))
- require 'rubygems'
-end
-
require 'validate_website/runner'
exit_status = ValidateWebsite::Runner.run_crawl(ARGV)
exit(exit_status)
@@ -1,14 +1,6 @@
#!/usr/bin/env ruby
# encoding: utf-8
-developer_mode = false
-developer_mode = true if __FILE__ == $0
-if developer_mode
- lib_dir = File.join(File.dirname(__FILE__), '..', 'lib')
- $:.unshift(File.expand_path(lib_dir))
- require 'rubygems'
-end
-
require 'validate_website/runner'
exit_status = ValidateWebsite::Runner.run_static(ARGV)
exit(exit_status)

0 comments on commit 9afe730

Please sign in to comment.