Skip to content

sharpsaw/ruby-dots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby-dots

Not much yet - more of a place to put Ruby-related stuffs.

More to come.

Context

Why "-dots"? See the system I start with:

curl sharpsaw.org/init | sh

Scripts

  • ,bhaml ⇒ Browse HAML — uses sane-dots/bin/,b to open the output from haml
  • ,gem ⇒ "gem", but backgrounds docs generation for much speed.
  • ,gemiif [[ $# == 0 || '.' == "$1" ]]; then
  • ,gemsgem search -dr <args>
  • ,gemu,gem uninstall -ax <args>
  • ,rbenvi ⇒ Install rbenv
  • ,version-bumpversion_path =
  • bebundle exec <args>
  • begbundle exec guard <args>
  • berbundle exec rake <args>
  • buiif ! type bundle >/dev/null 2>&1; then
  • buo ⇒ Edit the gem given as an arg.
  • buubundle update <args>
  • cd-gem ⇒ alias to gem-cd to match the old Perl pm-cd
  • code-density ⇒ Shows chars-per-line (after stripping comments)
  • db-migrate-dev+testfor n in development test; do RAILS_ENV=$n bundle exec rake db:migrate<args>; done
  • gem-cd ⇒ Spawn a shell in the dir of a gem.
  • gem. ⇒ Install the current dir as a gem
  • gemdoc ⇒ Run gem server then open a browser on localhost (using sane-dots/bin/,b)
  • md2html ⇒ Convert Markdown to HTML (outputs filename.md as filename.html)
  • rdiefile_line = ARGV[0].dup
  • trb ⇒ Run tests via testrb
  • viGemfile ⇒ Analogous to 'visudo' — edit a Gemfile then run 'bundle install'

Contact

[email protected]

Ask/tell/demand anything. I'll be receptive.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •