ruby - Could Not start Rails Server - 'rails s' creates a new rails app inside existing app -


i have cloned rails project local. did rake db:migrate. worked fine. want start server. run command

rails s 

this command creates new project inside existing app. why happening?

it throws following trace , server did not start.

 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in `require': iconv deprecated in future, use string#encode instead. /var/lib/gems/1.9.1/gems/rails-2.3.16/lib/rails_generator/generators/applications/app/app_generator.rb:7: use rbconfig instead of obsolete , deprecated config.   exists     exists  app/controllers   exists  app/helpers   exists  app/models   exists  app/views/layouts   exists  config/environments   exists  config/initializers   exists  config/locales   exists  db   exists  doc   exists  lib   exists  lib/tasks   exists  log     exists  test/fixtures       exists  tmp/sockets   exists  tmp/cache   exists  tmp/pids    identical  rakefile    identical  readme    identical  app/controllers/application_controller.rb     b overwrite config/initializers/session_store.rb? (enter "h" help) [ynaqdh] y    force  config/initializers/session_store.rb overwrite config/initializers/cookie_verification_secret.rb? (enter "h" help) [ynaqdh] y     identical  script/about   identical  script/console   identical  script/dbconsole   identical  script/destroy   identical  script/generate      identical  public/404.html   identical  public/422.html   identical  public/500.html   identical  public/index.html   identical  public/favicon.ico   identical  public/robots.txt   identical  public/images/rails.png   identical  public/javascripts/prototype.js   identical  public/javascripts/effects.js  identical  public/javascripts/dragdrop.js 

should change configuration?

you must on older version of rails, rails version < 3.0.

in rails version < 3.0 have start server

ruby script/server 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -