Comments (6)
To be true, I'm not sure if the current version runs with Rails 3.1. At work I'm only working with Rails 4.x and in private projects I currently only use Rails 4.1. So I can't test it for Rails 3.x.
If you can test it and everything works (also that it's automatically compiled with rake assets:precompile for production) and tell me the railties version you did used, then I will fix the gemspec. :)
from html5shiv-js-rails.
Thanks @RouL, for now I've just downloaded it and added it into the asset pipeline locally (since it's one file) :) If I have some spare time I'll fork it and give it a go :) I didn't think about the precompile thing! I assumed whatever was used to do the precompiling would be defined by the rails project itself rather than per each -rails asset pipeline gem :)
from html5shiv-js-rails.
No problem @brendon. It's possible to do that in the project, but since html5shiv will be always included directly from with a script-tag instead of being included into the application.js via asset-pipeline, I thought it will be best to make sure you don't need to add it to the precompile list with: Rails.application.config.assets.precompile += %w( html5shiv.js )
With Rails 4.0 or 4.1 something changed, that's why I'm not sure if the current version will run properly with older Rails versions. You can see the change here: 304d1d0
from html5shiv-js-rails.
Thanks @RouL :) I've just checked my project and I'm adding assets to the precompile array using the +=
method, so you could probably loosen up the gemspec down to Rails 3.1 if you liked :)
from html5shiv-js-rails.
I think at the weekend I will find some time. I will also check for new versions of html5shiv then.
from html5shiv-js-rails.
Thanks Markus :)
from html5shiv-js-rails.
Related Issues (3)
- Add support for Rails 5 HOT 1
- Add rails 5.1 support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from html5shiv-js-rails.