[DRE-commits] [rubygems-integration] 03/10: spec: get architecture from Ruby config

Antonio Terceiro terceiro at moszumanska.debian.org
Wed Jun 17 22:17:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository rubygems-integration.

commit ce44d4009f706e911dae8a91c5d08526daee54b5
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Thu Oct 2 12:01:47 2014 -0300

    spec: get architecture from Ruby config
---
 spec/rubygems_integration_spec.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/rubygems_integration_spec.rb b/spec/rubygems_integration_spec.rb
index 9894e43..afe0f5e 100644
--- a/spec/rubygems_integration_spec.rb
+++ b/spec/rubygems_integration_spec.rb
@@ -4,7 +4,7 @@ require 'rbconfig'
 require 'rubygems/defaults/operating_system'
 
 $RUBY_VERSION = RbConfig::CONFIG['ruby_version']
-$ARCH = `dpkg-architecture -qDEB_HOST_MULTIARCH`.strip
+$ARCH = RbConfig::CONFIG['arch']
 
 class RubygemsIntegrationSpec < MiniTest::Spec
   it 'puts gems in /var/lib/gems/VERSION by default' do

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/rubygems-integration.git



More information about the Pkg-ruby-extras-commits mailing list