Sha256: d75807342b9104eade484a2c64e99ea23fb6ac34f1f6731bb4fc03bf9826bd27

Contents?: true

Size: 499 Bytes

Versions: 4

Compression:

Stored size: 499 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
require 'Qt'

windows = false
processor, platform, *rest = RUBY_PLATFORM.split("-")
windows = true if platform =~ /mswin32/ or platform =~ /mingw32/

extension = ''
extension = '.exe' if windows

if RUBY_VERSION.split('.')[0].to_i == 1
  path = File.expand_path(File.join(File.dirname(__FILE__), '1.9', "rbrcc#{extension}"))
else
  path = File.expand_path(File.join(File.dirname(__FILE__), '2.0', "rbrcc#{extension}"))
end
exec(path, *ARGV)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
qtbindings-4.8.5.2 bin/rbrcc
qtbindings-4.8.5.2-x86-mingw32 bin/rbrcc
qtbindings-4.8.5.1 bin/rbrcc
qtbindings-4.8.5.0 bin/rbrcc