Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Galleria's Fatal Error #5

Closed
mmhan opened this issue Jul 29, 2014 · 4 comments
Closed

Galleria's Fatal Error #5

mmhan opened this issue Jul 29, 2014 · 4 comments

Comments

@mmhan
Copy link

mmhan commented Jul 29, 2014

After including the gem in the Gemfile and bundle install and configuring Galleria, I receive this error for built-in classic theme.

Fatal error: Theme CSS could not load after 20 sec. Please download the latest theme at http://galleria.io/customer/

I'm not sure if that's Galleria's error or the gem's error. So, I'll be creating an issue on both repositories, just to be sure.

I'm on ruby 2.1.0p0, rails 4.1.0 & rails-gallery 0.3.3 it's happening on both localhost and development. The gallery however does work as expected with no problem whatsoever.

@kristianmandrup
Copy link
Owner

As I recall, gems using vendor folder for assets need an update to work with Rails 4.1+. Please check the asset pipeline docs ;)

@mmhan
Copy link
Author

mmhan commented Jul 29, 2014

I'm not sure what you mean by "need an update to work with Rails 4.1+". Gem update?

@kristianmandrup
Copy link
Owner

http://stackoverflow.com/questions/23305570/how-to-effectively-organize-vendor-css-and-js-files-togheter-in-rails-assets

in Rails 4 they have removed vendor folder,so,assets will not server from vendor.

in that Rails.application.config.assets.paths not contains vendor,if you want you have to add the path in config/application.rb

config.assets.paths << "#{Rails.root}/vendor/assets"

Since version 4 vendor and lib directories are not included in the asset pipeline by default. If you want to then you should extend assets path or use `app/assets``

So perhaps a better solution is to move/rename vendor/assetsin rails gallery gem to app/assets and see if that works.

Just fork the repo, link to your fork from your Gemfile then experiment.

@mmhan
Copy link
Author

mmhan commented Nov 28, 2015

Damn, I forgot to reply to your comment after getting this resolved.

@mmhan mmhan closed this as completed Nov 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants