Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails Heroku使用Ruby on rails的问题,_Ruby On Rails_Ruby_Heroku_Pg - Fatal编程技术网

Ruby on rails Heroku使用Ruby on rails的问题,

Ruby on rails Heroku使用Ruby on rails的问题,,ruby-on-rails,ruby,heroku,pg,Ruby On Rails,Ruby,Heroku,Pg,很抱歉,我知道很多人都问过类似的问题,但在我看到的所有不同答案中,都没有有效的答案。 我现在正在学习本教程:。 这是我的应用程序: 这是我的档案: # A sample Gemfile source "https://rubygems.org" # gem "rails" ruby '1.9.3' gem "heroku" gem 'rails', '3.2.13' group :development do gem 'sqlite3' end group :production do

很抱歉,我知道很多人都问过类似的问题,但在我看到的所有不同答案中,都没有有效的答案。 我现在正在学习本教程:。 这是我的应用程序: 这是我的档案:

# A sample Gemfile
source "https://rubygems.org"
# gem "rails"
ruby '1.9.3'
gem "heroku"
gem  'rails', '3.2.13'
group :development do
 gem 'sqlite3'
end
group :production do
  gem 'pg'
  gem 'thin'
end
这很简单

以下是我在Heroku的日志:

        2013-04-13T17:37:27.600820+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
2013-04-13T17:37:27.600820+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2013-04-13T17:37:27.600820+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2013-04-13T17:37:28.895845+00:00 heroku[web.1]: Process exited with status 1
2013-04-13T17:37:28.909457+00:00 heroku[web.1]: State changed from starting to crashed
2013-04-13T17:47:24.873811+00:00 heroku[web.1]: State changed from crashed to starting
2013-04-13T17:47:26.701802+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e $RAILS_ENV -p 37586`
2013-04-13T17:47:28.040408+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2013-04-13T17:47:28.039667+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `read': No such file or directory - config.ru (Errno::ENOENT)
2013-04-13T17:47:28.039914+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2013-04-13T17:47:28.040065+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
2013-04-13T17:47:28.039990+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:71:in `start'
2013-04-13T17:47:28.040166+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
2013-04-13T17:47:28.039836+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `load'
2013-04-13T17:47:28.040332+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2013-04-13T17:47:28.040244+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
2013-04-13T17:47:29.402379+00:00 heroku[web.1]: Process exited with status 1
2013-04-13T17:47:29.416139+00:00 heroku[web.1]: State changed from starting to crashed
2013-04-13T17:48:34.162437+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by melchior.toldi@gmail.com
2013-04-13T17:48:36.892769+00:00 heroku[run.2268]: Awaiting client
2013-04-13T17:48:36.892769+00:00 heroku[run.2268]: Starting process with command `bundle exec rake db:migrate`
2013-04-13T17:48:37.791304+00:00 heroku[run.2268]: State changed from starting to up
2013-04-13T17:48:40.807677+00:00 heroku[run.2268]: Process exited with status 1
2013-04-13T17:48:40.842046+00:00 heroku[run.2268]: State changed from up to complete
2013-04-13T17:49:37.705672+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=radiant-river-7942.herokuapp.com fwd="82.247.99.235" dyno= connect= service= status=503 bytes=
2013-04-13T17:49:38.049712+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=radiant-river-7942.herokuapp.com fwd="82.247.99.235" dyno= connect= service= status=503 bytes=
2013-04-13T17:57:36.956393+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e $RAILS_ENV -p 8234`
2013-04-13T17:57:34.713361+00:00 heroku[web.1]: State changed from crashed to starting
2013-04-13T17:57:38.537721+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
2013-04-13T17:57:38.537721+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:71:in `start'
2013-04-13T17:57:38.537721+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2013-04-13T17:57:38.537721+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `load'
2013-04-13T17:57:38.537721+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2013-04-13T17:57:38.537721+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `read': No such file or directory - config.ru (Errno::ENOENT)
2013-04-13T17:57:38.537721+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
2013-04-13T17:57:38.537721+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2013-04-13T17:57:38.537721+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
2013-04-13T17:57:39.927361+00:00 heroku[web.1]: State changed from starting to crashed
2013-04-13T17:57:43.593400+00:00 heroku[web.1]: Process exited with status 1
2013-04-13T18:07:55.320873+00:00 heroku[web.1]: State changed from crashed to starting
2013-04-13T18:07:58.034529+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e $RAILS_ENV -p 4633`
2013-04-13T18:07:59.616225+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `read': No such file or directory - config.ru (Errno::ENOENT)
2013-04-13T18:07:59.616225+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `load'
2013-04-13T18:07:59.616225+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2013-04-13T18:07:59.616225+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
2013-04-13T18:07:59.616225+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:71:in `start'
2013-04-13T18:07:59.616225+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
2013-04-13T18:07:59.616225+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2013-04-13T18:07:59.616225+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2013-04-13T18:07:59.616225+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
2013-04-13T18:08:01.041217+00:00 heroku[web.1]: State changed from starting to crashed
2013-04-13T18:08:01.026363+00:00 heroku[web.1]: Process exited with status 1
2013-04-13T18:08:15.278264+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=radiant-river-7942.herokuapp.com fwd="188.167.200.167" dyno= connect= service= status=503 bytes=
2013-04-13T18:08:16.189360+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=radiant-river-7942.herokuapp.com fwd="188.167.200.167" dyno= connect= service= status=503 bytes=
2013-04-13T18:08:16.328385+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=radiant-river-7942.herokuapp.com fwd="188.167.200.167" dyno= connect= service= status=503 bytes=
2013-04-13T18:10:14.449584+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=radiant-river-7942.herokuapp.com fwd="64.237.39.250" dyno= connect= service= status=503 bytes=
2013-04-13T18:18:27.461322+00:00 heroku[web.1]: State changed from crashed to starting
2013-04-13T18:18:29.173061+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e $RAILS_ENV -p 33230`
2013-04-13T18:18:30.386288+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `load'
2013-04-13T18:18:30.386381+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2013-04-13T18:18:30.386562+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
2013-04-13T18:18:30.386957+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2013-04-13T18:18:30.386476+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5
.1/lib/thin/controllers/controller.rb:71:in `start'
2013-04-13T18:18:30.386866+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2013-04-13T18:18:30.386765+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
2013-04-13T18:18:30.386129+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `read': No such file or directory - config.ru (Errno::ENOENT)
2013-04-13T18:18:30.386674+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
2013-04-13T18:18:31.676857+00:00 heroku[web.1]: Process exited with status 1
2013-04-13T18:18:31.684586+00:00 heroku[web.1]: State changed from starting to crashed
2013-04-13T18:29:07.524843+00:00 heroku[web.1]: State changed from crashed to starting
2013-04-13T18:29:09.507194+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e $RAILS_ENV -p 26133`
2013-04-13T18:29:11.221741+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:71:in `start'
2013-04-13T18:29:11.221817+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
2013-04-13T18:29:11.221566+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `load'
2013-04-13T18:29:11.221968+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
2013-04-13T18:29:11.221373+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `read': No such file or directory - config.ru (Errno::ENOENT)
2013-04-13T18:29:11.221892+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
2013-04-13T18:29:11.221662+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2013-04-13T18:29:11.222059+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2013-04-13T18:29:11.222137+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2013-04-13T18:29:12.554083+00:00 heroku[web.1]: State changed from starting to crashed
2013-04-13T18:29:12.547227+00:00 heroku[web.1]: Process exited with status 1
2013-04-13T18:29:35.422394+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=radiant-river-7942.herokuapp.com fwd="82.247.99.235" dyno= connect= service= status=503 bytes=
2013-04-13T18:29:35.704799+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=radiant-river-7942.herokuapp.com fwd="82.247.99.235" dyno= connect= service= status=503 bytes=
2013-04-13T18:29:39.570979+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=radiant-river-7942.herokuapp.com fwd="82.247.99.235" dyno= connect= service= status=503 bytes=
2013-04-13T18:29:39.851899+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=radiant-river-7942.herokuapp.com fwd="82.247.99.235" dyno= connect= service= status=503 bytes=
2013-04-13T18:39:46.195056+00:00 heroku[web.1]: State changed from crashed to starting
2013-04-13T18:39:47.796625+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e $RAILS_ENV -p 34436`
2013-04-13T18:39:48.942222+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:71:in `start'
2013-04-13T18:39:48.942148+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2013-04-13T18:39:48.941907+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `read': No such file or directory - config.ru (Errno::ENOENT)
2013-04-13T18:39:48.942636+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2013-04-13T18:39:50.103490+00:00 heroku[web.1]: Process exited with status 1
2013-04-13T18:39:48.942560+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2013-04-13T18:39:50.115132+00:00 heroku[web.1]: State changed from starting to crashed
2013-04-13T18:39:48.942473+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
2013-04-13T18:39:48.942070+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `load'
2013-04-13T18:39:48.942380+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
2013-04-13T18:39:48.942306+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
2013-04-13T18:40:30.990826+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=radiant-river-7942.herokuapp.com fwd="82.247.99.235" dyno= connect= service= status=503 bytes=
2013-04-13T18:40:31.347409+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=radiant-river-7942.herokuapp.com fwd="82.247.99.235" dyno= connect= service= status=503 bytes=
当我这样做的时候:

heroku运行rake数据库:迁移

我得到:

melki@melkunix:~/rails_projects/first_app$ heroku run rake db:migrate
Running `rake db:migrate` attached to terminal... up, run.9445
rake aborted!
can't activate rails (= 2.3.14), already activated rails-3.2.13. Make sure all dependencies are added to Gemfile.
/app/vendor/bundle/ruby/1.9.1/gems/bundler- 1.3.2/lib/bundler/rubygems_integration.rb:224:in `block in replace_gem'
/app/config/boot.rb:60:in `load_rails_gem'
/app/config/boot.rb:54:in `load_initializer'
/app/config/boot.rb:38:in `run'
/app/config/boot.rb:11:in `boot!'
/app/config/boot.rb:114:in `<top (required)>'
/app/Rakefile:4:in `require'
/app/Rakefile:4:in `<top (required)>'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_module.rb:25:in `load'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_module.rb:25:in     `load_rakefile'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:589:in `raw_load_rakefile'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:89:in `block in load_rakefile'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:88:in `load_rakefile'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:72:in `block in run'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
(See full trace by running task with --trace)
melki@melkunix:~/rails\u projects/first\u app$heroku run rake db:migrate
正在运行附加到终端的“rake db:migrate”。。。起来,跑
雷克流产了!
无法激活rails(=2.3.14),已激活rails-3.2.13。确保所有依赖项都已添加到该文件中。
/app/vendor/bundle/ruby/1.9.1/gems/bundler-1.3.2/lib/bundler/rubygems_integration.rb:224:in'block in replace_gem'
/app/config/boot.rb:60:in'load\u rails\u gem'
/app/config/boot.rb:54:in'load_initializer'
/app/config/boot.rb:38:in'run'
/app/config/boot.rb:11:in'boot!'
/app/config/boot.rb:114:in`'
/app/Rakefile:4:在'require'中
/app/Rakefile:4:in`'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_module.rb:25:in'load'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_module.rb:25:in'load_rakefile'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:589:in'raw\u load\u rakefile'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:89:“加载中的块\u rakefile”
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:160:在“标准异常处理”中
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:88:in'load_rakefile'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:72:in'block in run'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:160:在“标准异常处理”中
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:70:in'run'
(通过使用--trace运行任务查看完整跟踪)
下面是显示错误消息的应用程序:

如果其他文件对你有帮助的话,我会听从你的安排。
请原谅我的英语。

问题在于您的Gem文件。删除Gemfile.lock并运行bundle安装并推送代码并运行迁移

您已经安装了rails 2,并且刚刚将rails 3添加到Gem文件中,而没有安装

bundle update

问题是你的Gem文件。删除Gemfile.lock并运行bundle安装并推送代码并运行迁移

您已经安装了rails 2,并且刚刚将rails 3添加到Gem文件中,而没有安装

bundle update

您执行过迁移吗?还要尝试提交一些代码并再次推送。您所说的“已执行迁移”是什么意思@maximus如果你是说heroku运行rake db:migrate,我得到:
运行连接到终端的“rake db:migrate”。。。起来,快跑。6348耙子中止!无法激活rails(=2.3.14),已激活rails-3.2.13。确保已将所有依赖项添加到Gemfile
。是否已执行迁移?还要尝试提交一些代码并再次推送。您所说的“已执行迁移”是什么意思@maximus如果你是说heroku运行rake db:migrate,我得到:
运行连接到终端的“rake db:migrate”。。。起来,快跑。6348耙子中止!无法激活rails(=2.3.14),已激活rails-3.2.13。确保所有依赖项都添加到Gemfile
。运行迁移意味着heroku运行rake db:migrate?不,当我运行迁移时,仍然是相同的消息,并且应用程序仍然无法工作。这是github上的repo,我没有找到任何迁移和它们的模型。你错过提交那些文件了吗?这是一个空项目,我刚刚做了“rails new first_app”@maximusrun migrations,意思是heroku run rake db:migrate?不,在我运行迁移时还是一样的消息,应用程序仍然无法工作。这是github上的repo,我没有找到任何迁移和它们的模型。你错过提交那些文件了吗?这是一个空项目,我刚刚做了“rails new first_app”@maximus