remove unused code
add cap rails and bundler support
use rails 4 sample app