Explain your project here.
- If your project is private, you can host it for free in Gitlab and use their CI.
- Optionally, turn your repo on in Coveralls (coverage status), codeclimate (maintainability), and depfu (dependency status).
- If you are using codeclimate, update the default branch name in the settings area.
- Update badges with your user/repo names.
- Update license to your preferred one.
This is a Ruby project. Tell your Ruby version manager to set your local Ruby version to the one specified in the Gemfile
.
For example, if you are using rbenv:
- Install the right Ruby version:
rbenv install < VERSION >
- Move to the root directory of this project and type:
rbenv local < VERSION >
ruby -v
You will also need to install the bundler
gem, which will allow you to install the rest of the dependencies listed in the Gemfile
of this project.
gem install bundler
rbenv rehash
bin
: Executableslib
: Sourcesspec
: Tests
bundle install
Make sure that the bin/app
file has execution permissions:
chmod +x bin/app
Then just type:
bin/app
If this doesn't work you can always do:
bundle exec ruby bin/app
bundle exec rake
bundle exec rspec path/to/test/file.rb
bundle exec rspec path/to/test/file.rb:TESTLINENUMBER
bundle exec rubocop