If you are using SQLite, you don''t need to use rake db:create, only
rake
db:migrate (to create the database''s tables). If you are using MySQL,
then
you need to create the database (rake db:create) before create the tables.
If doesn''t work, please copy paste the last lines of your
log/development.log file.
2010/1/1 Rails ROR <developrails-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Hello,
>
> When you create a rails program, You need to follow few steps.
>
> 1. First create a project rails -d mysql project name
>
> 2. Create Model, view, controllers[ if you want to see some output]
>
> 3. Rake db:create
>
> 4. Rake db:migrate
>
> 5. Start your server
>
> You might have missed some step
>
>
> On Thu, Dec 31, 2009 at 8:10 AM, Rahul Khobragade
<rmkhobragade-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:
>
>> Hello Sir,
>>
>> I am student wants to learn ruby on rails programming and want to
>> become ruby on rails programmer. after installing ruby and installing
>> rails through command line
>> gem install rails --remote and after creating application as ruby
>> script\generate.it shows message webrick server started on port :3000.
>> when i start application on browser it shows error message
>> something went wrong.
>>
>> if you can help me please help me.
>> i will be very thankful to you
>>
>> --
>>
>> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>
>>
>>
> --
> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
--
Bruno Grasselli
Blog: http://brunograsselli.com.br
Twitter: http://twitter.com/grasselli
--
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.