Skip to content
Ruby JavaScript
Branch: master
Clone or download
Pull request Compare This branch is 5422 commits behind ruby:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_includes
_layouts
_plugins
bg
config
de
en
es
fr
id
images
it
ja
javascripts
ko
pl
pt
security/20080823rexml
stylesheets
tr
zh_cn
zh_tw
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
_config.yml
favicon.ico
generation_time
index.html
redirect.conf_
security.asc

README.md

www.ruby-lang.org

This is the Jekyll source of the www.ruby-lang.org website.

How to Contribute?

You can contribute by reporting errors or suggesting improvements. Just open an issue or pull request.

This is a big project with many translations involved. Please help us stay on top of things by following our guidelines for contributors.

Get It!

In order to generate the site locally, you need to have Pygments installed on your system.

Bundler will take care of the rest of the dependencies, so unless you already have done so, you might need to install bundler with:

gem install bundler

Then clone the repository and install the dependencies:

git clone https://github.com/ruby/www.ruby-lang.org.git
cd www.ruby-lang.org/
bundle install

To generate the site and start a local web server, you can use

bundle exec rake preview

Then open http://localhost:4000/ in your local browser to access the preview.

Note: The build of the site will take several minutes. If you created the site previously and the _site directory already exists, the web server will start instantly but large parts of the site will not be updated until the build has completely finished. Also, the build may fail silently when using the preview mode.

To always get feedback on the success of the build you might want to create the website without starting a local server instead:

bundle exec rake generate

When you now start a preview with the site already generated it will be available instantly.

More Information

For more information see the wiki.

You can’t perform that action at this time.