Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/67.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.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 web开发_Ruby On Rails_Heroku - Fatal编程技术网

Ruby on rails 使用heroku的ruby on rails web开发

Ruby on rails 使用heroku的ruby on rails web开发,ruby-on-rails,heroku,Ruby On Rails,Heroku,我的应用程序尚未上载到 赫罗库 只显示欢迎使用RubyonRails的第一页 我的网址是 您部署的应用程序目前被Rails的默认静态索引页覆盖。从config/routes.rb: # You can have the root of your site routed with "root" # just remember to delete public/index.html. 因此,首先确保已设置根路由: # config/routes.rb root :to => `root_co

我的应用程序尚未上载到

赫罗库

只显示欢迎使用RubyonRails的第一页 我的网址是

您部署的应用程序目前被Rails的默认静态索引页覆盖。从
config/routes.rb

# You can have the root of your site routed with "root"
# just remember to delete public/index.html.
因此,首先确保已设置根路由:

# config/routes.rb
root :to => `root_controller#root_action`

然后,删除public/index.html,将更改提交到版本控制,并重新部署到Heroku。

首先确保路由正确。然后将更改提交到主分支,然后:

git push heroku master

希望这能有所帮助。

问题在于我是否已经有了存储库,以及如何在git hub中删除它