No release in over 3 years
Render Taskjuggler files (.tjp) as controller views.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 8.0.2
 Project Readme

taskjuggler-rails

Installation

Add this line to your application's Gemfile:

gem "taskjuggler-rails"

or

bundle add "taskjuggler-rails"

Example Usage

# app/controllers/gantt_controller.rb

class GanttController < ApplicationController
  def show
    @project_name = "My Awesome Project"
    @effort       = 160   # hours
    @developer    = "alice"
  end
end
<%# app/views/gantt/show.html.tjp %>

project demo "<%= @project_name %>" "1.0" 2025-01-01 +3m

resource <%= @developer %> "Alice"

task planning "Planning" {
  effort 40h
  allocate <%= @developer %>
}

task development "Development" {
  effort <%= @effort %>h
  allocate <%= @developer %>
  depends planning
}

taskreport "Gantt" {
  formats html
  headline "Simple Gantt – Generated <%= Time.now.strftime('%Y-%m-%d') %>"
}

License

The gem is available as open source under the terms of the MIT License.