Форум программистов, компьютерный форум, киберфорум
Ruby on Rails
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск  
 
 
Рейтинг 4.63/30: Рейтинг темы: голосов - 30, средняя оценка - 4.63
0 / 0 / 0
Регистрация: 12.07.2013
Сообщений: 21

Ошибки при развертывании в production

12.07.2013, 14:14. Показов 6397. Ответов 42
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Только начал изучать RoR и при развертыванием в production возникли проблемы.
Bash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
C:\Sites\first_app>git push heroku master
Enter passphrase for key:
Counting objects: 66, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (55/55), done.
Writing objects: 100% (66/66), 14.91 KiB | 0 bytes/s, done.
Total 66 (delta 5), reused 0 (delta 0)
 
-----> Ruby/Rails app detected
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using Bundler version 1.3.2
       Running: bundle install --without development:test --path vendor/bundle -
-binstubs vendor/bundle/bin
       Fetching gem metadata from [url]https://rubygems.org/[/url]..........
       Fetching gem metadata from [url]https://rubygems.org/[/url]..
       Resolving dependencies...
       Installing rake (10.1.0)
       Installing i18n (0.6.4)
       Installing minitest (4.7.5)
       Installing multi_json (1.7.7)
       Installing atomic (1.1.10)
       Installing thread_safe (0.1.0)
       Installing tzinfo (0.3.37)
       Installing activesupport (4.0.0)
       Installing builder (3.1.4)
       Installing erubis (2.7.0)
       Installing rack (1.5.2)
       Installing rack-test (0.6.2)
       Installing actionpack (4.0.0)
       Installing mime-types (1.23)
       Installing polyglot (0.3.3)
       Installing treetop (1.4.14)
       Installing mail (2.5.4)
       Installing actionmailer (4.0.0)
       Installing activemodel (4.0.0)
       Installing activerecord-deprecated_finders (1.0.3)
       Installing arel (4.0.0)
       Installing activerecord (4.0.0)
       Using bundler (1.3.2)
       Installing coffee-script-source (1.6.3)
       Installing execjs (1.4.0)
       Installing coffee-script (2.2.0)
       Installing thor (0.18.1)
       Installing railties (4.0.0)
       Installing coffee-rails (4.0.0)
       Installing hike (1.2.3)
       Installing jbuilder (1.4.2)
       Installing jquery-rails (3.0.4)
       Installing json (1.8.0)
       Installing tilt (1.4.1)
       Installing sprockets (2.10.0)
       Installing sprockets-rails (2.0.0)
       Installing rails (4.0.0)
       Installing rdoc (3.12.2)
       Installing sass (3.2.9)
       Installing sass-rails (4.0.0)
       Installing sdoc (0.3.20)
       Installing turbolinks (1.3.0)
       Installing uglifier (2.1.1)
       Your bundle is complete! It was installed into ./vendor/bundle
       Post-install message from rdoc:
       Depending on your version of ruby, you may need to install ruby rdoc/ri d
ata:
       <= 1.8.6 : unsupported
       = 1.8.7 : gem install rdoc-data; rdoc-data --install
       = 1.9.1 : gem install rdoc-data; rdoc-data --install
       >= 1.9.2 : nothing to do! Yay!
       Cleaning up the bundler cache.
-----> Writing config/database.yml to read from DATABASE_URL
-----> Preparing app for Rails asset pipeline
       Running: rake assets:precompile
       rake aborted!
       Specified 'sqlite3' for database adapter, but the gem is not loaded. Add
`gem 'sqlite3'` to your Gemfile.
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0
/lib/active_record/connection_adapters/connection_specification.rb:58:in `rescue
 in resolve_hash_connection'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0
/lib/active_record/connection_adapters/connection_specification.rb:55:in `resolv
e_hash_connection'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0
/lib/active_record/connection_adapters/connection_specification.rb:46:in `resolv
e_string_connection'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0
/lib/active_record/connection_adapters/connection_specification.rb:32:in `spec'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0
/lib/active_record/connection_handling.rb:39:in `establish_connection'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0
/lib/active_record/railtie.rb:175:in `block (2 levels) in <class:Railtie>'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/lazy_load_hooks.rb:28:in `block in on_load'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/lazy_load_hooks.rb:27:in `each'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/lazy_load_hooks.rb:27:in `on_load'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0
/lib/active_record/railtie.rb:173:in `block in <class:Railtie>'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib
/rails/initializable.rb:30:in `instance_exec'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib
/rails/initializable.rb:30:in `run'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib
/rails/initializable.rb:55:in `block in run_initializers'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib
/rails/initializable.rb:54:in `run_initializers'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib
/rails/application.rb:215:in `initialize!'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib
/rails/railtie/configurable.rb:30:in `method_missing'
       /tmp/build_3t1c7bseg0x7b/config/environment.rb:5:in `<top (required)>'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/dependencies.rb:228:in `require'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/dependencies.rb:228:in `block in require'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/dependencies.rb:213:in `load_dependency'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/dependencies.rb:228:in `require'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib
/rails/application.rb:189:in `require_environment!'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib
/rails/application.rb:249:in `block in run_tasks_blocks'
       /tmp/build_3t1c7bseg0x7b/vendor/bundle/ruby/2.0.0/gems/sprockets-rails-2.
0.0/lib/sprockets/rails/task.rb:54:in `block (2 levels) in define'
       Tasks: TOP => environment
       (See full trace by running task with --trace)
 !
 !     Precompiling assets failed.
 !
 
 !     Push rejected, failed to compile Ruby/Rails app
 
To [email]git@heroku.com:tranquil-sands-9817.git[/email]
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:tranquil-sands-9817.git'
Bash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
C:\Sites\first_app>rake assets:precompile --trace
** Invoke assets:precompile (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Execute assets:precompile
rake aborted!
 
  (in D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/turbolinks-1.2.0/lib/
assets/javascripts/turbolinks.js.coffee)
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/ext
ernal_runtime.rb:142:in `exec_runtime'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/ext
ernal_runtime.rb:28:in `block in exec'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/ext
ernal_runtime.rb:41:in `compile_to_tempfile'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/ext
ernal_runtime.rb:27:in `exec'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/ext
ernal_runtime.rb:19:in `eval'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/ext
ernal_runtime.rb:33:in `call'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/cof
fee_script.rb:57:in `compile'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/tilt-1.4.1/lib/tilt/coffee.
rb:46:in `evaluate'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/tilt-1.4.1/lib/tilt/templat
e.rb:103:in `render'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/context.rb:197:in `block in evaluate'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/context.rb:194:in `each'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/context.rb:194:in `evaluate'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/processed_asset.rb:12:in `initialize'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/base.rb:374:in `new'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/base.rb:374:in `block in build_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/base.rb:395:in `circular_call_protection'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/base.rb:373:in `build_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/index.rb:94:in `block in build_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/caching.rb:58:in `cache_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/index.rb:93:in `build_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/base.rb:287:in `find_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/index.rb:61:in `find_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/processed_asset.rb:111:in `block in resolve_dependencies'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/processed_asset.rb:105:in `each'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/processed_asset.rb:105:in `resolve_dependencies'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/processed_asset.rb:97:in `build_required_assets'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/processed_asset.rb:16:in `initialize'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/base.rb:374:in `new'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/base.rb:374:in `block in build_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/base.rb:395:in `circular_call_protection'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/base.rb:373:in `build_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/index.rb:94:in `block in build_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/caching.rb:58:in `cache_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/index.rb:93:in `build_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/base.rb:287:in `find_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/index.rb:61:in `find_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/bundled_asset.rb:16:in `initialize'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/base.rb:377:in `new'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/base.rb:377:in `build_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/index.rb:94:in `block in build_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/caching.rb:58:in `cache_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/index.rb:93:in `build_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/base.rb:287:in `find_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/index.rb:61:in `find_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/manifest.rb:211:in `block in find_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/manifest.rb:257:in `benchmark'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/manifest.rb:210:in `find_asset'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/manifest.rb:119:in `block in compile'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/manifest.rb:118:in `each'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/sprock
ets/manifest.rb:118:in `compile'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-rails-2.0.0/lib/s
prockets/rails/task.rb:60:in `block (3 levels) in define'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.10.0/lib/rake/s
procketstask.rb:146:in `with_logger'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-rails-2.0.0/lib/s
prockets/rails/task.rb:59:in `block (2 levels) in define'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/task.r
b:236:in `call'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/task.r
b:236:in `block in execute'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/task.r
b:231:in `each'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/task.r
b:231:in `execute'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/task.r
b:175:in `block in invoke_with_call_chain'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/task.r
b:168:in `invoke_with_call_chain'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/task.r
b:161:in `invoke'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/applic
ation.rb:149:in `invoke_task'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/applic
ation.rb:106:in `block (2 levels) in top_level'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/applic
ation.rb:106:in `each'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/applic
ation.rb:106:in `block in top_level'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/applic
ation.rb:115:in `run_with_threads'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/applic
ation.rb:100:in `top_level'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/applic
ation.rb:78:in `block in run'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/applic
ation.rb:165:in `standard_exception_handling'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/applic
ation.rb:75:in `run'
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/bin/rake:33:in
`<top (required)>'
D:/RailsInstaller/Ruby1.9.3/bin/rake:23:in `load'
D:/RailsInstaller/Ruby1.9.3/bin/rake:23:in `<main>'
Tasks: TOP => assets:precompile
Gemfile:
Rails
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
source 'https://rubygems.org'
 
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.0'
 
# Use sqlite3 as the database for Active Record
group :development do
    gem 'sqlite3'
end 
 
group :production do
    gem 'pg'
end 
 
group :assets do
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.0'
 
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
 
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'
end
# See [url]https://github.com/sstephenson/execjs#readme[/url] for more supported runtimes
# gem 'therubyracer', platforms: :ruby
 
# Use jquery as the JavaScript library
gem 'jquery-rails'
 
# Turbolinks makes following links in your web application faster. Read more: [url]https://github.com/rails/turbolinks[/url]
gem 'turbolinks'
 
# Build JSON APIs with ease. Read more: [url]https://github.com/rails/jbuilder[/url]
gem 'jbuilder', '~> 1.2'
 
group :doc do
  # bundle exec rake doc:rails generates the API under doc/api.
  gem 'sdoc', require: false
end
 
# Use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
 
# Use unicorn as the app server
# gem 'unicorn'
 
# Use Capistrano for deployment
# gem 'capistrano', group: :development
 
# Use debugger
# gem 'debugger', group: [:development, :test]
В чем может быть проблема?
В development работает все без проблем.

Заранее спасибо!
0
IT_Exp
Эксперт
34794 / 4073 / 2104
Регистрация: 17.06.2006
Сообщений: 32,602
Блог
12.07.2013, 14:14
Ответы с готовыми решениями:

Ошибки при развертывании проекта в tomcat 7
Доброго времени суток. Пишу небольшой, по учебе, веб-проект на джаве: список пользователей с возможностью - у админов - регистрации и...

Ошибка при развертывании
Привет всем!!! Выходят ошибки при развертке артефакта Artifact Web:war exploded: Error during artifact deployment. See server log for...

Проблемма при развертывании приложения
Здравствуйте! Пишу приложение для wp8, при запуске часто наблюдаю вот такую вещь Что делать и как от этого избавиться? Не дает запустить...

42
0 / 0 / 0
Регистрация: 12.07.2013
Сообщений: 21
12.07.2013, 20:24  [ТС]
Студворк — интернет-сервис помощи студентам
Цитата Сообщение от DrobyshevAlex Посмотреть сообщение
Установка node.js решает эту проблему, по крайней мере у меня решила.
Установил, а как задействовать?
0
1178 / 1128 / 94
Регистрация: 31.05.2012
Сообщений: 3,060
12.07.2013, 20:28
Да не как, просто поставить и ошибка должна пропасть.
Под виндовс может понадобиться добавить в переменную Path путь к папке с node, и перезагрузить компьютер.
0
0 / 0 / 0
Регистрация: 12.07.2013
Сообщений: 21
12.07.2013, 20:43  [ТС]
Цитата Сообщение от DrobyshevAlex Посмотреть сообщение
Да не как, просто поставить и ошибка должна пропасть.
Под виндовс может понадобиться добавить в переменную Path путь к папке с node, и перезагрузить компьютер.
Rails
1
2
3
4
5
C:\Sites\first_app>rake assets:precompile RAILS_ENV=production
I, [2013-07-12T20:38:26.060921 #2920]  INFO -- : Writing C:/Sites/first_app/publ
ic/assets/application-cefa9cb373e1ff7c27af1b4d00d9dc4a.js
I, [2013-07-12T20:38:26.098987 #2920]  INFO -- : Writing C:/Sites/first_app/publ
ic/assets/application-3534cdd68fa8c3c7d686cb2a51ce74c7.css
А при git push heroku master все так же.
0
1178 / 1128 / 94
Регистрация: 31.05.2012
Сообщений: 3,060
12.07.2013, 20:59
попробуйте оба гема раскомментируйте, и сделайте bundle update
0
0 / 0 / 0
Регистрация: 12.07.2013
Сообщений: 21
12.07.2013, 21:14  [ТС]
Цитата Сообщение от DrobyshevAlex Посмотреть сообщение
попробуйте оба гема раскомментируйте, и сделайте bundle update
Все так же
0
1178 / 1128 / 94
Регистрация: 31.05.2012
Сообщений: 3,060
12.07.2013, 21:18
Ну раз без хероку ошибки нет а с хероку есть, то всё таки нужно ждать того кто знает что делать с ним
1
 Аватар для MpaKus
227 / 225 / 23
Регистрация: 30.01.2013
Сообщений: 720
13.07.2013, 08:04
Укажите занового ошибку, уже текущую, лопатить лог нет никакого желания.

p.s. и если уж пользуетесь виндой, то готовьтесь, что будет все еще хуже и мучений будет больше, пока не поймете, что лучше поставить Vagrant, VirtualBox или сразу Linux.
0
0 / 0 / 0
Регистрация: 12.07.2013
Сообщений: 21
13.07.2013, 12:51  [ТС]
Цитата Сообщение от MpaKus Посмотреть сообщение
Укажите занового ошибку, уже текущую, лопатить лог нет никакого желания.

p.s. и если уж пользуетесь виндой, то готовьтесь, что будет все еще хуже и мучений будет больше, пока не поймете, что лучше поставить Vagrant, VirtualBox или сразу Linux.
Rails
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
C:\Sites\first_app>git push heroku master
Enter passphrase for key:
Counting objects: 66, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (55/55), done.
Writing objects: 100% (66/66), 14.91 KiB | 0 bytes/s, done.
Total 66 (delta 5), reused 0 (delta 0)
 
-----> Ruby/Rails app detected
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using Bundler version 1.3.2
       Running: bundle install --without development:test --path vendor/bundle -
-binstubs vendor/bundle/bin
       Fetching gem metadata from [url]https://rubygems.org/[/url]..........
       Fetching gem metadata from [url]https://rubygems.org/[/url]..
       Resolving dependencies...
       Installing rake (10.1.0)
       Installing i18n (0.6.4)
       Installing minitest (4.7.5)
       Installing multi_json (1.7.7)
       Installing atomic (1.1.10)
       Installing thread_safe (0.1.0)
       Installing tzinfo (0.3.37)
       Installing activesupport (4.0.0)
       Installing builder (3.1.4)
       Installing erubis (2.7.0)
       Installing rack (1.5.2)
       Installing rack-test (0.6.2)
       Installing actionpack (4.0.0)
       Installing mime-types (1.23)
       Installing polyglot (0.3.3)
       Installing treetop (1.4.14)
       Installing mail (2.5.4)
       Installing actionmailer (4.0.0)
       Installing activemodel (4.0.0)
       Installing activerecord-deprecated_finders (1.0.3)
       Installing arel (4.0.0)
       Installing activerecord (4.0.0)
       Using bundler (1.3.2)
       Installing coffee-script-source (1.6.3)
       Installing execjs (1.4.0)
       Installing coffee-script (2.2.0)
       Installing thor (0.18.1)
       Installing railties (4.0.0)
       Installing coffee-rails (4.0.0)
       Installing hike (1.2.3)
       Installing jbuilder (1.4.2)
       Installing jquery-rails (3.0.4)
       Installing json (1.8.0)
       Installing tilt (1.4.1)
       Installing sprockets (2.10.0)
       Installing sprockets-rails (2.0.0)
       Installing rails (4.0.0)
       Installing rdoc (3.12.2)
       Installing sass (3.2.9)
       Installing sass-rails (4.0.0)
       Installing sdoc (0.3.20)
       Installing turbolinks (1.3.0)
       Installing uglifier (2.1.1)
       Your bundle is complete! It was installed into ./vendor/bundle
       Post-install message from rdoc:
       Depending on your version of ruby, you may need to install ruby rdoc/ri d
ata:
       <= 1.8.6 : unsupported
       = 1.8.7 : gem install rdoc-data; rdoc-data --install
       = 1.9.1 : gem install rdoc-data; rdoc-data --install
       >= 1.9.2 : nothing to do! Yay!
       Cleaning up the bundler cache.
-----> Writing config/database.yml to read from DATABASE_URL
-----> Preparing app for Rails asset pipeline
       Running: rake assets:precompile
       rake aborted!
       Specified 'sqlite3' for database adapter, but the gem is not loaded. Add
`gem 'sqlite3'` to your Gemfile.
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0
/lib/active_record/connection_adapters/connection_specification.rb:58:in `rescue
 in resolve_hash_connection'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0
/lib/active_record/connection_adapters/connection_specification.rb:55:in `resolv
e_hash_connection'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0
/lib/active_record/connection_adapters/connection_specification.rb:46:in `resolv
e_string_connection'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0
/lib/active_record/connection_adapters/connection_specification.rb:32:in `spec'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0
/lib/active_record/connection_handling.rb:39:in `establish_connection'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0
/lib/active_record/railtie.rb:175:in `block (2 levels) in <class:Railtie>'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/lazy_load_hooks.rb:28:in `block in on_load'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/lazy_load_hooks.rb:27:in `each'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/lazy_load_hooks.rb:27:in `on_load'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0
/lib/active_record/railtie.rb:173:in `block in <class:Railtie>'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib
/rails/initializable.rb:30:in `instance_exec'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib
/rails/initializable.rb:30:in `run'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib
/rails/initializable.rb:55:in `block in run_initializers'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib
/rails/initializable.rb:54:in `run_initializers'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib
/rails/application.rb:215:in `initialize!'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib
/rails/railtie/configurable.rb:30:in `method_missing'
       /tmp/build_17817u9pfdftn/config/environment.rb:5:in `<top (required)>'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/dependencies.rb:228:in `require'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/dependencies.rb:228:in `block in require'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/dependencies.rb:213:in `load_dependency'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.
0/lib/active_support/dependencies.rb:228:in `require'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib
/rails/application.rb:189:in `require_environment!'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib
/rails/application.rb:249:in `block in run_tasks_blocks'
       /tmp/build_17817u9pfdftn/vendor/bundle/ruby/2.0.0/gems/sprockets-rails-2.
0.0/lib/sprockets/rails/task.rb:54:in `block (2 levels) in define'
       Tasks: TOP => environment
       (See full trace by running task with --trace)
 !
 !     Precompiling assets failed.
 !
 
 !     Push rejected, failed to compile Ruby/Rails app
 
To [email]git@heroku.com:tranquil-sands-9817.git[/email]
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:tranquil-sands-9817.git'
Gemfile:
Rails
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
source 'https://rubygems.org'
 
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.0'
 
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
 
    
group :production do
    gem 'pg'
end 
 
group :assets do
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.0'
 
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
 
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'
end
# See [url]https://github.com/sstephenson/execjs#readme[/url] for more supported runtimes
# gem 'therubyracer', platforms: :ruby
 
# Use jquery as the JavaScript library
gem 'jquery-rails'
 
# Turbolinks makes following links in your web application faster. Read more: [url]https://github.com/rails/turbolinks[/url]
gem 'turbolinks'
 
# Build JSON APIs with ease. Read more: [url]https://github.com/rails/jbuilder[/url]
gem 'jbuilder', '~> 1.2'
 
group :doc do
  # bundle exec rake doc:rails generates the API under doc/api.
  gem 'sdoc', require: false
end
 
# Use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
 
# Use unicorn as the app server
# gem 'unicorn'
 
# Use Capistrano for deployment
# gem 'capistrano', group: :development
 
# Use debugger
# gem 'debugger', group: [:development, :test]
config/database.yml
Rails
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# SQLite version 3.x
#   gem install sqlite3
#
#   Ensure the SQLite 3 gem is defined in your Gemfile
#   gem 'sqlite3'
development:
  adapter: sqlite3
  database: db/development.sqlite3
  pool: 5
  timeout: 5000
 
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
  adapter: postgresql
  database: db/test.pg
  pool: 5
  timeout: 5000
 
production:
  adapter: postgresql
  database: db/production.pg
  pool: 5
  timeout: 5000
0
 Аватар для MpaKus
227 / 225 / 23
Регистрация: 30.01.2013
Сообщений: 720
13.07.2013, 12:55
сделайте по шагам:

- сменить в Gemfile
gem 'sqlite3', :group => [:development]

- поставить
bundle install

- добавить изменения в git как обычно
git add .
git commit -am "bla-bla"

- потом только добавлять уже на хероку
git push heroku master
0
0 / 0 / 0
Регистрация: 12.07.2013
Сообщений: 21
13.07.2013, 13:07  [ТС]
Цитата Сообщение от MpaKus Посмотреть сообщение
сделайте по шагам:

- сменить в Gemfile
gem 'sqlite3', :group => [:development]

- поставить
bundle install

- добавить изменения в git как обычно
git add .
git commit -am "bla-bla"

- потом только добавлять уже на хероку
git push heroku master
Вроде залилось:
Rails
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
C:\Sites\first_app>git push heroku master
Enter passphrase for key:
Counting objects: 82, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (71/71), done.
Writing objects: 100% (82/82), 261.69 KiB | 126.00 KiB/s, done.
Total 82 (delta 13), reused 0 (delta 0)
 
-----> Ruby/Rails app detected
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using Bundler version 1.3.2
       Running: bundle install --without development:test --path vendor/bundle -
-binstubs vendor/bundle/bin
       Fetching gem metadata from [url]https://rubygems.org/[/url]..........
       Fetching gem metadata from [url]https://rubygems.org/[/url]..
       Resolving dependencies...
       Installing rake (10.1.0)
       Installing i18n (0.6.4)
       Installing minitest (4.7.5)
       Installing multi_json (1.7.7)
       Installing atomic (1.1.10)
       Installing thread_safe (0.1.0)
       Installing tzinfo (0.3.37)
       Installing activesupport (4.0.0)
       Installing builder (3.1.4)
       Installing erubis (2.7.0)
       Installing rack (1.5.2)
       Installing rack-test (0.6.2)
       Installing actionpack (4.0.0)
       Installing mime-types (1.23)
       Installing polyglot (0.3.3)
       Installing treetop (1.4.14)
       Installing mail (2.5.4)
       Installing actionmailer (4.0.0)
       Installing activemodel (4.0.0)
       Installing activerecord-deprecated_finders (1.0.3)
       Installing arel (4.0.0)
       Installing activerecord (4.0.0)
       Using bundler (1.3.2)
       Installing coffee-script-source (1.6.3)
       Installing execjs (1.4.0)
       Installing coffee-script (2.2.0)
       Installing thor (0.18.1)
       Installing railties (4.0.0)
       Installing coffee-rails (4.0.0)
       Installing hike (1.2.3)
       Installing jbuilder (1.4.2)
       Installing jquery-rails (3.0.4)
       Installing json (1.8.0)
       Installing pg (0.15.1)
       Installing tilt (1.4.1)
       Installing sprockets (2.10.0)
       Installing sprockets-rails (2.0.0)
       Installing rails (4.0.0)
       Installing rdoc (3.12.2)
       Installing sass (3.2.9)
       Installing sass-rails (4.0.0)
       Installing sdoc (0.3.20)
       Installing turbolinks (1.3.0)
       Installing uglifier (2.1.1)
       Your bundle is complete! It was installed into ./vendor/bundle
       Post-install message from rdoc:
       Depending on your version of ruby, you may need to install ruby rdoc/ri d
ata:
       <= 1.8.6 : unsupported
       = 1.8.7 : gem install rdoc-data; rdoc-data --install
       = 1.9.1 : gem install rdoc-data; rdoc-data --install
       >= 1.9.2 : nothing to do! Yay!
       Cleaning up the bundler cache.
-----> Writing config/database.yml to read from DATABASE_URL
-----> Preparing app for Rails asset pipeline
       Detected manifest file, assuming assets were compiled locally
-----> WARNINGS:
       You have not declared a Ruby version in your Gemfile.
       To set your Ruby version add this line to your Gemfile:
       ruby '2.0.0'
       # See [url]https://devcenter.heroku.com/articles/ruby-versions[/url] for more inform
ation."
       --
       Removing `Gemfile.lock` because it was generated on Windows.
       Bundler will do a full resolve so native gems are handled properly.
       This may result in unexpected gem versions being used in your app.
       --
       Include "rails_12factor" gem to enable all platform features
       See [url]https://devcenter.heroku.com/articles/rails-integration-gems[/url] for more
 information.
-----> Discovering process types
       Procfile declares types      -> (none)
       Default types for Ruby/Rails -> console, rake, web, worker
 
-----> Compiled slug size: 33.8MB
-----> Launching... done, v7
       [url]http://tranquil-sands-9816.herokuapp.com[/url] deployed to Heroku
 
To [email]git@heroku.com:tranquil-sands-9816.git[/email]
 * [new branch]      master -> master
Но по адресу http://tranquil-sands-9816.herokuapp.com/ ошибка. В development работает все без проблем.
0
 Аватар для MpaKus
227 / 225 / 23
Регистрация: 30.01.2013
Сообщений: 720
13.07.2013, 13:10
Они прям подсказывают, что делать: "If you are the application owner, check your logs for details."

Миграции например могут не пройти.

Логин пароль к базе дынных Postgres.
0
0 / 0 / 0
Регистрация: 12.07.2013
Сообщений: 21
13.07.2013, 13:14  [ТС]
Цитата Сообщение от MpaKus Посмотреть сообщение
Они прям подсказывают, что делать: "If you are the application owner, check your logs for details."

Миграции например могут не пройти.

Логин пароль к базе дынных Postgres.
вытер)
0
 Аватар для MpaKus
227 / 225 / 23
Регистрация: 30.01.2013
Сообщений: 720
13.07.2013, 13:16
Бггг... а мне то логин и пароль ваш? Смотрите логи, правьте ошибку.
0
0 / 0 / 0
Регистрация: 12.07.2013
Сообщений: 21
13.07.2013, 13:29  [ТС]
Цитата Сообщение от MpaKus Посмотреть сообщение
Бггг... а мне то логин и пароль ваш? Смотрите логи, правьте ошибку.
Лог heroku
Rails
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
C:\Sites\first_app>heroku logs
2013-07-13T09:00:25+00:00 heroku[slug-compiler]: Slug compilation started
2013-07-13T09:01:42.171636+00:00 heroku[api]: Scale to web=1 by anwebber@gmail.c
om
2013-07-13T09:01:42.894434+00:00 heroku[api]: Attach HEROKU_POSTGRESQL_COBALT re
source by [email]anwebber@gmail.com[/email]
2013-07-13T09:01:42.919814+00:00 heroku[api]: Release v5 created by anwebber@gma
il.com
2013-07-13T09:01:43.027250+00:00 heroku[api]: Add DATABASE_URL config by anwebbe
[email]r@gmail.com[/email]
2013-07-13T09:01:43.060915+00:00 heroku[api]: Release v6 created by anwebber@gma
il.com
2013-07-13T09:01:43.135221+00:00 heroku[api]: Deploy 52f80f2 by anwebber@gmail.c
om
2013-07-13T09:01:43.167693+00:00 heroku[api]: Release v7 created by anwebber@gma
il.com
2013-07-13T09:01:43.229412+00:00 heroku[api]: Deploy 52f80f2 by anwebber@gmail.c
om
2013-07-13T09:01:43+00:00 heroku[slug-compiler]: Slug compilation finished
2013-07-13T09:01:47.761293+00:00 heroku[web.1]: Starting process with command `b
in/rails server -p 51448 -e $RAILS_ENV`
2013-07-13T09:01:49.401236+00:00 app[web.1]: /usr/bin/env: ruby.exe: No such fil
e or directory
2013-07-13T09:01:51.467752+00:00 heroku[web.1]: Process exited with status 127
2013-07-13T09:01:51.492070+00:00 heroku[web.1]: State changed from starting to c
rashed
2013-07-13T09:01:51.492954+00:00 heroku[web.1]: State changed from crashed to st
arting
2013-07-13T09:01:55.726237+00:00 heroku[web.1]: Starting process with command `b
in/rails server -p 46206 -e $RAILS_ENV`
2013-07-13T09:01:56.757520+00:00 app[web.1]: /usr/bin/env: ruby.exe: No such fil
e or directory
2013-07-13T09:01:58.548578+00:00 heroku[web.1]: Process exited with status 127
2013-07-13T09:01:58.570947+00:00 heroku[web.1]: State changed from starting to c
rashed
2013-07-13T09:02:06.085443+00:00 hero
ku[web.1]: Error R99 (Platform error) -> Failed to launch the dyno within 10 sec
onds
2013-07-13T09:02:06.085700+00:00 heroku[web.1]: Stopping process with SIGKILL
2013-07-13T09:02:24.691069+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=tranquil-sands-9816.herokuapp.com fwd="188.187.170.
130" dyno= connect= service= status=503 bytes=
2013-07-13T09:02:25.337346+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/favicon.ico host=tranquil-sands-9816.herokuapp.com fwd="1
88.187.170.130" dyno= connect= service= status=503 bytes=
2013-07-13T09:03:15.866664+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=tranquil-sands-9816.herokuapp.com fwd="188.187.170.
130" dyno= connect= service= status=503 bytes=
2013-07-13T09:03:16.479814+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/favicon.ico host=tranquil-sands-9816.herokuapp.com fwd="1
88.187.170.130" dyno= connect= service= status=503 bytes=
2013-07-13T09:04:35.965536+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=tranquil-sands-9816.herokuapp.com fwd="188.187.170.
130" dyno= connect= service= status=503 bytes=
2013-07-13T09:04:36.568102+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/favicon.ico host=tranquil-sands-9816.herokuapp.com fwd="1
88.187.170.130" dyno= connect= service= status=503 bytes=
2013-07-13T09:05:12.545466+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=tranquil-sands-9816.herokuapp.com fwd="188.187.170.
130" dyno= connect= service= status=503 bytes=
2013-07-13T09:05:13.010664+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/favicon.ico host=tranquil-sands-9816.herokuapp.com fwd="1
88.187.170.130" dyno= connect= service= status=503 bytes=
2013-07-13T09:06:56.869610+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=tranquil-sands-9816.herokuapp.com fwd="188.187.170.
130" dyno= connect= service= status=503 bytes=
2013-07-13T09:06:57.441426+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/favicon.ico host=tranquil-sands-9816.herokuapp.com fwd="1
88.187.170.130" dyno= connect= service= status=503 bytes=
2013-07-13T09:06:57.935834+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=tranquil-sands-9816.herokuapp.com fwd="188.187.170.
130" dyno= connect= service= status=503 bytes=
2013-07-13T09:06:58.418972+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/favicon.ico host=tranquil-sands-9816.herokuapp.com fwd="1
88.187.170.130" dyno= connect= service= status=503 bytes=
2013-07-13T09:07:57.675292+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=tranquil-sands-9816.herokuapp.com fwd="188.187.170.
130" dyno= connect= service= status=503 bytes=
2013-07-13T09:07:57.992000+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/favicon.ico host=tranquil-sands-9816.herokuapp.com fwd="1
88.187.170.130" dyno= connect= service= status=503 bytes=
2013-07-13T09:08:06.647929+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=tranquil-sands-9816.herokuapp.com fwd="49.48.243.26
" dyno= connect= service= status=503 bytes=
2013-07-13T09:08:07.855706+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/favicon.ico host=tranquil-sands-9816.herokuapp.com fwd="4
9.48.243.26" dyno= connect= service= status=503 bytes=
2013-07-13T09:08:40.527430+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=tranquil-sands-9816.herokuapp.com fwd="188.187.170.
130" dyno= connect= service= status=503 bytes=
2013-07-13T09:08:41.163148+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/favicon.ico host=tranquil-sands-9816.herokuapp.com fwd="1
88.187.170.130" dyno= connect= service= status=503 bytes=
2013-07-13T09:12:03.789716+00:00 heroku[web.1]: State changed from crashed to st
arting
2013-07-13T09:12:08.516784+00:00 heroku[web.1]: Starting process with command `b
in/rails server -p 58808 -e $RAILS_ENV`
2013-07-13T09:12:09.803340+00:00 app[web.1]: /usr/bin/env: ruby.exe: No such fil
e or directory
2013-07-13T09:12:11.467690+00:00 heroku[web.1]: Process exited with status 127
2013-07-13T09:12:11.488876+00:00 heroku[web.1]: State changed from starting to c
rashed
2013-07-13T09:12:18.800836+00:00 heroku[web.1]: Error R99 (Platform error) -> Fa
iled to launch the dyno within 10 seconds
2013-07-13T09:12:18.801220+00:00 heroku[web.1]: Stopping process with SIGKILL
2013-07-13T09:22:39.465078+00:00 heroku[web.1]: State changed from crashed to st
arting
2013-07-13T09:22:44.874903+00:00 heroku[web.1]: Starting process with command `b
in/rails server -p 29713 -e $RAILS_ENV`
2013-07-13T09:22:45.648338+00:00 app[web.1]: /usr/bin/env: ruby.exe: No such fil
e or directory
2013-07-13T09:22:46.997307+00:00 heroku[web.1]: State changed from starting to c
rashed
2013-07-13T09:22:46.985700+00:00 heroku[web.1]: Process exited with status 127
2013-07-13T09:22:54.983979+00:00 heroku[web.1]: Stopping process with SIGKILL
2013-07-13T09:22:54.983693+00:00 heroku[web.1]: Error R99 (Platform error) -> Fa
iled to launch the dyno within 10 seconds
2013-07-13T09:23:05.579826+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=tranquil-sands-9816.herokuapp.com fwd="188.187.170.
130" dyno= connect= service= status=503 bytes=
2013-07-13T09:23:05.856846+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/favicon.ico host=tranquil-sands-9816.herokuapp.com fwd="1
88.187.170.130" dyno= connect= service= status=503 bytes=
Трабла с директорией?
0
 Аватар для MpaKus
227 / 225 / 23
Регистрация: 30.01.2013
Сообщений: 720
13.07.2013, 15:43
прописать ruby.exe в windows окружении переменной path
0
0 / 0 / 0
Регистрация: 12.07.2013
Сообщений: 21
13.07.2013, 16:34  [ТС]
Цитата Сообщение от MpaKus Посмотреть сообщение
прописать ruby.exe в windows окружении переменной path
MpaKus, мне кажется или он на heroku найти не может ruby? По логу в этом проблема?
0
 Аватар для MpaKus
227 / 225 / 23
Регистрация: 30.01.2013
Сообщений: 720
13.07.2013, 16:37
ну вообще-то там он exe искать не должен, если вы где-то это не прописали, хероку на линкусах работают
0
0 / 0 / 0
Регистрация: 12.07.2013
Сообщений: 21
13.07.2013, 23:08  [ТС]
Цитата Сообщение от MpaKus Посмотреть сообщение
ну вообще-то там он exe искать не должен, если вы где-то это не прописали, хероку на линкусах работают
В path прописал в самом начале. А по логу в этом проблема?

Добавлено через 6 часов 19 минут
MpaKus, поднял все на убунте. Залил на heroku. Вот результат: http://evening-falls-9702.herokuapp.com/
heroku logs:
Rails
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
2013-07-13T18:50:38.583086+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:25:in `tagged'
2013-07-13T18:50:38.583246+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:97:in `call'
2013-07-13T18:50:38.583086+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `call'
2013-07-13T18:50:38.583246+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2013-07-13T18:50:38.583086+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2013-07-13T18:50:38.583246+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2013-07-13T18:50:38.583086+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2013-07-13T18:50:38.583246+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-07-13T18:50:38.583246+00:00 app[web.1]: I, [2013-07-13T18:50:28.770012 #2]  INFO -- : Started GET "/favicon.ico" for 188.187.170.130 at 2013-07-13 18:50:28 +0000
2013-07-13T18:50:38.582870+00:00 app[web.1]: => Rails 4.0.0 application starting in production on [url]http://0.0.0.0:10604[/url]
2013-07-13T18:50:38.583086+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2013-07-13T18:50:38.582870+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2013-07-13T18:50:38.583086+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `tagged'
2013-07-13T18:50:38.583086+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:511:in `call'
2013-07-13T18:50:38.582870+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:38:in `call_app'
2013-07-13T18:50:38.583246+00:00 app[web.1]: 
2013-07-13T18:50:38.583708+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `block in call'
2013-07-13T18:50:38.583863+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:511:in `call'
2013-07-13T18:50:38.583246+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2013-07-13T18:50:38.583708+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/favicon.ico"):
2013-07-13T18:50:38.583246+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2013-07-13T18:50:38.583708+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2013-07-13T18:50:38.583708+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `tagged'
2013-07-13T18:50:38.583863+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2013-07-13T18:50:38.584174+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2013-07-13T18:50:38.583708+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:38:in `call_app'
2013-07-13T18:50:38.583863+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2013-07-13T18:50:38.583863+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2013-07-13T18:50:38.584174+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2013-07-13T18:50:38.583708+00:00 app[web.1]: F, [2013-07-13T18:50:28.780685 #2] FATAL -- : 
2013-07-13T18:50:38.583708+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2013-07-13T18:50:38.583246+00:00 app[web.1]: 
2013-07-13T18:50:38.583708+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `call'
2013-07-13T18:50:38.583863+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2013-07-13T18:50:38.583863+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-07-13T18:50:38.584328+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2013-07-13T18:50:38.583708+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2013-07-13T18:50:38.583863+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2013-07-13T18:50:38.583863+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2013-07-13T18:50:38.584328+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `tagged'
2013-07-13T18:50:38.584328+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `block in call'
2013-07-13T18:50:38.584328+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2013-07-13T18:50:38.584639+00:00 app[web.1]: 
2013-07-13T18:50:38.584174+00:00 app[web.1]: I, [2013-07-13T18:50:38.320668 #2]  INFO -- : Started GET "/" for 188.187.170.130 at 2013-07-13 18:50:38 +0000
2013-07-13T18:50:38.584174+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2013-07-13T18:50:38.584328+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:511:in `call'
2013-07-13T18:50:38.584174+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:38:in `call_app'
2013-07-13T18:50:38.584328+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2013-07-13T18:50:38.584174+00:00 app[web.1]: 
2013-07-13T18:50:38.584328+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2013-07-13T18:50:38.584174+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2013-07-13T18:50:38.584328+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2013-07-13T18:50:38.584639+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2013-07-13T18:50:38.584639+00:00 app[web.1]: 
2013-07-13T18:50:38.585111+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2013-07-13T18:50:38.584328+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `call'
2013-07-13T18:50:38.584639+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-07-13T18:50:38.584792+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/favicon.ico"):
2013-07-13T18:50:38.584639+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2013-07-13T18:50:38.584792+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2013-07-13T18:50:38.584792+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `tagged'
2013-07-13T18:50:38.584639+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2013-07-13T18:50:38.585111+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2013-07-13T18:50:38.584639+00:00 app[web.1]: I, [2013-07-13T18:50:38.581078 #2]  INFO -- : Started GET "/favicon.ico" for 188.187.170.130 at 2013-07-13 18:50:38 +0000
2013-07-13T18:50:38.584792+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:25:in `tagged'
2013-07-13T18:50:38.585264+00:00 app[web.1]: 
2013-07-13T18:50:38.584639+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2013-07-13T18:50:38.584792+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2013-07-13T18:50:38.585264+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2013-07-13T18:50:38.584792+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:38:in `call_app'
2013-07-13T18:50:38.584792+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `call'
2013-07-13T18:50:38.585264+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2013-07-13T18:50:38.585111+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2013-07-13T18:50:38.585111+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2013-07-13T18:50:38.585111+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:511:in `call'
2013-07-13T18:50:38.585111+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-07-13T18:50:38.585111+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:97:in `call'
2013-07-13T18:50:38.583086+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2013-07-13T18:50:38.583863+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2013-07-13T18:50:38.584174+00:00 app[web.1]: 
2013-07-13T18:50:38.582870+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2013-07-13T18:50:38.583086+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2013-07-13T18:50:38.584174+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2013-07-13T18:50:38.584639+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:97:in `call'
2013-07-13T18:50:38.584792+00:00 app[web.1]: F, [2013-07-13T18:50:38.582031 #2] FATAL -- : 
2013-07-13T18:50:38.583246+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2013-07-13T18:50:38.584792+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `block in call'
2013-07-13T18:50:38.585111+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2013-07-13T18:50:38.583708+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:25:in `tagged'
2013-07-13T18:50:38.583863+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:97:in `call'
2013-07-13T18:50:38.584174+00:00 app[web.1]: F, [2013-07-13T18:50:38.322825 #2] FATAL -- : 
2013-07-13T18:50:38.584328+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:25:in `tagged'
2013-07-13T18:50:38.584639+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2013-07-13T18:50:38.584792+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2013-07-13T18:50:38.585111+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2013-07-13T18:50:38.585111+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2013-07-13T18:50:38.585264+00:00 app[web.1]: 
2013-07-13T18:50:38.584337+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=evening-falls-9702.herokuapp.com fwd="188.187.170.130" dyno=web.1 connect=2ms service=8ms status=404 bytes=1351
2013-07-13T18:50:52.285545+00:00 heroku[router]: at=info method=GET path=/ host=evening-falls-9702.herokuapp.com fwd="188.187.170.130" dyno=web.1 connect=1ms service=13ms status=404 bytes=1351
2013-07-13T18:50:52.923388+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=evening-falls-9702.herokuapp.com fwd="188.187.170.130" dyno=web.1 connect=10ms service=15ms status=404 bytes=1351
2013-07-13T18:50:53.098774+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=evening-falls-9702.herokuapp.com fwd="188.187.170.130" dyno=web.1 connect=1ms service=9ms status=404 bytes=1351
0
1178 / 1128 / 94
Регистрация: 31.05.2012
Сообщений: 3,060
14.07.2013, 00:48
Что вообще такое хероку и зачем оно нужно? почему не сделать без него? Уже давно работало бы
0
 Аватар для MpaKus
227 / 225 / 23
Регистрация: 30.01.2013
Сообщений: 720
14.07.2013, 09:11
Да, Heroku отличный хостинг! Просто надо чуть научиться писать правильно и читать логи для нахождения ошибки, это и есть программирование

По логу первое что бросается GET '/' прописан в роутах root :to => '.....' ?

Ну и в целом для начинающих все же удобнее было бы держать исходники сразу на github так было бы проще смотреть что там понаписали и находить ошибки.
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
BasicMan
Эксперт
29316 / 5623 / 2384
Регистрация: 17.02.2009
Сообщений: 30,364
Блог
14.07.2013, 09:11

Ошибка при развёртывании макроса
День добрый. Имеется программа (для avr, но это не принципиально (наверно)) main.h typedef enum { SS = PORTB2, MOSI =...

Ошибка при развертывании приложения
Здравствуйте. Мне нужно развернуть на удаленном сервере веб приложение. Я делаю это через IIS. Добавил в нем сайт и жму пкм по сайту и там...

Перерисовка при развертывании окна
Что нужно сделать если требуется перерисовать часть окна в случае если оно было развернуто после свертывания?

Ошибка при развертывании MS Analysis Services
Не знаю, в тот ли раздел пишу. Предмет &quot;Интеллектуальный анализ данных&quot;, нужно сделать лабу. Нам толком ничего не объясняли, кинули...

IIS 7.5 System.OutOfMemoryException при развертывании
Здравствуйте уважаемые форумчане, заранее извиняюсь за возможный глупый вопрос, так как в данной области я полный null. Итак, есть IIS 7.5...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
40
Ответ Создать тему
Новые блоги и статьи
GitHub Copilot в JetBrains: модель по умолчанию, Fix и контроль MCP
and_y87 12.10.2026
10 октября 2026 года GitHub обновил Copilot для JetBrains: добавил настройки стартовой модели, исправления из диагностики и управление автозапуском MCP. Поддержка IDE 2025. 1 прекращена — требуется. . .
День 5 из 28: Codex подсказывает следующий запрос
and_y87 12.10.2026
9 октября 2026 года OpenAI запустила бету Composer predictions — подсказок следующего сообщения в текущем диалоге Codex. Это помощь с формулировкой запроса, а не автоматическое продолжение задачи. . . .
Запустил конкурс "тем и промптов для текстовых квестов созданных почти чисто ИИ"
Adler 06.10.2026
Всем привет! За последние три-четыре дня я создал более 16 текстовых квестовых игр используя преимущественно по одному запросу к ИИ на игру. Мне так понравилось смотреть все ветки/ сцены во всех. . .
ИИ не может найти нужный язык в списке
Supersumestria 05.10.2026
Я ему даю вот такое изображение и прошу найти и подчеркнуть немецкий язык. Возвращает он вот это: https:/ / i. **********/ vqBWLe2. png Нужную строчку в 3й колонке просто выдумал. . Это. . .
Новая последняя моя музыка в SUNO
zorxor 05.10.2026
Здравствуйте, дорогие мои друзья! С большой радостью я хотел бы представить вам свою новую последнею музыку, которую сгенерировала мне по моей просьбе нейросеть SUNO. С уважением, zorxor. Это. . .
Программный домашний кинотеатр
russiannick 27.09.2026
Сподобился на программный домашний кинотеатр. В качестве ЯВУ по традиции выбрал js. В помощники взял Яндекс-Алису. Было создано три зала на разные интересы. исторические и ретро сериал Хичкок. . .
Беседа с ИИ о программистах, недопускающих к созданию и правке кода генеративные ИИ и причины этого
zorxor 21.09.2026
Раньше я радовался или получал некоторые эмоции, пусть небольшие, но всё же, от самого процесса написания кода, рекомпиляции и запуска, видя постепенное развитие программы и прочее. А теперь лень. . .
Мобильное приложение ColorStep
pavlinmavlin 17.09.2026
Реализовал приложение Красный, Зеленый, Синий в Unity3d + c#. Название изменил на ColorStep. Приложение прошло модерацию и теперь доступно для скачивания. Делал его сам, шаг за шагом — и вот,. . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru