Skip to content
mitfik edited this page May 9, 2012 · 7 revisions

Server Requirements

  • Ruby 1.8.7 or newer
  • RubyGems
  • Ruby bindings for your preferred database.
  • An SSL certificate (CAS requires SSL)
  • A Unix-like OS

Installation & Usage

RubyCAS-Server is a Rack-based Sinatra app. Install Bundler:

gem install bundler

Download RubyCAS-Server through RubyGems:

gem install rubycas-server

You'll need to copy the example config file under resources/config.example.yml to /etc/rubycas-server/config.yml. Customize your config.yml file. You'll need to pick a database (e.g. MySQL, SQLite, etc.) and enable at least one authentication back-end. Run rubycas-server. You should now be up and running. Depending on the settings you entered in your config.yml file (i.e. port, hostname, etc.), the server should now be available at https://localhost (or some variation thereof).

More detailed configuration information is available at Configuration, but if you prefer to jump right in, you should be able to figure things out based on the comments in the sample config.

If you encounter any bugs or issues with RubyCAS-Server, please do not hesitate to open an issue ticket!

Clone this wiki locally