i tried to generate a database .The config/database.yml file hold following for the development environment adapter: mysql database: blogg username: root password: 12345 socket: /var/run/mysqld/mysqld.sock rails -v=2.3.8 gem -v= 1.3.7 ruby -v=ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux] When i tried cd blog rake db:create it gave me following error (in /home/amrit/blog) rake aborted! syntax error on line 4, col 11: ` database: blogg'' (See full trace by running task with --trace) Please help to resolve it. Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Apr 12, 12:46 pm, amritpal pathak <amritpalpath...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> i tried to generate a database .The config/database.yml file hold following > for the development environment > adapter: mysql > database: blogg > username: root > password: 12345 > socket: /var/run/mysqld/mysqld.sock >Yaml is quite fussy about its indentation - make sure you''re using spaces rather than tabs and everything is indented consistently Fred> rails -v=2.3.8 > gem -v= 1.3.7 > ruby -v=ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux] > > When i tried > cd blog > rake db:create > it gave me following error > > (in /home/amrit/blog) > rake aborted! > syntax error on line 4, col 11: ` database: blogg'' > > (See full trace by running task with --trace) > > Please help to resolve it. > > Thanks-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Apr 12, 8:00 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Apr 12, 12:46 pm, amritpal pathak <amritpalpath...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote:> i tried to generate a database .The config/database.yml file hold following > > for the development environment > > adapter: mysql > > database: blogg > > username: root > > password: 12345 > > socket: /var/run/mysqld/mysqld.sock > > Yaml is quite fussy about its indentation - make sure you''re using > spaces rather than tabs and everything is indented consistently > Thank you very much.it helpedwhy i didn''t get the reply by the mail.i have joined this malilng list already?> Fred > > > > > > > > > rails -v=2.3.8 > > gem -v= 1.3.7 > > ruby -v=ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux] > > > When i tried > > cd blog > > rake db:create > > it gave me following error > > > (in /home/amrit/blog) > > rake aborted! > > syntax error on line 4, col 11: ` database: blogg'' > > > (See full trace by running task with --trace) > > > Please help to resolve it. > > > Thanks-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.