Sai Ch wrote in post #1179852:
> @Naresh Jilla,
>
> You need to change directory to app like below
>
> 1. create new rails app with command:
> rails new app_name
>
> 2. then cd to directory the command is:
>
> cd app_name
>
> 3. then bundle update
>
> bundle install
>
> 4. modify db config file in config directory
>
> rake db:create db:migrate
>
> 5. then start server
>
> rails s
>
> so, keep in mind it is very basic common commands to run rails app in
> machine.
@Sai ch
Hi sai,
Thanque its working but i didnt change anything in config.ru is this
necessary to change as you mentioned in 4th step i just copy "rake
db:create db:migrate" this in config file but it shown error so i just
removed that but my server is start then what is the purpose of that 4th
step
Naresh JIlla
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/51fd03d4a621e72abf2d77c64c9e9210%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment