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
- Fork it ( https://github.com/brandonweiss/railyard/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request