Sha256: 739bc709919b896fef858a448dba1b6dc35ffc31050282df081bd94adc19df32
Contents?: true
Size: 1.25 KB
Versions: 1
Compression:
Stored size: 1.25 KB
Contents
module Bake class Version def self.number "2.59.0" end def self.printBakeVersion(ry = "") puts "-- bake#{ry} #{Bake::Version.number}, ruby #{RUBY_VERSION}p#{RUBY_PATCHLEVEL}, platform #{RUBY_PLATFORM} --" end def self.printBakeryVersion() printBakeVersion("ry") end def self.printBakeqacVersion() printBakeVersion("qac") end def self.printBakecleanVersion() printBakeVersion("clean") end def self.printBakeRtextServiceVersion() printBakeVersion("-rtext-service") end def self.printBakeFormatVersion() printBakeVersion("-format") end end expectedRGen = "0.8.2" expectedRText = "0.9.0" expectedConcurrent = "1.0.5" begin gem "rgen", "=#{expectedRGen}" rescue Exception => e puts "Warning: Failed to load rgen #{expectedRGen}, using latest version" end begin gem "rtext", "=#{expectedRText}" rescue Exception => e puts "Warning: Failed to load rtext #{expectedRText}, using latest version" end begin gem "concurrent-ruby", "=#{expectedConcurrent}" rescue Exception => e puts "Warning: Failed to load concurrent-ruby #{expectedConcurrent}, using latest version" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bake-toolkit-2.59.0 | lib/common/version.rb |