mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
===============================================================================
Some setup you must do manually if you haven't yet:
1. Setup default url options for your specific environment. Here is
an
example of development environment:
config.action_mailer.default_url_options = { :host =>
'localhost:3000' }
This is a required Rails configuration. In production it must be
the
actual host of your application
2. Ensure you have defined root_url to *something* in your
config/routes.rb.
For example:
root :to => "home#index"
3. Ensure you have flash messages in
app/views/layouts/application.html.erb.
For example:
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>
4. If you are deploying Rails 3.1 on Heroku, you may want to set:
config.assets.initialize_on_precompile = false
On config/application.rb forcing your application to not access
the DB
or load models when precompiling your assets.
===============================================================================
40 lines
798 B
Ruby
40 lines
798 B
Ruby
source 'https://rubygems.org'
|
|
|
|
gem 'rails', '3.2.1'
|
|
|
|
# Bundle edge Rails instead:
|
|
# gem 'rails', :git => 'git://github.com/rails/rails.git'
|
|
|
|
gem 'sqlite3'
|
|
|
|
|
|
# Gems used only for assets and not required
|
|
# in production environments by default.
|
|
group :assets do
|
|
gem 'sass-rails', '~> 3.2.3'
|
|
gem 'coffee-rails', '~> 3.2.1'
|
|
|
|
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
|
|
# gem 'therubyracer'
|
|
|
|
gem 'uglifier', '>= 1.0.3'
|
|
end
|
|
|
|
gem 'jquery-rails'
|
|
|
|
# To use ActiveModel has_secure_password
|
|
# gem 'bcrypt-ruby', '~> 3.0.0'
|
|
|
|
# To use Jbuilder templates for JSON
|
|
# gem 'jbuilder'
|
|
|
|
# Use unicorn as the web server
|
|
# gem 'unicorn'
|
|
|
|
# Deploy with Capistrano
|
|
# gem 'capistrano'
|
|
|
|
# To use debugger
|
|
# gem 'ruby-debug19', :require => 'ruby-debug'
|
|
|
|
gem 'devise', '>= 2.0'
|