Last active
December 31, 2015 05:49
-
-
Save yannvery/7943244 to your computer and use it in GitHub Desktop.
How to install and configure consular on OSX 10.9 ( Mavericks ).
Use : rvm - ruby 2 - zsh - sublime text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install command line developer tools if necessary ( like if consular-item gem can't be installed ) | |
xcode-select --install | |
gem install consular | |
gem install consular-iterm | |
consular init | |
# Open the newly created ~/.consularc file and add a require statement for your core to the top. | |
# The project page for each core will have this snippet. For iTerm it’s require 'consular/iterm'. | |
# Create a project | |
consular edit projectname |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setup 'echo "setup"' # code to run during setup | |
window do | |
before { run 'cd ~/code/projectname' } | |
tab "Server" do | |
run "rails s" | |
end | |
tab "Console" do | |
run "rails c" | |
end | |
tab "git status" | |
run 'subl .' | |
run 'open open http://localhost:3000' | |
run 'exit' | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl | |
# RVM users | |
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/.rvm/bin/subl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this lines to use sublimetext as default editor | |
export PATH=~/bin:$PATH | |
export EDITOR='subl -w' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment