Ruby on rails Can';t将Rails项目推到Heroku

Ruby on rails Can';t将Rails项目推到Heroku,ruby-on-rails,git,ruby-on-rails-4,heroku,heroku-postgres,Ruby On Rails,Git,Ruby On Rails 4,Heroku,Heroku Postgres,因此,我在尝试使用rails应用程序时遇到了一个小问题 部署到Heroku。当我尝试将我的应用程序推到Heroku上时,我被告知 无法检测到rake任务。另外,有人告诉我, 无法加载配置文件夹中的应用程序文件。我运行了这个小 命令(bundle exec rake-P RAILS\u ENV=production)查看是否所有内容都已完成 在生产模式下检查,我没有收到任何错误 我非常感谢任何人的帮助,因为这是我第一次部署 Heroku上的应用程序。谢谢 Total 7266 (delta 107

因此,我在尝试使用rails应用程序时遇到了一个小问题
部署到Heroku。当我尝试将我的应用程序推到Heroku上时,我被告知
无法检测到rake任务。另外,有人告诉我,
无法加载配置文件夹中的应用程序文件。我运行了这个小
命令(bundle exec rake-P RAILS\u ENV=production)查看是否所有内容都已完成
在生产模式下检查,我没有收到任何错误

我非常感谢任何人的帮助,因为这是我第一次部署
Heroku上的应用程序。谢谢

Total 7266 (delta 1071), reused 0 (delta 0)
remote: Compressing source files... done.

List item

remote: Building source:
remote: 
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.2.
remote: -----> Installing dependencies using bundler 1.11.2
remote:        Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote:        Installing i18n 0.7.0
remote:        Installing json 1.8.3 with native extensions
remote:        Installing rake 11.1.2
remote:        Installing minitest 5.8.4
remote:        Installing thread_safe 0.3.5
remote:        Installing builder 3.2.2
remote:        Installing erubis 2.7.0
remote:        Installing mini_portile2 2.0.
remote:        Installing rack 1.6.4
remote:        Installing mime-types-data 3.2016.0221
remote:        Installing arel 6.0.3
remote:        Installing execjs 2.6.0
remote:        Installing bcrypt 3.1.11 with native extensions
remote:        Installing sass 3.4.22
remote:        Installing coffee-script-source 1.10.0
remote:        Installing thor 0.19.1
remote:        Installing concurrent-ruby 1.0.1
remote:        Installing orm_adapter 0.5.0
remote:        Installing multi_json 1.11.2
remote:        Installing pg 0.18.4 with native extensions
remote:        Using bundler 1.11.2
remote:        Installing rails_serve_static_assets 0.0.5
remote:        Installing rails_stdout_logging 0.0.5
remote:        Installing tilt 2.0.2
remote:        Installing tzinfo 1.2.2
remote:        Installing nokogiri 1.6.7.2 with native extensions
remote:        Installing rack-test 0.6.3
remote:        Installing warden 1.2.6
remote:        Installing mime-types 3.0
remote:        Installing autoprefixer-rails 6.3.5
remote:        Installing uglifier 3.0.0
remote:        Installing coffee-script 2.4.
remote:        Installing sprockets 3.5.2
remote:        Installing rails_12factor 0.0.3
remote:        Installing mail 2.6.4
remote:        Installing bootstrap-sass 3.3.6
remote:        Installing loofah 2.0.3
remote:        Installing rails-html-sanitizer 1.0.3
remote:        Installing activesupport 4.2.
remote:        Installing rdoc 4.2.2
remote:        Installing rails-deprecated_sanitizer 1.0.3
remote:        Installing globalid 0.3.6
remote:        Installing activemodel 4.2.5
remote:        Installing jbuilder 2.4.1
remote:        Installing activejob 4.2.5
remote:        Installing rails-dom-testing 1.0.7
remote:        Installing activerecord 4.2.5
remote:        Installing actionview 4.2.5
remote:        Installing actionpack 4.2.5
remote:        Installing sdoc 0.4.1
remote:        Installing actionmailer 4.2.5
remote:        Installing railties 4.2.5
remote:        Installing sprockets-rails 3.0.4
remote:        Installing coffee-rails 4.1.1
remote:        Installing responders 2.1.2
remote:        Installing jquery-rails 4.1.1
remote:        Installing rails 4.2.5
remote:        Installing sass-rails 5.0.4
remote:        Installing turbolinks 2.5.3
remote:        Installing devise 3.5.6
remote:        Bundle complete! 15 Gemfile dependencies, 60 gems now installed.
remote:        Gems in the groups development and test were not installed.
remote:        Bundled gems are installed into ./vendor/bundle.
remote:        Post-install message from rdoc:
remote:        Depending on your version of ruby, you may need to install ruby rdoc/ri data:
remote:        <= 1.8.6 : unsupported
remote:        = 1.8.7 : gem install rdoc-data; rdoc-data --install
remote:        = 1.9.1 : gem install rdoc-data; rdoc-data --install
remote:        >= 1.9.2 : nothing to do! Yay
remote:        Bundle completed (22.56s)
remote:        Cleaning up the bundler cache
remote: sh: 2: Syntax error: Unterminated quoted string
remote: sh: 2: Syntax error: Unterminated quoted string
remote:  !
remote:  !     Could not detect rake tasks
remote:  !     ensure you can run `$ bundle exec rake -P` against your app
remote:  !     and using the production group of your Gemfile.
remote:  !     rake aborted!
remote:  !     LoadError: cannot load such file -- /tmp/build_81c00152de97c61281a1204214d29edb/website/config/application
remote:  !     /tmp/build_81c00152de97c61281a1204214d29edb/website/Rakefile:4:in `require
remote:  !     /tmp/build_81c00152de97c61281a1204214d29edb/website/Rakefile:4:in `<top (required)>'
remote:  !     /tmp/build_81c00152de97c61281a1204214d29edb/website/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/rake_module.rb:28:in `load'
总计7266(增量1071),重复使用0(增量0)
远程:正在压缩源文件。。。完成。
列表项
远程:建筑源:
远程:
远程:-->检测到Ruby应用程序
远程:-->编译Ruby/Rails
远程:-->使用Ruby版本:Ruby-2.2。
远程:-->使用bundler 1.11.2安装依赖项
远程:正在运行:bundle安装--无需开发:测试--路径vendor/bundle--binstubs vendor/bundle/bin-j4--部署
远程:安装i18n 0.7.0
远程:使用本机扩展安装json 1.8.3
远程:安装rake 11.1.2
远程:安装minitest 5.8.4
远程:安装线程安全0.3.5
远程:安装builder 3.2.2
远程:安装erubis 2.7.0
远程:安装mini_portile2 2.0。
远程:安装机架1.6.4
远程:安装mime类型数据3.2016.0221
远程:安装arel 6.0.3
远程:安装execjs 2.6.0
远程:使用本机扩展安装bcrypt 3.1.11
远程:安装sass 3.4.22
远程:安装coffee脚本源代码1.10.0
远程:安装thor 0.19.1
远程:安装并发ruby 1.0.1
远程:安装orm_适配器0.5.0
远程:安装multi_json 1.11.2
远程:安装带有本机扩展的pg 0.18.4
远程:使用bundler 1.11.2
远程:安装rails\u serve\u static\u资产0.0.5
远程:安装rails\u stdout\u日志0.0.5
远程:安装tilt 2.0.2
远程:安装tzinfo 1.2.2
远程:使用本机扩展安装nokogiri 1.6.7.2
远程:安装机架测试0.6.3
远程:安装warden 1.2.6
远程:安装mime类型3.0
远程:安装autoprefixer rails 6.3.5
远程:安装uglifier 3.0.0
远程:安装coffee脚本2.4。
远程:安装链轮3.5.2
远程:安装导轨\u 12系数0.0.3
远程:安装mail 2.6.4
远程:安装引导sass 3.3.6
远程:安装丝瓜2.0.3
远程:安装rails html消毒器1.0.3
远程:安装activesupport 4.2。
远程:安装rdoc 4.2.2
远程:安装rails-Disprecated_sanitizer 1.0.3
远程:安装globalid 0.3.6
远程:安装activemodel 4.2.5
远程:安装jbuilder 2.4.1
远程:安装activejob 4.2.5
远程:安装rails dom测试1.0.7
远程:安装activerecord 4.2.5
远程:安装actionview 4.2.5
远程:安装actionpack 4.2.5
远程:安装sdoc 0.4.1
远程:安装actionmailer 4.2.5
远程:安装扶手4.2.5
远程:安装链轮导轨3.0.4
远程:安装咖啡导轨4.1.1
远程:安装响应程序2.1.2
远程:安装jquery rails 4.1.1
远程:安装rails 4.2.5
远程:安装sass rails 5.0.4
远程:安装TurboLink 2.5.3
远程:安装Desive 3.5.6
远程:包完成!15个Gemfile依赖项,现在安装了60个Gem。
远程:未安装开发和测试组中的Gems。
远程:捆绑的gems安装到./vendor/bundle中。
远程:来自rdoc的安装后消息:
远程:根据您的ruby版本,您可能需要安装ruby rdoc/ri数据:
远程:=1.9.2:无事可做!耶
远程:已完成捆绑(22.56秒)
远程:清理绑定器缓存
远程:sh:2:语法错误:未终止的引号字符串
远程:sh:2:语法错误:未终止的引号字符串
遥控器:!
遥控器:!无法检测到rake任务
遥控器:!确保您可以对应用程序运行“$bundle exec rake-P”
遥控器:!并使用Gemfile的生产组。
遥控器:!雷克流产了!
遥控器:!LoadError:无法加载此类文件--/tmp/build_81c00152de97c61281a1204214d29edb/website/config/application
遥控器:/tmp/build_81c00152de97c61281a1204214d29edb/website/Rakefile:4:in'require
遥控器:/tmp/build_81c00152de97c61281a1204214d29edb/website/Rakefile:4:in`'
遥控器:/tmp/build_81c00152de97c61281a1204214d29edb/website/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/rake_module.rb:28:in'load'

你的应用程序在本地运行吗?是的,非常完美!如果从命令行运行“heroku config”,您的环境变量是否正常-即没有不匹配的引号?以下是我在运行heroku config后的输出:==enigmatic-Reachs-49643 config Vars