Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brandonweiss/railyard

🏗 Non-polluting Rails skeleton generator.
https://github.com/brandonweiss/railyard

rails rails-skeletons ruby

Last synced: about 22 hours ago
JSON representation

🏗 Non-polluting Rails skeleton generator.

Awesome Lists containing this project

README

        

# 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](http://guides.rubyonrails.org/engines.html).

### 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