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

質問編集履歴

1

追加

2019/10/27 04:17

投稿

c_koki
c_koki

スコア5

title CHANGED
File without changes
body CHANGED
@@ -5,4 +5,115 @@
5
5
 
6
6
  https://teratail.com/questions/219147
7
7
  この質問の続きです
8
- よろしくおねがします!
8
+ よろしくおねがします!
9
+
10
+ https://teratail.com/questions/219147の内容
11
+
12
+
13
+ https://teratail.com/questions/218989
14
+
15
+ 回答者の方に送っていただいたコードを実行することでbrew install imagemagickは成功したのですが、js,cssが効かなくなってしまいました
16
+ https://gyazo.com/2b9f6f3dfb08a8fd57b87f07845f5874
17
+ cssのレイアウトが崩れた状態が続いていてassetsのアクセスで500エラーが出ていてレイアウトが崩れている状態が続いてる状態です
18
+
19
+ #試したこと
20
+ https://gyazo.com/2a47d04efe61e6fceb9c3d7c9734debc
21
+ cacheは消しましたのですが、うまくいきません
22
+ 回答してくださった方のコードとbrew install imagemagickを書いた途端に効かなくなってしまったのでなかなかググっても出てこず困っています
23
+
24
+ https://gyazo.com/20cce1a037b2e5de0695df54ec9415cf
25
+
26
+ 回答お願いしますmm
27
+
28
+ 環境はcloud9でサーバーを変更してみてもダメでした
29
+
30
+ ```ruby
31
+ ruby '2.5.3'
32
+
33
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
34
+ gem 'rails', '~> 5.2.3'
35
+ # Use sqlite3 as the database for Active Record
36
+ gem 'sqlite3', groups: %w(test development), require: false
37
+
38
+
39
+ # Use Puma as the app server
40
+ gem 'puma', '~> 3.11'
41
+ # Use SCSS for stylesheets
42
+ gem 'sass-rails', '~> 5.0'
43
+ # Use Uglifier as compressor for JavaScript assets
44
+ gem 'uglifier', '>= 1.3.0'
45
+ # See https://github.com/rails/execjs#readme for more supported runtimes
46
+ # gem 'mini_racer', platforms: :ruby
47
+
48
+ # Use CoffeeScript for .coffee assets and views
49
+ gem 'coffee-rails', '~> 4.2'
50
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
51
+ gem 'turbolinks', '~> 5'
52
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
53
+ #gem 'jbuilder', '~> 2.5'
54
+ # Use Redis adapter to run Action Cable in production
55
+ # gem 'redis', '~> 4.0'
56
+ # Use ActiveModel has_secure_password
57
+ # gem 'bcrypt', '~> 3.1.7'
58
+
59
+ # Use ActiveStorage variant
60
+ # gem 'mini_magick', '~> 4.8'
61
+
62
+ # Use Capistrano for deployment
63
+ # gem 'capistrano-rails', group: :development
64
+
65
+ # Reduces boot times through caching; required in config/boot.rb
66
+ gem 'bootsnap', '>= 1.1.0', require: false
67
+
68
+ group :development, :test do
69
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
70
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
71
+ gem 'better_errors', '~> 2.5', '>= 2.5.1'
72
+ gem 'guard', '~> 2.15'
73
+ gem 'guard-livereload', '~> 2.5', '>= 2.5.2'
74
+
75
+ end
76
+
77
+ group :development do
78
+ # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
79
+ gem 'web-console', '>= 3.3.0'
80
+ gem 'listen', '>= 3.0.5', '< 3.2'
81
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
82
+ gem 'spring'
83
+ gem 'spring-watcher-listen', '~> 2.0.0'
84
+ end
85
+
86
+ group :test do
87
+ # Adds support for Capybara system testing and selenium driver
88
+ gem 'capybara', '>= 2.15'
89
+ gem 'selenium-webdriver'
90
+ # Easy installation and use of chromedriver to run system tests with Chrome
91
+ gem 'chromedriver-helper'
92
+ end
93
+
94
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
95
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
96
+
97
+ gem 'bulma-rails', '~> 0.7.5'
98
+ gem 'simple_form', '~> 4.1'
99
+ gem 'devise', '~> 4.6', '>= 4.6.2'
100
+ gem 'gravatar_image_tag', '~> 1.2'
101
+ gem 'carrierwave'
102
+ gem 'mini_magick'
103
+
104
+ group :production do
105
+ gem 'pg', '>= 0.18', '< 2.0'
106
+ end
107
+
108
+ gem 'pry-byebug', group: :development
109
+ #gem 'jquery-rails'
110
+ gem 'bootstrap', '~> 4.3', '>= 4.3.1'
111
+ gem 'jbuilder', '~> 2.9'
112
+ gem 'jquery-rails'
113
+ gem 'jquery-ui-rails'
114
+ gem 'slim'
115
+ gem 'slim-rails'
116
+ gem 'html2slim'
117
+ gem 'cloudinary'
118
+
119
+ ```