Using new version of fancybox with rails 3.1 asset pipeline.
bitangxxx opened this issue · comments
Hi,
I'm using @sverigemeny-s fork (https://github.com/sverigemeny/fancybox-rails) and I'm trying to update source js files. Current master branch has jquery.fancybox.js 2.0.4 with an error (http://stackoverflow.com/questions/8701467/passing-an-array-of-image-objects-to-fancybox-lightbox-doesnt-seem-to-work) I cannot solve without moving forawrd to the latest jquery.fancybox.js version (2.0.6) which can be found here: https://github.com/fancyapps/fancyBox/zipball/master
So my question is: how can I use @sverigemeny-s fork with the latest jquery.fancybox.js?
Thanks in advance,
adrian
I've forked the @sverigemeny's fork and created a pull request with the newest js version here: sverigemeny#1
I'm not maintaining that fork, so the pull request there is probably the best thing to do. In the meantime if you want to use your fork then you can use git in your Gemfile:
gem 'fancybox-rails', :git => 'https://github.com/bitangxxx/fancybox-rails.git'
HTH