質問編集履歴

1

エラー詳細の追記

2017/03/21 16:06

投稿

KeisukeTaniai
KeisukeTaniai

スコア16

test CHANGED
File without changes
test CHANGED
@@ -20,6 +20,116 @@
20
20
 
21
21
 
22
22
 
23
+ ```
24
+
25
+ ArgumentError: zendesk_api is ssl only; url must begin with https://
26
+
27
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/zendesk_api-1.14.2/lib/zendesk_api/client.rb:188:in `check_url'
28
+
29
+ /Usersmy_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/zendesk_api-1.14.2/lib/zendesk_api/client.rb:91:in `initialize'
30
+
31
+ /Users/my_com/projects/anny-magazine/config/initializers/zendesk.rb:3:in `new'
32
+
33
+ /Users/my_com/projects/anny-magazine/config/initializers/zendesk.rb:3:in `<top (required)>'
34
+
35
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `load'
36
+
37
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `block in load'
38
+
39
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'
40
+
41
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `load'
42
+
43
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/engine.rb:652:in `block in load_config_initializer'
44
+
45
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.5/lib/active_support/notifications.rb:166:in `instrument'
46
+
47
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/engine.rb:651:in `load_config_initializer'
48
+
49
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
50
+
51
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/engine.rb:615:in `each'
52
+
53
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/engine.rb:615:in `block in <class:Engine>'
54
+
55
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:30:in `instance_exec'
56
+
57
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:30:in `run'
58
+
59
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:55:in `block in run_initializers'
60
+
61
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
62
+
63
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
64
+
65
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
66
+
67
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
68
+
69
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
70
+
71
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:44:in `each'
72
+
73
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:44:in `tsort_each_child'
74
+
75
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:415:in `call'
76
+
77
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:415:in `each_strongly_connected_component_from'
78
+
79
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
80
+
81
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `each'
82
+
83
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `call'
84
+
85
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
86
+
87
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
88
+
89
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
90
+
91
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:54:in `run_initializers'
92
+
93
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/application.rb:352:in `initialize!'
94
+
95
+ /Users/my_com/projects/anny-magazine/config/environment.rb:5:in `<top (required)>'
96
+
97
+ /Users/my_com/projects/anny-magazine/config.ru:3:in `require'
98
+
99
+ /Users/my_com/projects/anny-magazine/config.ru:3:in `block in <main>'
100
+
101
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval'
102
+
103
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
104
+
105
+ /Users/my_com/projects/anny-magazine/config.ru:1:in `new'
106
+
107
+ /Users/my_com/projects/anny-magazine/config.ru:1:in `<main>'
108
+
109
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thin-1.7.0/lib/rack/adapter/loader.rb:33:in `eval'
110
+
111
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thin-1.7.0/lib/rack/adapter/loader.rb:33:in `load'
112
+
113
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thin-1.7.0/lib/rack/adapter/loader.rb:42:in `for'
114
+
115
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thin-1.7.0/lib/thin/controllers/controller.rb:170:in `load_adapter'
116
+
117
+ /Users/cmy_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thin-1.7.0/lib/thin/controllers/controller.rb:74:in `start'
118
+
119
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thin-1.7.0/lib/thin/runner.rb:200:in `run_command'
120
+
121
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thin-1.7.0/lib/thin/runner.rb:156:in `run!'
122
+
123
+ /Users/my_com/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thin-1.7.0/bin/thin:6:in `<top (required)>'
124
+
125
+ /Users/my_com/.rbenv/versions/2.3.0/bin/thin:23:in `load'
126
+
127
+ /Users/my_com/.rbenv/versions/2.3.0/bin/thin:23:in `<top (required)>'
128
+
129
+ ```
130
+
131
+
132
+
23
133
  設定ファイルは、公式Githubリポジトリに基いて、
24
134
 
25
135
  [zendesk/zendesk_api_client_rb](https://github.com/zendesk/zendesk_api_client_rb)
@@ -134,9 +244,13 @@
134
244
 
135
245
  を利用して、localでもhttpsで立ち上げをしようとするのですが、
136
246
 
137
- ```
247
+ ```
248
+
138
-
249
+ bundle exec thin start --ssl -p 3001
250
+
251
+ Using rack adapter
252
+
139
- failed to load command: thin (/Users/my_computer/.rbenv/versions/2.3.0/bin/thin)
253
+ bundler: failed to load command: thin (/Users/mycon/.rbenv/versions/2.3.0/bin/thin)
140
254
 
141
255
  ```
142
256