1

一段时间以来,我一直被“您正在寻找的页面没有退出”的错误所困扰。有谁知道如何解决它?

宝石文件

source 'https://rubygems.org'
gem 'heroku', '3.0.1'
# 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', '1.3.5'
end
group :assets do
      gem 'sass-rails', '~> 4.0.0'
      gem 'uglifier', '>= 1.3.0'
      gem 'coffee-rails', '~> 4.0.0'
end
gem 'jquery-rails'
group :production do
      gem 'pg', '0.15.1'
      gem 'rails_12factor', '0.0.2'
end
gem 'turbolinks'
gem 'jbuilder', '~> 1.2'

配置/环境/production.rb

config.assets.compile = true

Heroku 安装在捆绑列表中。

这就是我正在尝试的:

$ git push heroku master
Counting objects: 9, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 698 bytes | 0 bytes/s, done.
Total 6 (delta 4), reused 0 (delta 0)

-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> 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 --deployment
       Using rake (10.1.0)
       Using i18n (0.6.5)

有任何想法吗?我真的被困住了。

我一直在关注 railstutorial.org

4

0 回答 0