2
我的公共文件夾包括我的JavaScript和CSS不推送到我的heroku存儲庫,即使我的代碼的其餘部分。公共文件夾不會推送到heroku存儲庫
我想不通爲什麼。以下是我的.gitignore
和我的`gemfile。有任何想法嗎??
.GITIGNORE
.bundle
db/*.sqlite3
log/*.log
tmp/**/*
db/schema.rb
GEMFILE:
source 'http://rubygems.org'
gem 'rails', '3.0.3'
gem "haml"
gem 'rails3-jquery-autocomplete'
gem 'nifty-generators'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'sqlite3-ruby', '1.3.2', :require => 'sqlite3'
gem 'devise', '1.1.rc0'
gem 'activemerchant', '1.9.3'
gem 'annotate-models', '1.0.4'
gem 'log4r', '1.1.9'
gem 'paperclip'
gem 'aws-s3'
gem 'chronic'
gem 'oauth2', '0.1.1'
gem 'shove'
# Use unicorn as the web server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# Bundle the extra gems:
# gem 'bj'
# gem 'nokogiri'
# gem 'sqlite3-ruby', :require => 'sqlite3'
# gem 'aws-s3', :require => 'aws/s3'
# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
# group :development, :test do
# gem 'webrat'
group :development do
gem 'ruby-debug19'
gem 'rspec-rails'
gem 'factory_girl_rails'
end
group :test do
gem 'ruby-debug19'
gem 'rspec'
gem 'webrat'
gem 'factory_girl_rails'
end
你讓git添加公共目錄嗎? – eggie5 2011-04-04 06:06:54
我做了git add。 – user531065 2011-04-04 14:13:03
這個命令的輸出是什麼? 'git ls-files public/javascripts --error-unmatch' – 2011-04-06 20:14:34