Skip to content

deivid-rodriguez/ruby-bisect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby-bisect

Runs a git bisection of your ruby program against the different revisions of ruby-core, so you can find out which one broke it.

This is just some bash scripts to make this process easier. They copy structure, style and bash lessons from ruby-install.

Requirements

Install

git clone https://github.com/deivid-rodriguez/ruby-bisect

Synopsis

From your target project directory,

  • Bisect myscript.rb, known to work with MRI revision r55000, but failing against ruby-core latest master.
/path/to/ruby-bisect/bin/ruby-bisect 55000 -- myscript.rb
  • Bisect myscript.rb, known to work with MRI revision r55000 and known to fail with MRI revision r55100.
/path/to/ruby-bisect/bin/ruby-bisect 55000 551000 -- myscript.rb
  • Bisect myscript.rb, known to work with MRI revision r55000, but failing against ruby-core latest master, using chruby as the version switcher.
/path/to/ruby-bisect/bin/ruby-bisect --switcher chruby 55000 -- myscript.rb

About

Bisections against ruby-core for you ruby programs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages