simplifies redundant commands in README
Use either `bundle exec` or bundler generated binstubs, but not both. Since you are committing binstubs to source control, I assume you want the latter.
This commit is contained in:
@@ -27,13 +27,13 @@ cd participacion
|
||||
bundle install
|
||||
cp config/database.yml.example config/database.yml
|
||||
cp config/secrets.yml.example config/secrets.yml
|
||||
bundle exec bin/rake db:setup
|
||||
RAILS_ENV=test bundle exec rake db:setup
|
||||
bin/rake db:setup
|
||||
RAILS_ENV=test bin/rake db:setup
|
||||
```
|
||||
|
||||
Para ejecutar la aplicación en local:
|
||||
```
|
||||
bundle exec bin/rails s
|
||||
bin/rails s
|
||||
```
|
||||
|
||||
Prerequisitos para los tests: tener instalado PhantomJS >= 2.0
|
||||
@@ -41,7 +41,7 @@ Prerequisitos para los tests: tener instalado PhantomJS >= 2.0
|
||||
Para ejecutar los tests:
|
||||
|
||||
```
|
||||
bundle exec bin/rspec
|
||||
bin/rspec
|
||||
```
|
||||
|
||||
### OAuth
|
||||
|
||||
@@ -28,13 +28,13 @@ cd participacion
|
||||
bundle install
|
||||
cp config/database.yml.example config/database.yml
|
||||
cp config/secrets.yml.example config/secrets.yml
|
||||
bundle exec bin/rake db:setup
|
||||
RAILS_ENV=test bundle exec rake db:setup
|
||||
bin/rake db:setup
|
||||
RAILS_ENV=test bin/rake db:setup
|
||||
```
|
||||
|
||||
Run the app locally:
|
||||
```
|
||||
bundle exec bin/rails s
|
||||
bin/rails s
|
||||
```
|
||||
|
||||
Prerequisites for testing: install PhantomJS >= 2.0
|
||||
@@ -42,7 +42,7 @@ Prerequisites for testing: install PhantomJS >= 2.0
|
||||
Run the tests with:
|
||||
|
||||
```
|
||||
bundle exec bin/rspec
|
||||
bin/rspec
|
||||
```
|
||||
|
||||
## Licence
|
||||
|
||||
Reference in New Issue
Block a user