This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run 'rm public/index.html' | |
# RVM | |
file '.rvmrc', "rvm 1.9.2@#{app_name} --create" | |
# Setup database | |
gsub_file 'config/database.yml', /username: (.*)/, 'host: localhost' | |
gsub_file 'config/database.yml', /password:/, '' | |
# Gems |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/locales/cz.rb | |
{ | |
:'cz' => { | |
:i18n => { :pluralize => lambda { |n| n == 1 ? :one : (2..4).include?(n) ? :few : :other } }, | |
:photo_count => { | |
:one => '{{count}} fotka', | |
:few => '{{count}} fotky', | |
:other => '{{count}} fotek' | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Delete/Move Rails default files | |
log 'moving', 'Rails default files' | |
run "mv README doc/README_FOR_RAILS" | |
run "rm public/index.html" | |
# Copy database.yml | |
log "copying", "database.yml" | |
run "cp config/database.yml config/database.example.yml" | |
# Create App config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rails Template for pages_plugin | |
# GEMS | |
gem "vita-clearance", | |
:lib => 'clearance', | |
:source => 'http://gems.github.com', | |
:version => '0.6.9.2' | |
gem "mislav-will_paginate", | |
:lib => "will_paginate", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rails Template for eshop_plugin | |
# GEMS | |
gem "vita-clearance", | |
:lib => 'clearance', | |
:source => 'http://gems.github.com', | |
:version => '0.6.9.2' | |
gem "mislav-will_paginate", | |
:lib => "will_paginate", |