質問編集履歴

3

コード追加

2020/02/22 14:43

投稿

teppei.y
teppei.y

スコア5

test CHANGED
File without changes
test CHANGED
@@ -24,4 +24,22 @@
24
24
 
25
25
  yodateppeinoMacBook-Pro:sample_app yodateppei$ rails s
26
26
 
27
- [WARNING] Could not load command "rails/commands/server/server_command". Error: uninitialized constant URI::Generic.
27
+ [WARNING] Could not load command "rails/commands/server/server_command". Error: uninitialized constant URI::Generic.```
28
+
29
+ 中略
30
+
31
+ ```Caused by:
32
+
33
+ NameError: uninitialized constant URI::Generic
34
+
35
+ /Users/yodateppei/Desktop/sample_app/config/application.rb:1:in `<top (required)>'
36
+
37
+ /Users/yodateppei/Desktop/sample_app/Rakefile:4:in `<top (required)>'
38
+
39
+ /Users/yodateppei/Desktop/sample_app/bin/rails:9:in `<top (required)>'
40
+
41
+ /Users/yodateppei/Desktop/sample_app/bin/spring:15:in `<top (required)>'
42
+
43
+ bin/rails:3:in `load'
44
+
45
+ bin/rails:3:in `<main>'

2

書式の改善

2020/02/22 14:43

投稿

teppei.y
teppei.y

スコア5

test CHANGED
File without changes
test CHANGED
@@ -1,3 +1,5 @@
1
+ 初心者なのですが環境構築で躓いています。
2
+
1
3
  progateのレッスン内容に沿ってruby on railsのサーバー立ち上げを行なっているのですが、rails new sample_appで新しいアプリケーションを作成したのちrails sを実行しているのですが下記エラーが出てきてしまいます。どのように解決すればよろしいでしょうか?
2
4
 
3
5
 

1

誤字

2020/02/16 05:24

投稿

teppei.y
teppei.y

スコア5

test CHANGED
File without changes
test CHANGED
@@ -23,9 +23,3 @@
23
23
  yodateppeinoMacBook-Pro:sample_app yodateppei$ rails s
24
24
 
25
25
  [WARNING] Could not load command "rails/commands/server/server_command". Error: uninitialized constant URI::Generic.
26
-
27
- /Users/yodateppei/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:79:in `block in load_missing_constant'
28
-
29
- /Users/yodateppei/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:8:in `without_bootsnap_cache'
30
-
31
- /Users/yodateppei/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:79:in `rescue in load_missing_constant'