source 'http://rubygems.org'
gem 'rails', '>=3.1.0', '<3.2.0'

gem "brakeman"

gem 'bson_ext'
gem 'carrierwave'
gem 'carrierwave-mongoid', :require => 'carrierwave/mongoid'
gem "net-ldap", "~> 0.3.1"
gem 'devise', '1.5.3'
gem 'exception_notification' # Send error trace
gem 'execjs'
gem 'jquery-rails'
gem 'jquery-ui-rails'

gem 'kaminari', :git => 'git://github.com/amatsuda/kaminari.git'

# gem "memcached", "~> 1.4.3"
# gem "memcache-client"

gem 'mini_magick'
gem 'mongoid'
gem 'mongoid-tree', :require => 'mongoid/tree'
gem "mongo_session_store-rails3"
gem 'mysql2'
gem 'nokogiri'
gem 'radius'
gem 'rake'
# gem 'remotipart'
gem 'resque' # background jobs
gem 'resque-scheduler' # job scheduling
gem 'resque-restriction'
#gem 'rb-readline'
gem 'ruby-debug19'
gem 'rubyzip'

gem 'sunspot_mongo'
gem 'sunspot_solr'
gem 'progress_bar'

gem 'sinatra'
#gem 'sinatra-contrib'
gem 'sprockets'
gem 'social-share-button'

gem 'tinymce-rails'
gem 'therubyracer' if RUBY_PLATFORM.downcase.include?("linux")
gem 'mongoid-encryptor', :require => 'mongoid/encryptor'
gem 'rb-readline' if RUBY_PLATFORM.downcase.include?("linux")


gem "impressionist", :git => 'git://github.com/charlotte-ruby/impressionist.git'

gem 'redis','>= 2.1.1'
gem 'chinese_pinyin', '0.4.1'
# add rmmseg if you need search by segment words
gem 'rmmseg-cpp-huacnlee', '0.2.9'
gem 'redis-namespace','~> 1.0.2'
gem 'redis-search', '0.7.1'

# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sass-rails'
  gem 'coffee-rails'
  gem 'uglifier'
end


group :test, :development do
  gem "sunspot-rails-tester"
  gem 'spork'
  gem 'database_cleaner'  #Strategies for cleaning databases. Can be used to ensure a clean state for testing.
  gem "rspec", "~> 2.0"
  gem "rspec-rails", "~> 2.0"
  gem "factory_girl_rails"
  gem "shoulda-matchers"
  gem "simplecov"
  gem "delorean"
  gem "watchr"
	gem "spork"
  # gem "capybara"
  # gem 'yard'
  # gem "bluecloth"
end