Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/schneidmaster/cap_rails
Execute Capistrano deployments and tasks for Rails projects within Sublime Text.
https://github.com/schneidmaster/cap_rails
Last synced: about 2 months ago
JSON representation
Execute Capistrano deployments and tasks for Rails projects within Sublime Text.
- Host: GitHub
- URL: https://github.com/schneidmaster/cap_rails
- Owner: schneidmaster
- License: mit
- Created: 2015-04-06T20:21:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-12T16:44:26.000Z (over 9 years ago)
- Last Synced: 2024-04-15T00:15:03.036Z (9 months ago)
- Language: Python
- Homepage:
- Size: 117 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# CapRails
A [Sublime Text](http://www.sublimetext.com/) plugin that executes [Capistrano](http://capistranorb.com/) deployments and tasks for Rails projects within the Sublime Text console.
## Installation
### Prerequisites
You must have Capistrano set up and configured for your project.
### Recommended:
Install CapRails via [Package Control](http://wbond.net/sublime_packages/package_control).
### Manual:
1. Navigate to the Sublime Text Packages folder (You can find the location of the Packages folder [here](http://docs.sublimetext.info/en/latest/basic_concepts.html#the-data-directory)).
2. Run the git clone command right inside the packages directory: `git clone [email protected]:schneidmaster/cap_rails.git "CapRails"`
3. Restart Sublime Text.
## Usage
CapRails will run any deployment or Capistrano task configured in the active project. Activate the Command Palette (`⌘+shift+P` or `ctrl+shift+P`) and type `Capistrano: Deploy` or `Capistrano: Run Task`. You will be given the option to select the stage and/or task you'd like to run, and the deployment/task will then run within the Sublime Text console.
CapRails supports rvm and rbenv, in addition to the system ruby installation. The desired ruby, ruby installation path, and path to deployment configuration can all be set in the settings.
## System Support
CapRails should hypothetically work on all operating systems and ruby installations. However, it's only been seriously tested on Mac OSX and RVM. If you find an problem, submit an issue or better yet a pull request.
## Contributing
1. Fork it ( https://github.com/schneidmaster/cap_rails/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## Credits
I heavily referenced the [Sublime Rubocop](https://github.com/pderichs/sublime_rubocop/) package by Patrich Derichs to determine how to execute commands.