lib/softcover/commands/publisher.rb in softcover-0.7.11 vs lib/softcover/commands/publisher.rb in softcover-0.8.0
- old
+ new
@@ -34,9 +34,12 @@
# TODO: refactor this flow out of file?
def publish_screencasts!(options={})
return false unless current_book
+ require 'ruby-progressbar'
+ require 'curb'
+
current_book.screencasts_dir = options[:dir] ||
Softcover::Book::DEFAULT_SCREENCASTS_DIR
@watch = options[:watch]