ruby on rails - Unable to run localhost:3000 (Ubuntu 12.10) -
i've found related posts mine... none of existing answers worked... here new 1 newbee :
i installed ubuntu 12.10 , tried install ruby on rails following various tutorials (http://rubyonrails.org/download), tried rvm... , when try launch server localhost:3000 not working.
here terminal when launch server :
laslo@ubuntu:~$ rails s /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv deprecated in future, use string#encode instead. /usr/lib/ruby/vendor_ruby/railties/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 public/images exists public/javascripts exists public/stylesheets exists script/performance exists test/fixtures exists test/functional exists test/integration exists test/performance exists test/unit exists vendor exists vendor/plugins exists tmp/sessions exists tmp/sockets exists tmp/cache exists tmp/pids identical rakefile identical readme identical app/controllers/application_controller.rb identical app/helpers/application_helper.rb identical config/database.yml identical config/routes.rb identical config/locales/en.yml identical db/seeds.rb identical config/initializers/backtrace_silencers.rb identical config/initializers/inflections.rb identical config/initializers/mime_types.rb identical config/initializers/new_rails_defaults.rb 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 force config/initializers/cookie_verification_secret.rb identical config/environment.rb identical config/boot.rb identical config/environments/production.rb identical config/environments/development.rb identical config/environments/test.rb identical script/about identical script/console identical script/dbconsole identical script/destroy identical script/generate identical script/runner identical script/server identical script/plugin identical script/performance/benchmarker identical script/performance/profiler identical test/test_helper.rb identical test/performance/browsing_test.rb 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 identical public/javascripts/controls.js identical public/javascripts/application.js identical doc/readme_for_app identical log/server.log identical log/production.log identical log/development.log identical log/test.log exists vendor/rails
any idea? sure i'm missing huge... what?
rails server specific app. started rails sever in root path, of course won't work.
you need create new app @ first.
$ rails new myapp $ cd myapp # install gems needed @ first $ bundle install # start server $ rails s
add
from code found real reason using ruby 1.9.1. version not supported latest rails downloaded.
try upgrade ruby 1.9.3 @ least.
Comments
Post a Comment