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

README.md

Railyard

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

Installation

Install it globally with:

$ gem install railyard

Usage

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.

Problems

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.

Contributing

  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