lib/tasks/developmentkit.rake in developmentkit-0.0.8 vs lib/tasks/developmentkit.rake in developmentkit-0.1.0
- old
+ new
@@ -7,10 +7,10 @@
end
desc 'bundle update developmentkit dependency'
namespace :update do
task :dependency do
- `bundle update thin pry-rails pry-rescue pry-stack_explorer pry-byebug rack-mini-profiler bullet spring quiet_assets`
+ spec = Gem::Specification.load 'developmentkit.gemspec'
+ `bundle update #{spec.runtime_dependencies.map(&:name).join(' ')}`
end
end
-
end