質問編集履歴

4

Gemfileのソースコードを追記

2020/05/18 03:27

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -47,6 +47,86 @@
47
47
  ! Push rejected, failed to compile Ruby app.
48
48
 
49
49
  ! Push failed
50
+
51
+
52
+
53
+ ```
54
+
55
+
56
+
57
+ ### ソースコード
58
+
59
+ ```Gemfile
60
+
61
+ source 'https://rubygems.org'
62
+
63
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
64
+
65
+ ruby '2.6.6'
66
+
67
+ platform :mswin, :mingw do
68
+
69
+ # , :x64_mingw
70
+
71
+ gem "win32_api"
72
+
73
+ end
74
+
75
+ gem 'rails', '~> 5.2.4', '>= 5.2.4.2'
76
+
77
+ gem 'pg', '>= 0.18', '< 2.0'
78
+
79
+ gem 'puma', '~> 3.11'
80
+
81
+ gem 'sass-rails', '~> 5.0'
82
+
83
+ gem 'uglifier', '>= 1.3.0'
84
+
85
+ gem 'duktape'
86
+
87
+ gem 'coffee-rails', '~> 4.2'
88
+
89
+ gem 'turbolinks', '~> 5'
90
+
91
+ gem 'jbuilder', '~> 2.5'
92
+
93
+ gem 'bcrypt'
94
+
95
+ gem 'bootsnap', '>= 1.1.0', require: false
96
+
97
+ group :development, :test do
98
+
99
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
100
+
101
+ end
102
+
103
+ group :development do
104
+
105
+ gem 'web-console', '>= 3.3.0'
106
+
107
+ end
108
+
109
+ group :test do
110
+
111
+ gem 'capybara', '>= 2.15'
112
+
113
+ gem 'selenium-webdriver'
114
+
115
+ gem 'chromedriver-helper'
116
+
117
+ end
118
+
119
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
120
+
121
+ gem "nokogiri", ">= 1.10.8"
122
+
123
+ gem 'rails-i18n'
124
+
125
+ gem 'bootstrap', '~> 4.1.1'
126
+
127
+ gem 'jquery-ui-rails'
128
+
129
+ gem 'jquery-rails', '~> 4.4'
50
130
 
51
131
 
52
132
 

3

追記

2020/05/18 03:27

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  ### エラーメッセージ
16
16
 
17
- ```
17
+ ```Build Log
18
18
 
19
19
  -----> Ruby app detected
20
20
 
@@ -30,27 +30,11 @@
30
30
 
31
31
  Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
32
32
 
33
- Your Gemfile lists the gem tzinfo-data (>= 0) more than once.
34
-
35
- You should probably keep only one of them.
36
-
37
- Remove any duplicate entries and specify the gem only once (per group).
38
-
39
- While it's not a problem now, it could cause errors if you change the version of one of them later.
40
-
41
33
  Your bundle only supports platforms [] but your local platforms are ["ruby",
42
34
 
43
35
  "x86_64-linux"], and there's no compatible match between those two lists.
44
36
 
45
- Bundler Output: Your Gemfile lists the gem tzinfo-data (>= 0) more than once.
46
-
47
- You should probably keep only one of them.
48
-
49
- Remove any duplicate entries and specify the gem only once (per group).
50
-
51
- While it's not a problem now, it could cause errors if you change the version of one of them later.
52
-
53
- Your bundle only supports platforms [] but your local platforms are ["ruby",
37
+ Bundler Output: Your bundle only supports platforms [] but your local platforms are ["ruby",
54
38
 
55
39
  "x86_64-linux"], and there's no compatible match between those two lists.
56
40
 
@@ -63,6 +47,8 @@
63
47
  ! Push rejected, failed to compile Ruby app.
64
48
 
65
49
  ! Push failed
50
+
51
+
66
52
 
67
53
  ```
68
54
 

2

試したことの追記2

2020/05/18 02:20

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -72,21 +72,13 @@
72
72
 
73
73
  ```
74
74
 
75
- bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
75
+ bundle install
76
76
 
77
77
  ```
78
78
 
79
79
  とコマンドを実行すると
80
80
 
81
81
  ```
82
-
83
- [DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set deployment 'true'`, and stop using this flag
84
-
85
- [DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path 'vendor/bundle'`, and stop using this flag
86
-
87
- [DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set without 'development:test'`, and stop using this flag
88
-
89
- [DEPRECATED] The --binstubs option will be removed in favor of `bundle binstubs`
90
82
 
91
83
  Your Gemfile lists the gem tzinfo-data (>= 0) more than once.
92
84
 
@@ -104,7 +96,17 @@
104
96
 
105
97
 
106
98
 
99
+ と表示されるので「gem "tzinfo-data"」を1つ削除して再度「bundle install」したところ以下のエローメッセージが表示されました。
100
+
101
+
102
+
107
- と表示されます。
103
+ ```
104
+
105
+ Your bundle only supports platforms [] but your local platforms are ["ruby",
106
+
107
+ "x64-mingw32"], and there's no compatible match between those two lists.
108
+
109
+ ```
108
110
 
109
111
 
110
112
 

1

試したことの追記

2020/05/18 02:16

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -68,6 +68,46 @@
68
68
 
69
69
 
70
70
 
71
+ ### 試したこと
72
+
73
+ ```
74
+
75
+ bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
76
+
77
+ ```
78
+
79
+ とコマンドを実行すると
80
+
81
+ ```
82
+
83
+ [DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set deployment 'true'`, and stop using this flag
84
+
85
+ [DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path 'vendor/bundle'`, and stop using this flag
86
+
87
+ [DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set without 'development:test'`, and stop using this flag
88
+
89
+ [DEPRECATED] The --binstubs option will be removed in favor of `bundle binstubs`
90
+
91
+ Your Gemfile lists the gem tzinfo-data (>= 0) more than once.
92
+
93
+ You should probably keep only one of them.
94
+
95
+ Remove any duplicate entries and specify the gem only once.
96
+
97
+ While it's not a problem now, it could cause errors if you change the version of one of them later.
98
+
99
+ Your bundle only supports platforms [] but your local platforms are ["ruby",
100
+
101
+ "x64-mingw32"], and there's no compatible match between those two lists.
102
+
103
+ ```
104
+
105
+
106
+
107
+ と表示されます。
108
+
109
+
110
+
71
111
  ### 補足情報
72
112
 
73
113
  Windows 10 home 64ビット