Last active
August 29, 2015 14:02
-
-
Save allanbatista/a9d2850e23e17c41dd22 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
source 'https://rubygems.org' | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '4.0.2' | |
# Use sqlite3 as the database for Active Record | |
group :development, :test do | |
gem 'net-ssh', '2.7.0' | |
gem 'sqlite3' | |
end | |
group :production do | |
gem 'pg' | |
end | |
# Use SCSS for stylesheets | |
gem 'sass-rails', '~> 4.0.0' | |
gem 'compass-rails' | |
gem 'twitter-bootstrap-rails', :git => 'git://github.com/seyhunak/twitter-bootstrap-rails.git' | |
# Use Uglifier as compressor for JavaScript assets | |
gem 'uglifier', '>= 1.3.0' | |
# Use CoffeeScript for .js.coffee assets and views | |
gem 'coffee-rails', '~> 4.0.0' | |
# See https://github.com/sstephenson/execjs#readme for more supported runtimes | |
# gem 'therubyracer', platforms: :ruby | |
# Use jquery as the JavaScript library | |
gem 'jquery-rails' | |
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks | |
gem 'turbolinks' | |
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder | |
gem 'jbuilder', '~> 1.2' | |
group :doc do | |
# bundle exec rake doc:rails generates the API under doc/api. | |
gem 'sdoc', require: false | |
end | |
# Use ActiveModel has_secure_password | |
# gem 'bcrypt-ruby', '~> 3.1.2' | |
# Use unicorn as the app server | |
# | |
# Use debugger | |
# gem 'debugger', group: [:development, :test] | |
gem 'rails-i18n', '~> 4.0.0' # For 4.0.x |
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
server { | |
listen 80; | |
root /home/rails/public; | |
server_name _; | |
index index.htm index.html; | |
location / { | |
try_files $uri/index.html $uri.html $uri @app; | |
} | |
# location ~* ^.+\.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js|mp3|flv|mpeg|avi)$ { | |
location ~* ^.+\.(jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|mp3|flv|mpeg|avi)$ { | |
try_files $uri @app; | |
} | |
location @app { | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_set_header Host $http_host; | |
proxy_redirect off; | |
proxy_pass http://app_server; | |
} | |
} |
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
listen "127.0.0.1:8080" | |
worker_processes 2 | |
user "rails" | |
working_directory "/home/rails" | |
pid "/home/unicorn/pids/unicorn.pid" | |
stderr_path "/home/unicorn/log/unicorn.log" | |
stdout_path "/home/unicorn/log/unicorn.log" |
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
I, [2014-06-05T15:43:21.498123 #6305] INFO -- : listening on addr=127.0.0.1:8080 fd=10 | |
I, [2014-06-05T15:43:21.498441 #6305] INFO -- : worker=0 spawning... | |
I, [2014-06-05T15:43:21.499070 #6305] INFO -- : worker=1 spawning... | |
I, [2014-06-05T15:43:21.504658 #6305] INFO -- : master process ready | |
I, [2014-06-05T15:43:21.510048 #6308] INFO -- : worker=0 spawned pid=6308 | |
I, [2014-06-05T15:43:21.517719 #6310] INFO -- : worker=1 spawned pid=6310 | |
I, [2014-06-05T15:43:21.528242 #6308] INFO -- : Refreshing Gem list | |
I, [2014-06-05T15:43:21.535000 #6310] INFO -- : Refreshing Gem list | |
E, [2014-06-05T15:43:22.102659 #6308] ERROR -- : git://github.com/seyhunak/twitter-bootstrap-rails.git (at master) is not checked out. Please run `bundle install` (Bundler::GitError) | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/source/git.rb:177:in `rescue in load_spec_files' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/source/git.rb:175:in `load_spec_files' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/source/path.rb:86:in `local_specs' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/source/git.rb:150:in `specs' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/lazy_specification.rb:52:in `__materialize__' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/spec_set.rb:88:in `block in materialize' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in `map!' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in `materialize' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/definition.rb:114:in `specs' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/definition.rb:159:in `specs_for' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/definition.rb:148:in `requested_specs' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/environment.rb:18:in `requested_specs' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/runtime.rb:13:in `setup' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler.rb:120:in `setup' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/setup.rb:17:in `<top (required)>' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `require' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require' | |
/home/rails/config/boot.rb:4:in `<top (required)>' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' | |
/home/rails/config/application.rb:1:in `<top (required)>' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' | |
/home/rails/config/environment.rb:2:in `<top (required)>' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' | |
config.ru:4:in `block in <main>' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize' | |
config.ru:1:in `new' | |
config.ru:1:in `<main>' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/unicorn-4.8.3/lib/unicorn.rb:48:in `eval' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/unicorn-4.8.3/lib/unicorn.rb:48:in `block in builder' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:764:in `call' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:764:in `build_app!' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:628:in `init_worker_process' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:651:in `worker_loop' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in `spawn_missing_workers' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/bin/unicorn:23:in `load' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/bin/unicorn:23:in `<main>' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `eval' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `<main>' | |
E, [2014-06-05T15:43:22.103362 #6310] ERROR -- : git://github.com/seyhunak/twitter-bootstrap-rails.git (at master) is not checked out. Please run `bundle install` (Bundler::GitError) | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/source/git.rb:177:in `rescue in load_spec_files' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/source/git.rb:175:in `load_spec_files' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/source/path.rb:86:in `local_specs' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/source/git.rb:150:in `specs' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/lazy_specification.rb:52:in `__materialize__' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/spec_set.rb:88:in `block in materialize' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in `map!' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in `materialize' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/definition.rb:114:in `specs' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/definition.rb:159:in `specs_for' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/definition.rb:148:in `requested_specs' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/environment.rb:18:in `requested_specs' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/runtime.rb:13:in `setup' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler.rb:120:in `setup' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.3.5/lib/bundler/setup.rb:17:in `<top (required)>' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `require' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require' | |
/home/rails/config/boot.rb:4:in `<top (required)>' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' | |
/home/rails/config/application.rb:1:in `<top (required)>' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' | |
/home/rails/config/environment.rb:2:in `<top (required)>' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' | |
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' | |
config.ru:4:in `block in <main>' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment