summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-02-15 19:26:25 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-02-15 20:34:52 +0900
commit1e426bd5e527b5a06dfe52810092a5317866e67a (patch)
treef04406430890a55facf9bc774ac8716b25f42e8c
parent8ba053d3fb2ba0482bcfd913d99e4adedeb4be27 (diff)
Exclude net-ftp examples because it has dependency issue
-rw-r--r--spec/bundled_gems.mspec4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/bundled_gems.mspec b/spec/bundled_gems.mspec
index 762fa1c165..2a7408d1c0 100644
--- a/spec/bundled_gems.mspec
+++ b/spec/bundled_gems.mspec
@@ -1,6 +1,8 @@
load File.dirname(__FILE__) + '/default.mspec'
class MSpecScript
- set :library, get(:stdlibs).to_a & get(:bundled_gems).to_a
+ gems = (get(:stdlibs).to_a & get(:bundled_gems).to_a).map{|gem| gem unless gem =~ /ftp/}.compact
+
+ set :library, gems
set :files, get(:library)
end