To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!More about adding a collaborator
Setup common ruby
From scratch, i.e. without rbenv or rbenv_build:
- Fork it.
- Clone your cio repo.
- Install rbenv and rbenv_build
cd ~ git clone git://github.com/sstephenson/rbenv.git .rbenv git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
- Install required Ruby version
cd cio rbenv install `cat .rbenv-version` rbenv rehash
To Remove installed Ruby Version and installed gems
rm -rf ~/.rbenv/versions/`cat .rbenv-version` cd cio rm -rf vendor ls | grep -v bin/cio | xargs rm
Setup development gems
- Install and configure Bundler
gem install bundler bundle config path vendor bundle config bin .bundle/bin bundle config shebang ruby-local-exec bundle config disable_shared_gems 1
- Install required gems
You should be able to run the tests now:
bundle exec rake
Cio uses RSpec 2 for unit tests.
The specs are written in a very "focused" style, each spec is concerned only with
exercising the object under test, using mocks as necessary.
You can run the specs using
Cucumber is used for end-to-end full stack integration tests
that also function as Cio's documentation.
Making a pull request
- Create you changes using a gitflow feature workflow
- Create a GitHub Pull Request from the remote feature branch
- 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 new Pull Request
Problems running bundle install?
If you get an error while running
bundle install, it may be one of the
"extras" gems which are not required for development.
Try installing it without these gems.
bundle install --without extras
If you are getting an error installing
rb-fsevent gem, you may want to
temporarily change the Gemfile to use the pre-release version of the gem.
gem 'rb-fsevent', '0.9.0.pre4'
Last published about 7 years ago by taqtiqa-mark.