Created
May 22, 2015 16:18
-
-
Save lajunta/4b2a907192683fec6660 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_source "https://ruby.taobao.org/" | |
gem 'slim-rails' | |
gem 'mongoid' | |
gem 'puma' | |
gem 'bootstrap-sass' | |
gem 'font-awesome-sass' | |
gem 'zbox' | |
app_name = ask("What is your app name ?") | |
file 'config/mongoid.yml', <<-CODE | |
development: | |
sessions: | |
default: | |
database: #{app_name}_development | |
hosts: | |
- localhost:27017 | |
options: | |
options: | |
raise_not_found_error: false | |
production: | |
sessions: | |
default: | |
database: #{app_name}_production | |
hosts: | |
- localhost:27017 | |
CODE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment