ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Cap​Rails

by schneidmaster ALL

Execute Capistrano deployments and tasks for Rails projects within Sublime Text.

Labels capistrano

Details

Installs

  • Total 470
  • Win 116
  • Mac 194
  • Linux 160
Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18
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 0 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:

  1. Navigate to the Sublime Text Packages folder (You can find the location of the Packages folder here).

  2. Run the git clone command right inside the packages directory: git clone git@github.com: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 package by Patrich Derichs to determine how to execute commands.