Non-polluting Rails skeleton generator.
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.
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.
from https://github.com/brandonweiss/railyard
No comments:
Post a Comment