CapRails
Execute Capistrano deployments and tasks for Rails projects within Sublime Text.
Details
Installs
- Total 471
- Win 117
- Mac 194
- Linux 160
Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
CapRails
A Sublime Text plugin that executes Capistrano 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.
Manual:
Navigate to the Sublime Text Packages folder (You can find the location of the Packages folder here).
Run the git clone command right inside the packages directory:
git clone git@github.com:schneidmaster/cap_rails.git "CapRails"
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
- Fork it ( https://github.com/schneidmaster/cap_rails/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
Credits
I heavily referenced the Sublime Rubocop package by Patrich Derichs to determine how to execute commands.