🏗 Non-polluting Rails skeleton generator.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
sandbox Creating the gem skeleton and initial featureset Nov 29, 2014
Rakefile Creating the gem skeleton and initial featureset Nov 29, 2014
railyard.gemspec ⬆️ bundler@1.17 Oct 29, 2018



Generate Rails skeletons without having to globally install Rails and its bajillion dependencies.


Install it globally with:

$ gem install railyard


There are only three commands, version, new, and plugin.

$ railyard version 4.1.1
$ railyard new APP_NAME
$ railyard plugin PLUGIN_NAME

Right now Railyard doesn't manage Ruby versions for you—Railyard runs in whatever Ruby version you've installed it on and are calling it from. You may be able to generate a skeleton for a version of Rails in a version of Ruby that Rails wasn't designed to run on, but it's recommended that you switch your Ruby version to one that is compatible with the version of Rails you're trying to generate a skeleton of.

Plugin command

The plugin command is used to generate a Rails Engine.


If it doesn’t appear to be working and you’re on macOS run xcode-select --install and then try again. I noticed an issue recently when installing Rails it will fail out because of problems with Nokogiri. That should sort it out.


  1. Fork it ( https://github.com/brandonweiss/railyard/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request