From: Michal Fojtik <mfoj...@redhat.com> * This require cause errors in bundler when Ruby distribution does not bundle 'rake'.
Signed-off-by: Michal fojtik <mfoj...@redhat.com> --- server/deltacloud-core.gemspec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/server/deltacloud-core.gemspec b/server/deltacloud-core.gemspec index 779d703..2a88a3f 100644 --- a/server/deltacloud-core.gemspec +++ b/server/deltacloud-core.gemspec @@ -14,8 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. -require 'rake' - Gem::Specification.new do |s| s.author = 'The Apache Software Foundation' s.homepage = "http://www.deltacloud.org" @@ -32,7 +30,7 @@ Gem::Specification.new do |s| s.version = '1.0.2' s.date = Time.now s.summary = %q{Deltacloud REST API} - s.files = FileList[ + s.files = [ 'Rakefile', '*.gemspec', 'config.ru', @@ -58,7 +56,7 @@ Gem::Specification.new do |s| 'public/stylesheets/images/*.png', 'public/stylesheets/compiled/*.css', 'bin/deltacloudd' - ].to_a + ]..map { |f| Dir[f] }.flatten s.bindir = 'bin' s.executables = 'deltacloudd' -- 1.7.11.3