Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (19 sloc) 0.959 kb

A Sample application for Setting up Device gem along with Nify Generator Plugin

Ruby version: 1.9.2 Rails version: 3.2.7

Database: PostgresSQL

Added the following gems in the Gemfile:

  1. gem "nifty-generators", :group => :development

  2. gem 'devise'

  3. gem 'tlsmail' (This is used by Device for sending mails)

  4. gem 'pg' (Added this gem for PostgreSQL support)

You can clone it by and start the application by the following steps:

  1. git clone git:// your-direcotry
  2. cd your-direcotry
  3. bundle install
  4. rake db:create (Change the database parameters according to your system)
  5. rake db:migrate
  6. rails server

If you want to deploy the application in Heroku, then inside the application.rb, you have to make the following changes:

config.assets.initialize_on_precompile = false

Jump to Line
Something went wrong with that request. Please try again.