Skip to content
Ryan Bigg edited this page Jul 20, 2013 · 11 revisions

During the initial development of Forem, we asked people to point to Forem in their Gemfile like this:

gem 'forem', :github => "radar/forem"

As of this writing, Forem's current development and all installations of Forem are using the master branch of the repository. There is probably going to be a point where this is no longer A Good Idea. This point is rapidly approaching.

To fix this little issue, we will tag a 1.0 release. Before this though, there are some large sweeping changes that we are going to implement to round out the release. They are as follows.

Removing forem-redcarpet dependency

Currently, for syntax highlighting, we're using forem-redcarpet. This gem works well, but has a dependency on a gem that needs Python installed. We believe that you shouldn't need to have Python installed to run Forem.

We will be switching to using highlight.js instead. This means the syntax highlighting will be done client-side, rather than server-side.

Alternatively, we should evaluate rainbows.js too.

Default theme

Forem will also come with a default theme, providing a file at app/views/layouts/forem.html.erb inside the engine that will be used as the default layout for the engine. To customize the layout used, people can place this code inside their config/initializers/forem.rb:

config.to_prepare do
  Forem::ApplicationController.layout :not_forem
end

This will then use app/views/layouts/not_forem.html.erb, which could exist inside the application or, optionally, another engine.


Once the above tasks are complete, we will tag 1.0 and ask that users to point to this tag rather than directly at master in the future.

Clone this wiki locally