Skip to content

Updated version with ruby-2.3.1 and rails-5.0.1 and helpful gems

Notifications You must be signed in to change notification settings

kefiriaus/ruby-rails-sample

 
 

Repository files navigation

ruby-rails-sample

This is a simple Ruby app using the Rails framework.

Versions

Admin version

Added gems:

# Add compatibility with jquery
gem 'jquery-turbolinks', '~> 2.1'

# ActiveAdmin
gem 'activeadmin', git: 'https://github.com/activeadmin/activeadmin'
gem 'inherited_resources', git: 'https://github.com/activeadmin/inherited_resources'
gem 'devise'
gem 'devise-i18n'
gem "active_material", github: "vigetlabs/active_material" # , branch: 'nh-responsive-redesign'

# WYSIWYG for activeadmin
gem 'ckeditor'

gem 'carrierwave', '>= 1.0.0.rc', '< 2.0'
gem "mini_magick"

# Menu DSL
gem "navigator"

# Email validator
gem 'validates_email_format_of'

# Meta tags
gem 'meta-tags'

# Error pages
gem 'gaffe'

Added gems for development:

gem "better_errors"
gem "binding_of_caller"

gem 'rubocop' # to check Ruby code
gem 'scss-lint' # to check SCSS code

gem 'phare' # check for coding style errors

Running Locally

Make sure you have Ruby and Bundler installed.

git clone [email protected]:kefiriaus/ruby-rails-sample.git
cd ruby-rails-sample
bundle install
rails db:migrate && rails db:seed
rails s

Your app should now be running on localhost:3000.

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 82.3%
  • HTML 7.2%
  • JavaScript 6.1%
  • CSS 2.5%
  • CoffeeScript 1.9%