Execute Capistrano deployments and tasks for Rails projects within Sublime Text.
- Total 374
- Win 79
- OS X 157
- Linux 138
|Dec 6||Dec 5||Dec 4||Dec 3||Dec 2||Dec 1||Nov 30||Nov 29||Nov 28||Nov 27||Nov 26||Nov 25||Nov 24||Nov 23||Nov 22||Nov 21||Nov 20||Nov 19||Nov 18||Nov 17||Nov 16||Nov 15||Nov 14||Nov 13||Nov 12||Nov 11||Nov 10||Nov 9||Nov 8||Nov 7||Nov 6||Nov 5||Nov 4||Nov 3||Nov 2||Nov 1||Oct 31||Oct 30||Oct 29||Oct 28||Oct 27||Oct 26||Oct 25||Oct 24||Oct 23|
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 firstname.lastname@example.org: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.