在Heroku上部署应用程序时,不会加载CSS和其他更改

时间:2013-10-14 22:46:59

标签: css ruby-on-rails heroku deployment gemfile

我目前正在向Heroku部署一个应用程序,但是它正在上传为其基本版本。它没有显示我通过CSS,HTML和我做的其他自定义所做的更改。此外,我在这里搜索了几个类似的问题,但似乎找不到合适的解决方案。

我预先编译了应用程序,但无济于事。这是我部署时会发生的事情。你能告诉我该做什么吗?谢谢!

C:\Sites\LaunchPage>git push heroku master
Everything up-to-date

C:\Sites\LaunchPage>heroku run rake db:migrate
Running `rake db:migrate` attached to terminal... up, run.3644
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support
 for these plugins will be removed in Rails 4.0. Move them out and bundle them i
n your Gemfile, or fold them in to your app as lib/myplugin/* and config/initial
izers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonr
ails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required
)> at /app/Rakefile:7)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support
for these plugins will be removed in Rails 4.0. Move them out and bundle them i
n your Gemfile, or fold them in to your app as lib/myplugin/* and config/initial
izers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonr
ails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required
)> at /app/Rakefile:7)
Connecting to database specified by DATABASE_URL
Migrating to CreateUsers (20130821031443)

C:\Sites\LaunchPage>rake assets:precompile
←[31mBundler could not find compatible versions for gem "sprockets":
In snapshot (Gemfile.lock):
sprockets (2.1.3)

In Gemfile:
sass-rails (= 3.1.4) x86-mingw32 depends on
  sprockets (~> 2.0.0) x86-mingw32

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
←[0m

C:\Sites\LaunchPage>

0 个答案:

没有答案