-
Notifications
You must be signed in to change notification settings - Fork 82
Want to improve this gem?
the-teacher edited this page Jul 20, 2012
·
4 revisions
So, for developing you should to do this:
- Clone dev project with Devise2 https://github.com/the-teacher/devise2_on_the_role
- Clone TheRole gem https://github.com/the-teacher/the_role
- Change dir to devise2_on_the_role
- Change Gemfile of devise2_on_the_role project and include dev version of TheRole gem with local path
gem 'the_role', :path => '/home/USER_NAME/path/to/the_role'
- bundle
- create and setup config/database.yml
development:
adapter: mysql2
encoding: utf8
reconnect: false
database: devise2_on_the_role_dev
pool: 5
username: USER_NAME
password: PASS
test:
adapter: mysql2
encoding: utf8
reconnect: false
database: devise2_on_the_role_test
pool: 5
username: USER_NAME
password: PASS
- rake db:create:all
- rake db:migrate
- rake db:migrate RAILS_ENV=test
- rake db:seed
rspec --format documentation
rails s