File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
elasticsearch-rails/lib/rails/templates Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11# $ rails new searchapp --skip --skip-bundle --template https://raw.github.com/elasticsearch/elasticsearch-rails/master/elasticsearch-rails/lib/rails/templates/03-expert.rb
22
3- unless File . read ( 'README.rdoc ' ) . include? '== [2] Pretty'
3+ unless File . read ( 'README.md ' ) . include? '== [2] Pretty'
44 say_status "ERROR" , "You have to run the 01-basic.rb and 02-pretty.rb templates first." , :red
55 exit ( 1 )
66end
2121 exit ( 1 )
2222end
2323
24- append_to_file 'README.rdoc ' , <<-README
24+ append_to_file 'README.md ' , <<-README
2525
26- == [3] Expert
26+ ## [3] Expert
2727
2828The `expert` template changes to a complex database schema with model relationships: article belongs
2929to a category, has many authors and comments.
3939
4040README
4141
42- git add : "README.rdoc "
42+ git add : "README.md "
4343git commit : "-m '[03] Updated the application README'"
4444
4545# ----- Add gems into Gemfile ---------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments