Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (36 sloc) 1.16 KB
commands
- rake -T - show commands
- edit version in lib/dnstraverse/version.rb
- rake gemcutter:release - release to rubygems.org
sudoers setup
- To allow 'sudo rake install'
- Defaults:james !secure_path,!env_reset
git setup
- useful for Jeweler
- git config --global user.email james@squish.net
- git config --global user.name 'James Ponder'
- git config github.user squish
- git config github.token xxx
git
- git status
- git diff
- git commit -a -m 'xxxx'
- git push
bundler
- http://gembundler.com/
- manages dependencies placed in Gemfile
- bundle install
jeweler
- http://technicalpickles.com/posts/craft-the-perfect-gem-with-jeweler/
- adds lots of nice Rake tasks like install via the Rakefile
- manages version number
enterprise ruby
- download source tgz version to /usr/local/src/dist, untgz to /usr/local/src
- install anything installer indicates, e.g. buiild-essential, zlib1g-dev,
libssl-dev, libreadline5-dev
- apt-get install mysql-server mysql-clientlibmysqlclient-dev - first
- install to /usr/local/ruby-enterprise-1.8.7-2011.03
- install apache as directed
- set DocumentRoot to public dir to make rails app live
interesting domains
- IPv6 glue: kieboom.net