Railsの確認

Railsインストール編が思いのほか長くなったので、動作確認は分けて書きます。

サーバでの動作確認

$ rails sample
      create  app/controllers, app/helpers, app/models, app/views/layouts
      create  config/environments, config/initializers
      create  db, doc
      create  lib, lib/tasks
      create  log
      create  public/images, public/javascripts, public/stylesheets
      create  script/performance, script/process
      create  test/fixtures, test/functional, test/integration
      create  test/mocks/development, test/mocks/test, test/unit
      create  vendor, create  vendor/plugins
      create  tmp/sessions, tmp/sockets, tmp/cache, tmp/pids
      create  Rakefile
      create  README
      create  app/controllers/application.rb, app/helpers/application_helper.rb
      create  test/test_helper.rb
      create  config/database.yml, config/routes.rb
      create  public/.htaccess
      create  config/initializers/inflections.rb, config/initializers/mime_types.rb
      create  config/boot.rb, config/environment.rb, config/environments/production.rb
      create  config/environments/development.rb, config/environments/test.rb
      create  script/about, script/console, script/destroy, script/generate
      create  script/performance/benchmarker, script/performance/profiler
      create  script/performance/request, script/process/reaper, script/process/spawner
      create  script/process/inspector, script/runner, script/server, script/plugin
      create  public/dispatch.rb, public/dispatch.cgi, public/dispatch.fcgi
      create  public/404.html, public/422.html, public/500.html, public/index.html
      create  public/favicon.ico, public/robots.txt, public/images/rails.png
      create  public/javascripts/prototype.js, public/javascripts/effects.js
      create  public/javascripts/dragdrop.js, public/javascripts/controls.js
      create  public/javascripts/application.js
      create  doc/README_FOR_APP
      create  log/server.log, log/production.log, log/development.log, log/test.log
$ cd sample
$ script/server
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2008-04-11 18:34:47] INFO  WEBrick 1.3.1
[2008-04-11 18:34:47] INFO  ruby 1.8.6 (2007-06-07) [i486-linux]
[2008-04-11 18:34:47] INFO  WEBrick::HTTPServer#start: pid=6615 port=3000

ちゃんと動いているようです。

ブラウザから確認

http://192.168.1.xxx:3000』を叩いてみました。いいみたいです。