From 836b0d92b6e06e30af2e4faa08d2200f8119356f Mon Sep 17 00:00:00 2001 From: Aaron Brager Date: Fri, 24 Jun 2016 20:16:16 -0500 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 67ac2ff..6d5b372 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,11 @@ Add ability to run RSpec and see the output without leaving Atom. HotKeys: -- __Ctrl+Alt+T__ - executes all specs the current file -- __Ctrl+Alt+X__ - executes only the spec on the line the cursor's at -- __Ctrl+Alt+E__ - re-executes the last executed spec +- ctrl + alt + T - executes all specs the current file +- ctrl + alt + X - executes only the spec on the line the cursor's at +- ctrl + alt + E - re-executes the last executed spec + +> macOS users can use option instead of alt. ![Screenshot](http://cl.ly/image/2G2B3M2g3l3k/stats_collector_spec.rb%20-%20-Users-fcoury-Projects-crm_bliss.png) @@ -21,8 +23,14 @@ and changing the command option like below: ![Configuration Screenshot](http://f.cl.ly/items/2k1C0E0e1l2Z3m1l3e1R/Settings%20-%20-Users-fcoury-Projects-crm_bliss.jpg) -Or by opening your configuration file (clicking __Atom__ > __Open Your Config__) +Or by opening your configuration file (clicking __Atom__ > __Config…__) and adding or changing the following snippet: 'rspec': - 'command': 'bundle exec rspec' + command: 'bundle exec rspec' + +> You may need to make a change like this if you see an error like: +> +> ```bash +> bash: line 1: undefined: command not found +> ```