質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Ruby on Rails

Ruby on Railsは、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

Q&A

解決済

1回答

1078閲覧

railsのサーバーが立ち上がってはいるみたいですが開けないです

mkmmkk

総合スコア16

Ruby on Rails

Ruby on Railsは、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

0グッド

0クリップ

投稿2019/01/28 20:29

編集2019/01/29 08:55

前提・実現したいこと

railsでサーバーを立ち上げてみたところどうやら立ち上がってはいるみたいなのですがこの先がよくわからなくなってしまいました

実際の文はこのようになっています

発生している問題・エラーメッセージ

=> Booting Puma
=> Rails 5.2.2 application starting in development
=> Run rails server -h for more startup options
*** SIGUSR2 not implemented, signal based restart unavailable!
*** SIGUSR1 not implemented, signal based restart unavailable!
*** SIGHUP not implemented, signal based logs reopening unavailable!
Puma starting in single mode...

  • Version 3.12.0 (ruby 2.6.0-p0), codename: Llamas in Pajamas
  • Min threads: 5, max threads: 5
  • Environment: development
  • Listening on tcp://0.0.0.0:3000

Use Ctrl-C to stop

試したこと

最初はサーバーを立ち上げることすらできずにとにかくネットの記事等を読んでインストールした方が良いモノはあらかたインストールしてなんとか立ち上げた?ところまではこれました
PCはWindows10を使っています
完全な初心者ですが何とかYay!You're on Rails!の文字が見たいです
よろしくお願いします

追記

http://localhost:3000/にアクセスしたところこのような表示になりました

Puma caught this error: Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? cannot load such file -- sqlite3 (LoadError)
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in block in require'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/sqlite3_adapter.rb:13:in <top (required)>' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in require'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in block in require_with_bootsnap_lfi' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in register'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in require_with_bootsnap_lfi' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in require'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in block in require' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/connection_specification.rb:191:in spec'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:952:in establish_connection' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activerecord-5.2.2/lib/active_record/connection_handling.rb:60:in establish_connection'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activerecord-5.2.2/lib/active_record/railtie.rb:136:in block (2 levels) in <class:Railtie>' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/lazy_load_hooks.rb:71:in instance_eval'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/lazy_load_hooks.rb:71:in block in execute_hook' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/lazy_load_hooks.rb:62:in with_execution_control'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/lazy_load_hooks.rb:67:in execute_hook' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/lazy_load_hooks.rb:52:in block in run_load_hooks'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/lazy_load_hooks.rb:51:in each' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/lazy_load_hooks.rb:51:in run_load_hooks'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activerecord-5.2.2/lib/active_record/base.rb:328:in <module:ActiveRecord>' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activerecord-5.2.2/lib/active_record/base.rb:27:in <top (required)>'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in require' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in block in require_with_bootsnap_lfi'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in register' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in require_with_bootsnap_lfi'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in require' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in block in require'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activerecord-5.2.2/lib/active_record/query_cache.rb:29:in run' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/execution_wrapper.rb:27:in before'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:426:in block in make_lambda' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:198:in block (2 levels) in halting'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:606:in block (2 levels) in default_terminator' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:605:in catch'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:605:in block in default_terminator' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:199:in block in halting'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:513:in block in invoke_before' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:513:in each'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:513:in invoke_before' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:131:in run_callbacks'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/execution_wrapper.rb:110:in run!' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/execution_wrapper.rb:72:in block in run!'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/execution_wrapper.rb:69:in tap' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/execution_wrapper.rb:69:in run!'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/executor.rb:12:in call' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/static.rb:127:in call'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.0.6/lib/rack/sendfile.rb:111:in call' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.2/lib/rails/engine.rb:524:in call'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/puma-3.12.0/lib/puma/configuration.rb:225:in call' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/puma-3.12.0/lib/puma/server.rb:658:in handle_request'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/puma-3.12.0/lib/puma/server.rb:472:in process_client' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/puma-3.12.0/lib/puma/server.rb:332:in block in run'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/puma-3.12.0/lib/puma/thread_pool.rb:133:in `block in spawn_thread

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

Stan_Dma

2019/01/28 22:59

I am afraid you may be misunderstanding these messeges on terminal as errors occureed. You can ignore these warning messages.
otn

2019/01/29 02:29

エラーメッセージではなくて、起動メッセージでは?
guest

回答1

0

ベストアンサー

sqlite3のGemをWindows環境で使う場合、Gem自体のインストールとは別に、sqlite3.dllファイルの準備が必要となります。

こちらにあるような手順で、インストールを行ってください。

投稿2019/01/29 09:05

maisumakun

総合スコア145183

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

mkmmkk

2019/01/29 09:18

ご丁寧にありがとうございます。 sqlite3.dll sqlite3.exe 共にインストールしruby26-x64ファイルの中のbinに貼り付けました ですが同じ事が起きてしまいました 他に考えられることはありますか?
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問