summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Rakefile2
-rw-r--r--tasks/constants.rb4
2 files changed, 5 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 12fbfa4..68a26b9 100644
--- a/Rakefile
+++ b/Rakefile
@@ -44,7 +44,7 @@ PROJ.spec.opts << '--color'
PROJ.rcov.opts << '-I lib'
#
# Dependencies
-depend_on 'rake', '>=0.8.7'
+depend_on 'ffi', '>=1.0.7'
#
task :default => [:spec]
#
diff --git a/tasks/constants.rb b/tasks/constants.rb
index 0e84d3a..78a7625 100644
--- a/tasks/constants.rb
+++ b/tasks/constants.rb
@@ -104,6 +104,10 @@ end
HAVE_SVN = (Dir.entries(Dir.pwd).include?('.svn') and system("svn --version 2>&1 > #{DEV_NULL}"))
HAVE_GIT = (Dir.entries(Dir.pwd).include?('.git') and system("git --version 2>&1 > #{DEV_NULL}"))
+# Add rake as a development dependency
+#
+PROJ.gem.development_dependencies << ['rake', '>=0.8.7']
+
# Add bones as a development dependency
#
if HAVE_BONES