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

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

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

Rubyはプログラミング言語のひとつで、オープンソース、オブジェクト指向のプログラミング開発に対応しています。

Ruby on Rails

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

Q&A

0回答

786閲覧

railsが起動しません

退会済みユーザー

退会済みユーザー

総合スコア0

Ruby

Rubyはプログラミング言語のひとつで、オープンソース、オブジェクト指向のプログラミング開発に対応しています。

Ruby on Rails

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

0グッド

0クリップ

投稿2020/11/19 05:40

編集2020/11/19 05:41

先ほど起動したはずなのに起動しなくなりました。bundle installをしてもtrace backていうエラーが出ます。Nameerrorがでているので名前が違うのからなのでしょうか。解決方法を教えてください。

ruby

1=> Booting Puma 2=> Rails 5.2.4.2 application starting in development 3=> Run `rails server -h` for more startup options 4Exiting 5Traceback (most recent call last): 6 50: from bin/rails:9:in `<main>' 7 49: from bin/rails:9:in `require' 8 48: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands.rb:18:in `<top (required)>' 9 47: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/command.rb:46:in `invoke' 10 46: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/command/base.rb:69:in `perform' 11 45: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch' 12 44: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command' 13 43: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run' 14 42: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:142:in `perform' 15 41: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:142:in `tap' 16 40: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:147:in `block in perform' 17 39: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:51:in `start' 18 38: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:89:in `log_to_stdout' 19 37: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:422:in `wrapped_app' 20 36: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:27:in `app' 21 35: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:249:in `app' 22 34: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:349:in `build_app_and_options_from_config' 23 33: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:66:in `parse_file' 24 32: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:105:in `load_file' 25 31: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `new_from_string' 26 30: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `eval' 27 29: from config.ru:3:in `block in <main>' 28 28: from config.ru:3:in `require_relative' 29 27: from C:/Users/183301/Documents/GitHub/Showman-corporation/sample008_ver0.2/config/environment.rb:5:in `<top (required)>' 30 26: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/application.rb:361:in `initialize!' 31 25: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/initializable.rb:60:in `run_initializers' 32 24: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each' 33 23: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each' 34 22: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component' 35 21: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:347:in `call' 36 20: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:347:in `each' 37 19: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component' 38 18: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:415:in `each_strongly_connected_component_from' 39 17: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:415:in `call' 40 16: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/initializable.rb:50:in `tsort_each_child' 41 15: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/initializable.rb:50:in `each' 42 14: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:421:in `block in each_strongly_connected_component_from' 43 13: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from' 44 12: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from' 45 11: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component' 46 10: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each' 47 9: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/initializable.rb:61:in `block in run_initializers' 48 8: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/initializable.rb:32:in `run' 49 7: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/initializable.rb:32:in `instance_exec' 50 6: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/engine.rb:619:in `block in <class:Engine>' 51 5: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/engine.rb:619:in `each' 52 4: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/engine.rb:620:in `block (2 levels) in <class:Engine>' 53 3: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/engine.rb:662:in `load_config_initializer' 54 2: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.2/lib/active_support/notifications.rb:170:in `instrument' 55 1: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/engine.rb:663:in `block in load_config_initializer' 56C:/Users/183301/Documents/GitHub/Showman-corporation/sample008_ver0.2/config/initializers/application_controller_renderer.rb:10:in `<top (required)>': uninitialized constant Refile (NameError) 57 58Traceback (most recent call last): 59 2: from C:/Ruby26-x64/bin/bundle:23:in `<main>' 60 1: from C:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems.rb:296:in `activate_bin_path' 61C:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems.rb:277:in `find_spec_for_exe': Could not find 'bundler' (1.17.2) required by your C:/Users/183301/Documents/GitHub/Showman-corporation/sample008_ver0.2/Gemfile.lock. (Gem::GemNotFoundException) 62To update to the latest version installed on your system, run `bundle update --bundler`. 63To install the missing version, run `gem install bundler:1.17.2` 64

バージョン
ruby 2.6.6p146 (2020-03-31 revision 67876) [x64-mingw32]
Rails 5.2.4.2

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

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

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

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

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

退会済みユーザー

退会済みユーザー

2020/11/19 06:13

すみません回答のほうに気づいていませんでした。とりあえず、エラーのほうは解決しましたが現在この状況です。
m.ts10806

2020/11/19 06:54

結局は同じ回答繰り返すことになります。 自分で面倒みれないのならWindows上に直に構築はやめるべき。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

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

ただいまの回答率
85.48%

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

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

質問する

関連した質問