forked from kristianmandrup/rails3-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
basic.rb
20 lines (12 loc) · 720 Bytes
/
basic.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# apply prototype_remove
# add XHTML 1.0 Strict layout, with jQuery from Google
# run "curl -L http://jqueryjs.googlecode.com/files/jquery-1.4.min.js > public/javascripts/jquery.js"
# run "curl -L http://jqueryjs.googlecode.com/svn/trunk/plugins/form/jquery.form.js > public/javascripts/jquery.form.js"
# create application.js for unobrusive ajax with jquery
# run "curl -L http://gist.github.com/110410 > public/javascripts/application.js"
# file 'app/views/layouts/application.html.erb', file('resources/basic/application.html.erb').read
# run "rm public/index.html"
# gems bundle
apply "http://gist.github.com/187990.txt"
# apply "http://gist.github.com/187993.txt"
apply "http://gist.github.com/283770.txt"