Calculate cursor position in word wrapped content.
Display to the user that a gem couldn’t be found and reasons why
Check state file is writable. Creates empty file if not present to ensure we can write to it.
Writes the full .gemspec specification (in Ruby) to the gem home’s specifications/default directory.
In contrast to write_spec
, this keeps file lists, so the ‘gem contents` command works.
Creates windows .bat files for easy running of commands
Creates the scripts to run the applications in the gem.
Ensures the Gem::Specification
written out for this gem is loadable upon installation.
Return the text for an application file.
return the stub script text used to launch the true Ruby script
Writes the .gem file to the cache directory