The Wayback Machine - https://web.archive.org/web/20130921140822/https://github.com/ruby/www.ruby-lang.org
CSSRubyJavaScript
branch: master
Switch branches/tags
Nothing to show
Nothing to show

Merge pull request #303 from amerine/roa

Adding a note about Ruby on Ales to the community conference page.
latest commit e853ec47cc
hsbt authored
Octocat-spinner-32 _includes Add 'vi' to index.html and footer
Octocat-spinner-32 _layouts Make homepage layout easier to configure
Octocat-spinner-32 _plugins Increase number of recent posts on 'news' page
Octocat-spinner-32 bg Fix string interpolation example
Octocat-spinner-32 config added cleanup task to deploy
Octocat-spinner-32 de Translate CDN post (de); fix link and whitespace
Octocat-spinner-32 en Adding a note about Ruby on Ales to the community conference page.
Octocat-spinner-32 es We use fastly CDN post translation (es)
Octocat-spinner-32 fr Translate CDN post (fr)
Octocat-spinner-32 id Translate Fastly CDN news (id)
Octocat-spinner-32 images Added static assets from https://github.com/rubyidentity/ruby-lang.
Octocat-spinner-32 it Fix string interpolation example
Octocat-spinner-32 ja Adapt mailing list instructions to new software (ja)
Octocat-spinner-32 javascripts Fix typo.
Octocat-spinner-32 ko Remove all content from top-projects page
Octocat-spinner-32 pl Sync Downloads page content (pl)
Octocat-spinner-32 pt Fix string interpolation example
Octocat-spinner-32 security Move monkey patches from en/security to /security
Octocat-spinner-32 stylesheets Do not highlight syntax errors in code examples
Octocat-spinner-32 tr Fix string interpolation example
Octocat-spinner-32 vi Translate We Use Fastly CDN [vi]
Octocat-spinner-32 zh_cn adds translation for fastly-cdn of zh_cn
Octocat-spinner-32 zh_tw Fix link (zh_tw)
Octocat-spinner-32 .gitignore ignore bin and update latest dependency
Octocat-spinner-32 Gemfile ignore bin and update latest dependency
Octocat-spinner-32 Gemfile.lock upgrade jekyll-1.1 and use redcarpet
Octocat-spinner-32 Procfile Changes for running on Heroku
Octocat-spinner-32 README.md Some changes in README
Octocat-spinner-32 Rakefile Initial setup for Vietnamese translation of site (vi)
Octocat-spinner-32 _config.yml replace cache.ruby-lang.org instead of ftp.ruby-lang.org in download …
Octocat-spinner-32 config.ru Changes for running on Heroku
Octocat-spinner-32 favicon.ico Use favicon from official site
Octocat-spinner-32 generation_time Add /generation_time for testing
Octocat-spinner-32 index.html Fix redirect for i18n
Octocat-spinner-32 redirect.conf_ Fix redirect for i18n
Octocat-spinner-32 security.asc Added the PGP key used by Ruby Security.
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.

Preview on Heroku

In case a build is not possible on your local machine you can also create a preview on Heroku.

git clone https://github.com/ruby/www.ruby-lang.org.git
cd www.ruby-lang.org
  • Create a feature branch.
  • Make changes or add content and commit.
  • Create preview app on Heroku using custom buildpack.
heroku login
heroku create --buildpack http://github.com/ayumin/heroku-buildpack-ruby-jekyll.git
  • Push your site
git push heroku feature_branch:master
heroku open

To create a preview of the master branch:

git push heroku master
heroku open

More Information

For more information see the wiki.

Something went wrong with that request. Please try again.
X