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 451
  • Win 105
  • Mac 187
  • Linux 159
Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12
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 1 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 1 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
Linux 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 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.