Open reflection opened 10 years ago
Trying to deploy to heroku... I always get the following
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
I, [2014-09-11T04:43:38.436644 #647] INFO -- : Loading Rails (4.1.5) integration
rake aborted!
Sprockets::FileNotFound: couldn't find file 'fileinput'
(in /tmp/build_6171bf2d-98ce-4e8c-bb58-64ebb745f8a4/app/assets/javascripts/flatuipro.js:1)
/tmp/build_6171bf2d-98ce-4e8c-bb58-64ebb745f8a4/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/context.rb:106:in `resolve'
/tmp/build_6171bf2d-98ce-4e8c-bb58-64ebb745f8a4/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/context.rb:146:in `require_asset'
..... many many lines :D
@artmees Once you installed the flatuipro assets, you can deploy it to heroku by unpacking the gem in your vendor/gems directory. Be sure it is versioned or you won't get it on heroku. Then add the following line to your gemfile :
gem 'designmodo-flatuipro-rails', '1.3.0.0.branch', path: 'vendor/gems/designmodo-flatuipro-rails-1.3.0.0.branch'
I had a small issue while unpacking the gem, apparently google.svg
was a symlink and I had a weird google\ .svg
file in the assets. I removed the symlink and put the real google.svg file in its place and it's now perfectly working on heroku.
Downside is you'll have to manually update the vendored gem.
Hi all,
The 1.3.0 release has some issues I'd like to highlight:
Also, in case you want a quick way to get started with Flat UI Pro 1.3.0 in Rails with Bootstrap 3: