FullCalendar packaged for the Rails 3.1+ asset pipeline. Check FullCalendar project home page and GitHub page.
This gem is forked from https://github.com/bokmann/fullcalendar-rails which does not include gcal.js and has not been updated to the latest version. You can read more about the reasons behind this fork here and check the pull request to the original fullcalendar-rails repository.
There is another gem at https://github.com/mankind/fullcalendar-rails but the implementation is lacking.
Add this line to your application's Gemfile:
gem 'fullcalendar-rails', github: 'tkrotoff/fullcalendar-rails'
And then execute:
$ bundle
Add the following JavaScript file to app/assets/javascripts/application.js
:
//= require fullcalendar
//= require fullcalendar/gcal.js <--- In case you need Google Calendar support
Add the following stylesheet file to app/assets/stylesheets/application.css
:
*= require fullcalendar
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request