Skip to content

Commit

Permalink
Beginning migration to rails 4
Browse files Browse the repository at this point in the history
  • Loading branch information
multiscan committed Jul 1, 2013
1 parent 25b2a6e commit d3b9699
Show file tree
Hide file tree
Showing 5 changed files with 185 additions and 222 deletions.
111 changes: 38 additions & 73 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,122 +1,87 @@
source 'https://rubygems.org'


# -------------------------------------------------------------- BASE RAILS GEMS
gem 'rails', '3.2.9'
gem 'rack', '1.4.1' # https://makandracards.com/makandra/13580-fix-warning-no-secret-option-provided-to-rack-session-cookie
gem 'jquery-rails'
gem 'rails', '4.0.0'
gem 'sqlite3'
gem 'mysql2'
gem 'activerecord-mysql-adapter'
gem 'memoist'

gem 'haml-rails', :group => :development
gem 'thin'
# --- backward compatibility (TO BE REMOVED!)
gem 'protected_attributes'

# ---------------------------------------------------- CAPISTRANO FOR DEPLOYMENT
gem 'capistrano'
gem 'rvm-capistrano'

# ------------------------------------------------------------ APP SPECIFIC GEMS

# authentication and acl
gem "devise", ">= 2.1.2"
# --- xml parsing
# gem "nokogiri"
gem "ox", "~> 2.0.3"

# --- sphinx full text search
gem 'thinking-sphinx', '2.0.10'

# --- authentication and acl
#gem "devise_invitable", '~> 1.1.0'
gem "devise", github: 'plataformatec/devise'
gem "cancan", ">= 1.6.8"
gem "rolify", ">= 3.2.0"

# app configuration: config/application.yml
# --- app configuration: config/application.yml
gem "figaro", ">= 0.5.0"

# for easily passing variables to javascript
# --------------------------------------------------------------------------- js
gem 'jquery-rails'
# --- for easily passing variables to javascript
# http://railscasts.com/episodes/324-passing-data-to-javascript
# https://github.com/gazay/gon
gem 'gon'

# pdf rendering
# -------------------------------------------------------------------- rendering
# --- PDF rendering
gem 'prawn'
gem 'prawn_rails'

# markdown rendering
# --- markdown rendering
gem 'bluecloth'

# view helpers
gem "bootstrap-sass", ">= 2.1.1.0"
gem "simple_form", ">= 2.0.4"
# --- html and css
gem 'haml-rails', '~>0.4'
gem 'sass-rails' #, '~>4.0.0'
gem 'coffee-rails' #, '~>4.0.0'
gem 'uglifier', '>= 1.3.0'

# ----------------------------------------------------------------- view helpers
gem "simple_form", github: 'plataformatec/simple_form'
gem 'will_paginate', '~> 3.0.3'
gem 'will_paginate-bootstrap'
gem "better_errors", ">= 0.2.0", :group => :development

gem "turbolinks"
gem "bootstrap-sass", ">= 2.1.1.0"

# http://www.mcbsys.com/techblog/2012/10/convert-a-select-drop-down-box-to-an-autocomplete-in-rails/
# gem 'rails3-jquery-autocomplete' # 1.0.10
gem 'rails3-jquery-autocomplete', '1.0.9'

group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
end
# ------------------------------------------------------------------------ devel
gem 'memoist'

group :development do
gem 'thin'
gem "quiet_assets", ">= 1.0.1"
gem "binding_of_caller", ">= 0.6.8"
gem "better_errors", ">= 0.2.0"
end

# group :development, :test do
# gem "rspec-rails", ">= 2.11.4", :group => [:development, :test]
# gem "factory_girl_rails", ">= 4.1.0", :require => false
# gem "cucumber-rails", ">= 1.3.0", :require => false
# gem "database_cleaner", ">= 0.9.1"
# gem "email_spec", ">= 1.4.0"
# gem "launchy", ">= 2.1.2"
# gem "capybara", ">= 2.0.1"
# end

# ---------------------------------------------------------------------- testing
group :test do
# gem 'minitest'
gem 'capybara'
# gem 'turn'
end

# For searching book infos on the web https://github.com/jayfajardo/openlibrary
# gem 'openlibrary'
# gem 'lcclasses' # library of congress classes (to parse output from loc query)
# gem "nokogiri"
gem "ox", "~> 2.0.3"

# # Search logic: planty of helpers for searching only for rails 2 :(
# gem 'searchlogic'

# Full text search with Thinking Sphinx. DB must be under mysql or postgresql.
# http://pat.github.com/ts/en/
# http://railscasts.com/episodes/120-thinking-sphinx
# https://github.com/pat/thinking-sphinx
# --------------------
# Devel install on mac
# --------------------
# brew install mysql
# mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
# mysql.server start
# /usr/local/opt/mysql/bin/mysql_secure_installation
# brew install sphinx --mysql
# rake thinking_sphinx:index
# rake thinking_sphinx:rebuild
# rake thinking_sphinx:start
gem 'thinking-sphinx', '2.0.10'
# ------------------------------------------------------------------------ NOTES

# For searching book infos on the web
# gem 'openlibrary' # https://github.com/jayfajardo/openlibrary
# gem 'lcclasses' # library of congress classes (to parse output from loc query)


# -------------------------------------------------------------------- REMIND ME
# gem 'formtastic'
# gem 'formtastic-bootstrap'
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
# To use Jbuilder templates for JSON
# gem 'jbuilder'
# Use unicorn as the app server
# gem 'unicorn'
# To use debugger
# gem 'debugger', :group => [:development]
# gem 'cheat', :group => [:development]

Loading

0 comments on commit d3b9699

Please sign in to comment.