Execute Capistrano deployments and tasks for Rails projects within Sublime Text.
- Total 411
- Win 90
- Mac 168
- Linux 153
|Oct 21||Oct 20||Oct 19||Oct 18||Oct 17||Oct 16||Oct 15||Oct 14||Oct 13||Oct 12||Oct 11||Oct 10||Oct 9||Oct 8||Oct 7||Oct 6||Oct 5||Oct 4||Oct 3||Oct 2||Oct 1||Sep 30||Sep 29||Sep 28||Sep 27||Sep 26||Sep 25||Sep 24||Sep 23||Sep 22||Sep 21||Sep 20||Sep 19||Sep 18||Sep 17||Sep 16||Sep 15||Sep 14||Sep 13||Sep 12||Sep 11||Sep 10||Sep 9||Sep 8||Sep 7|
You must have Capistrano set up and configured for your project.
Install CapRails via Package Control.
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 email@example.com:schneidmaster/cap_rails.git "CapRails"
Restart Sublime Text.
CapRails will run any deployment or Capistrano task configured in the active project. Activate the Command Palette (
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.
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.
- 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
I heavily referenced the Sublime Rubocop package by Patrich Derichs to determine how to execute commands.