質問するログイン新規登録

質問編集履歴

2

gemfile追加

2019/11/11 14:04

投稿

yuto1988331
yuto1988331

スコア10

title CHANGED
File without changes
body CHANGED
@@ -29,6 +29,19 @@
29
29
  宜しくお願い致します。
30
30
 
31
31
  <追記>
32
+ 紆余曲折あり、多少なりとも進んだのですが、今度は下記で躓きました。
33
+
34
+ LoadError: Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~> 1.4), already activated sqlite3-1.3.13. Make sure all dependencies are added to Gemfile.
35
+
36
+ バージョンが異なるということで、下記のサイトの通りするのですが、うまく起動しません。
37
+ https://qiita.com/Kta-M/items/254a1ba141827a989cb7
38
+
39
+ 度々すみません。もしご存じでしたらご教示ください。
40
+ 宜しくお願い致します。
41
+ またアドバイスでgemfileを見せてほしいとのお話がありましたので、
42
+ 下記に添付いたします。
43
+ 宜しくお願い致します。
44
+
32
45
  ```gemfile
33
46
  source 'https://rubygems.org'
34
47
  git_source(:github) { |repo| "https://github.com/#{repo}.git" }

1

gemfileを公開しました。

2019/11/11 14:04

投稿

yuto1988331
yuto1988331

スコア10

title CHANGED
File without changes
body CHANGED
@@ -26,4 +26,62 @@
26
26
 
27
27
  初歩的なところ、さらには少ない情報ですみません。
28
28
  どなたかおわかりの方おりませんでしょうか。
29
+ 宜しくお願い致します。
30
+
31
+ <追記>
32
+ ```gemfile
33
+ source 'https://rubygems.org'
34
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
35
+
36
+ ruby '2.6.5'
37
+
38
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
39
+ gem 'rails', '~> 6.0.0'
40
+ # Use sqlite3 as the database for Active Record
41
+ gem 'sqlite3', '~> 1.3.13'# Use Puma as the app server
42
+ gem 'puma', '~> 3.11'
43
+ # Use SCSS for stylesheets
44
+ gem 'sass-rails', '~> 5'
45
+ # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
46
+ gem 'webpacker', '~> 4.0', github: "rails/webpacker"
47
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
48
+ gem 'turbolinks', '~> 5'
49
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
50
+ gem 'jbuilder', '~> 2.7'
51
+ # Use Redis adapter to run Action Cable in production
52
+ # gem 'redis', '~> 4.0'
53
+ # Use Active Model has_secure_password
54
+ # gem 'bcrypt', '~> 3.1.7'
55
+
56
+ # Use Active Storage variant
57
+ # gem 'image_processing', '~> 1.2'
58
+
59
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
60
+ gem 'tzinfo-data'
61
+
62
+ # Reduces boot times through caching; required in config/boot.rb
63
+ gem 'bootsnap', '>= 1.4.2', require: false
64
+
65
+ group :development, :test do
66
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
67
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
68
+ end
69
+
70
+ group :development do
71
+ # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
72
+ gem 'web-console', '>= 3.3.0'
73
+ end
74
+
75
+ group :test do
76
+ # Adds support for Capybara system testing and selenium driver
77
+ gem 'capybara', '>= 2.15'
78
+ gem 'selenium-webdriver'
79
+ # Easy installation and use of web drivers to run system tests with browsers
80
+ gem 'webdrivers'
81
+ end
82
+
83
+ ```
84
+
85
+ このあたりを公開しても問題ないですよね?
86
+ セキュリティ的に問題なければ私は大丈夫なのですが。
29
87
  宜しくお願い致します。