stickler icon indicating copy to clipboard operation
stickler copied to clipboard

stickler on windows issues

Open xrmb opened this issue 8 years ago • 1 comments
trafficstars

I'm not sure if stickler is supposed to run on windows or not. It comes with .cmd wrappers for the stickler and stickler-server commands, but that could just be auto-gen code.

Anyway, after patching some binmodes into local.rb tempfile = Tempfile.new( "uploaded-gem.", temp_dir ) tempfile.binmode tempfile.write( io.read )

and

def install_gem( spec, io )
  File.open( full_path_to_gem( spec ) , "w+" ) do |of|
    of.binmode
    io.each do |str|
      of.write( str )
    end
  end
end

and "deactivating" syslog in the logable.rb it seems to work.

But the question is, should it...?

xrmb avatar Oct 24 '17 20:10 xrmb

@xrmb Yes, the .cmd wrappers are autogen by rubygems on installation. And those are totally reasonable suggestions. Stickler is long overdue for an update especially since it doesn't support the bundler api. so that may be a project coming up.

copiousfreetime avatar Feb 01 '18 16:02 copiousfreetime