ruby gem contrast before deployment
i'm formulating gem has
- several scripts bin directory
- the concentration classes lib directory
- and several tests exam directory
supertool
bin
toola
toolb
lib
supertool
supertool.rb
helper.rb
test
tc_main.rb
tc_etc.rb
now, run tests before i even exercise gem, i have following dash during tip tests:
base = file.basename(dir.pwd)
if bottom == 'test' || bottom =~ /supertool/
dir.chdir('..') bottom == 'test'
$load_path.unshift(dir.pwd + '/lib')
dir.chdir('test') bottom =~ /supertool/
end
this seems empty though, generally i have put scripts bin office too. there improved proceed sourroundings adult sourroundings exam gems before installed? i'm certain it's something rudimentary i only can't find. rudimentary couple right place assistance lot :)
Comments
Post a Comment