Skip to content

Want to improve this gem?

the-teacher edited this page Jul 20, 2012 · 4 revisions

So, for developing you should to do this:

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

rspec --format documentation

Start server and begin to develop

rails s