Skip to content

Commit

Permalink
fixed gems dependency informations in project
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuhiro authored and macbury committed Feb 21, 2010
1 parent d093463 commit 0940ddf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ class Object
$verbose = true
end
end
require 'sitemap_generator/tasks' rescue LoadError


unless ARGV.any? {|a| a =~ /^gems/} # Don't load anything when running the gems:* tasks
require 'sitemap_generator/tasks' rescue LoadError
end
7 changes: 6 additions & 1 deletion lib/tasks/webpraca.rake
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
unless ARGV.any? {|a| a =~ /^gems/} # Don't load anything when running the gems:* tasks

require 'highline/import'


def ask_for_password(message)
val = ask(message) {|q| q.echo = false}
if val.nil? || val.empty?
Expand Down Expand Up @@ -71,4 +74,6 @@ namespace :webpraca do
end
end
end
end
end

end

0 comments on commit 0940ddf

Please sign in to comment.