mkdir -p ~/my/gems/TheRole
cd ~/my/gems/TheRole
git clone [email protected]:TheRole/DummyApp.git
git clone https://github.com/TheRole/the_role_api
git clone https://github.com/TheRole/the_role_management_panel
File browser in your Editor can looks like this
cd ~/my/gems/TheRole/DummyApp
Link DummyApp with local gems
gem 'the_role_api',
path: '../the_role_api'
gem 'the_role_management_panel',
path: '../the_role_management_panel'
bundle
RAILS_ENV=test rake db:bootstrap
RAILS_ENV=test rspec --format documentation
cd ~/my/gems/TheRole/the_role_api
git checkout -b "mongo_version"
Write code, have fun! You can see your results in DummyApp
Test new code with DummyApp specs
cd ~/my/gems/TheRole/DummyApp
RAILS_ENV=test rspec --format documentation
Send a Pull Request =)