Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

No vendor/cache configuration. Using postgres user for database conte…

…ction.
  • Loading branch information...
commit f88398d0a21584585fadf5aa31a3e194e42ec0a8 1 parent 65c8e01
@jhbabon authored
Showing with 17 additions and 17 deletions.
  1. +2 −1  .travis.yml
  2. +3 −3 Gemfile
  3. +5 −5 Gemfile.lock
  4. +3 −5 README.md
  5. +4 −3 config/database.yml
  6. BIN  vendor/cache/actionmailer-3.2.3.gem
  7. BIN  vendor/cache/actionpack-3.2.3.gem
  8. BIN  vendor/cache/activemodel-3.2.3.gem
  9. BIN  vendor/cache/activerecord-3.2.3.gem
  10. BIN  vendor/cache/activeresource-3.2.3.gem
  11. BIN  vendor/cache/activesupport-3.2.3.gem
  12. BIN  vendor/cache/arel-3.0.2.gem
  13. BIN  vendor/cache/bcrypt-ruby-3.0.1.gem
  14. BIN  vendor/cache/builder-3.0.0.gem
  15. BIN  vendor/cache/carrierwave-0.6.2.gem
  16. BIN  vendor/cache/devise-2.0.4.gem
  17. BIN  vendor/cache/erubis-2.7.0.gem
  18. BIN  vendor/cache/execjs-1.3.1.gem
  19. BIN  vendor/cache/factory_girl-3.2.0.gem
  20. BIN  vendor/cache/factory_girl_rails-3.2.0.gem
  21. BIN  vendor/cache/ffaker-1.14.0.gem
  22. BIN  vendor/cache/friendly_id-4.0.5.gem
  23. BIN  vendor/cache/hike-1.2.1.gem
  24. BIN  vendor/cache/i18n-0.6.0.gem
  25. BIN  vendor/cache/journey-1.0.3.gem
  26. BIN  vendor/cache/jquery-rails-2.0.2.gem
  27. BIN  vendor/cache/json-1.7.0.gem
  28. BIN  vendor/cache/kaminari-0.13.0.gem
  29. BIN  vendor/cache/kgio-2.7.4.gem
  30. BIN  vendor/cache/libv8-3.3.10.4-x86_64-darwin-11.gem
  31. BIN  vendor/cache/mail-2.4.4.gem
  32. BIN  vendor/cache/metaclass-0.0.1.gem
  33. BIN  vendor/cache/mime-types-1.18.gem
  34. BIN  vendor/cache/mini_magick-3.4.gem
  35. BIN  vendor/cache/mocha-0.11.3.gem
  36. BIN  vendor/cache/multi_json-1.3.2.gem
  37. BIN  vendor/cache/orm_adapter-0.0.7.gem
  38. BIN  vendor/cache/pg-0.13.2.gem
  39. BIN  vendor/cache/polyglot-0.3.3.gem
  40. BIN  vendor/cache/rack-1.4.1.gem
  41. BIN  vendor/cache/rack-cache-1.2.gem
  42. BIN  vendor/cache/rack-ssl-1.3.2.gem
  43. BIN  vendor/cache/rack-test-0.6.1.gem
  44. BIN  vendor/cache/rails-3.2.3.gem
  45. BIN  vendor/cache/rails-i18n-0.6.3.gem
  46. BIN  vendor/cache/railties-3.2.3.gem
  47. BIN  vendor/cache/raindrops-0.8.0.gem
  48. BIN  vendor/cache/rake-0.9.2.2.gem
  49. BIN  vendor/cache/rdoc-3.12.gem
  50. BIN  vendor/cache/sass-3.1.16.gem
  51. BIN  vendor/cache/sass-rails-3.2.5.gem
  52. BIN  vendor/cache/simple_form-2.0.1.gem
  53. BIN  vendor/cache/sprockets-2.1.3.gem
  54. BIN  vendor/cache/subexec-0.2.2.gem
  55. BIN  vendor/cache/therubyracer-0.10.1.gem
  56. BIN  vendor/cache/thor-0.14.6.gem
  57. BIN  vendor/cache/tilt-1.3.3.gem
  58. BIN  vendor/cache/treetop-1.4.10.gem
  59. BIN  vendor/cache/tzinfo-0.3.33.gem
  60. BIN  vendor/cache/uglifier-1.2.4.gem
  61. BIN  vendor/cache/unicorn-4.3.0.gem
  62. BIN  vendor/cache/warden-1.1.1.gem
View
3  .travis.yml
@@ -1,4 +1,5 @@
language: ruby
rvm:
- 1.9.3
-bundler_args: --local
+before_script:
+ - psql -c 'create database ntd_test;' -U postgres
View
6 Gemfile
@@ -6,7 +6,7 @@ gem 'rails-i18n'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
-gem 'pg', '~> 0.13.2'
+gem 'pg'
# Gems used only for assets and not required
# in production environments by default.
@@ -41,8 +41,8 @@ gem 'unicorn'
group :development, :test do
gem 'factory_girl_rails'
- gem 'ffaker', '~> 1.14.0'
- gem 'mocha', '~> 0.11.1', :require => false
+ gem 'ffaker'
+ gem 'mocha', :require => false
end
# pagination
View
10 Gemfile.lock
@@ -72,7 +72,7 @@ GEM
subexec (~> 0.2.1)
mocha (0.11.3)
metaclass (~> 0.0.1)
- multi_json (1.3.2)
+ multi_json (1.3.4)
orm_adapter (0.0.7)
pg (0.13.2)
polyglot (0.3.3)
@@ -128,7 +128,7 @@ GEM
uglifier (1.2.4)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
- unicorn (4.3.0)
+ unicorn (4.3.1)
kgio (~> 2.6)
rack
raindrops (~> 0.7)
@@ -142,13 +142,13 @@ DEPENDENCIES
carrierwave
devise
factory_girl_rails
- ffaker (~> 1.14.0)
+ ffaker
friendly_id
jquery-rails
kaminari
mini_magick
- mocha (~> 0.11.1)
- pg (~> 0.13.2)
+ mocha
+ pg
rails (~> 3.2.3)
rails-i18n
sass-rails (~> 3.2.3)
View
8 README.md
@@ -20,11 +20,9 @@ $ git clone git://github.com/jhbabon/notedetengas.git
Then, run inside the project's directory the following commands:
```sh
-# Install gems from vendor/cache and create local binaries
-$ bundle install --local --binstubs
-# Use the binaries created by bundler
-$ bin/rake db:setup
-$ bin/unicorn -c config/server/unicorn.rb
+$ bundle install
+$ bundle exec rake db:setup
+$ bundle exec unicorn -c config/server/unicorn.rb
```
Open the browser and go to the backend of the app:
View
7 config/database.yml
@@ -11,14 +11,15 @@
#
# Configure Using Gemfile
# gem 'pg'
-#
+
development: &config
adapter: postgresql
encoding: unicode
pool: 5
- username: ntd
- password: ntd
+ username: postgres
+ password:
database: ntd_development
+
# Connect on a TCP socket. Omitted by default since the client uses a
# domain socket that doesn't need configuration. Windows does not have
# domain sockets, so uncomment these lines.
View
BIN  vendor/cache/actionmailer-3.2.3.gem
Binary file not shown
View
BIN  vendor/cache/actionpack-3.2.3.gem
Binary file not shown
View
BIN  vendor/cache/activemodel-3.2.3.gem
Binary file not shown
View
BIN  vendor/cache/activerecord-3.2.3.gem
Binary file not shown
View
BIN  vendor/cache/activeresource-3.2.3.gem
Binary file not shown
View
BIN  vendor/cache/activesupport-3.2.3.gem
Binary file not shown
View
BIN  vendor/cache/arel-3.0.2.gem
Binary file not shown
View
BIN  vendor/cache/bcrypt-ruby-3.0.1.gem
Binary file not shown
View
BIN  vendor/cache/builder-3.0.0.gem
Binary file not shown
View
BIN  vendor/cache/carrierwave-0.6.2.gem
Binary file not shown
View
BIN  vendor/cache/devise-2.0.4.gem
Binary file not shown
View
BIN  vendor/cache/erubis-2.7.0.gem
Binary file not shown
View
BIN  vendor/cache/execjs-1.3.1.gem
Binary file not shown
View
BIN  vendor/cache/factory_girl-3.2.0.gem
Binary file not shown
View
BIN  vendor/cache/factory_girl_rails-3.2.0.gem
Binary file not shown
View
BIN  vendor/cache/ffaker-1.14.0.gem
Binary file not shown
View
BIN  vendor/cache/friendly_id-4.0.5.gem
Binary file not shown
View
BIN  vendor/cache/hike-1.2.1.gem
Binary file not shown
View
BIN  vendor/cache/i18n-0.6.0.gem
Binary file not shown
View
BIN  vendor/cache/journey-1.0.3.gem
Binary file not shown
View
BIN  vendor/cache/jquery-rails-2.0.2.gem
Binary file not shown
View
BIN  vendor/cache/json-1.7.0.gem
Binary file not shown
View
BIN  vendor/cache/kaminari-0.13.0.gem
Binary file not shown
View
BIN  vendor/cache/kgio-2.7.4.gem
Binary file not shown
View
BIN  vendor/cache/libv8-3.3.10.4-x86_64-darwin-11.gem
Binary file not shown
View
BIN  vendor/cache/mail-2.4.4.gem
Binary file not shown
View
BIN  vendor/cache/metaclass-0.0.1.gem
Binary file not shown
View
BIN  vendor/cache/mime-types-1.18.gem
Binary file not shown
View
BIN  vendor/cache/mini_magick-3.4.gem
Binary file not shown
View
BIN  vendor/cache/mocha-0.11.3.gem
Binary file not shown
View
BIN  vendor/cache/multi_json-1.3.2.gem
Binary file not shown
View
BIN  vendor/cache/orm_adapter-0.0.7.gem
Binary file not shown
View
BIN  vendor/cache/pg-0.13.2.gem
Binary file not shown
View
BIN  vendor/cache/polyglot-0.3.3.gem
Binary file not shown
View
BIN  vendor/cache/rack-1.4.1.gem
Binary file not shown
View
BIN  vendor/cache/rack-cache-1.2.gem
Binary file not shown
View
BIN  vendor/cache/rack-ssl-1.3.2.gem
Binary file not shown
View
BIN  vendor/cache/rack-test-0.6.1.gem
Binary file not shown
View
BIN  vendor/cache/rails-3.2.3.gem
Binary file not shown
View
BIN  vendor/cache/rails-i18n-0.6.3.gem
Binary file not shown
View
BIN  vendor/cache/railties-3.2.3.gem
Binary file not shown
View
BIN  vendor/cache/raindrops-0.8.0.gem
Binary file not shown
View
BIN  vendor/cache/rake-0.9.2.2.gem
Binary file not shown
View
BIN  vendor/cache/rdoc-3.12.gem
Binary file not shown
View
BIN  vendor/cache/sass-3.1.16.gem
Binary file not shown
View
BIN  vendor/cache/sass-rails-3.2.5.gem
Binary file not shown
View
BIN  vendor/cache/simple_form-2.0.1.gem
Binary file not shown
View
BIN  vendor/cache/sprockets-2.1.3.gem
Binary file not shown
View
BIN  vendor/cache/subexec-0.2.2.gem
Binary file not shown
View
BIN  vendor/cache/therubyracer-0.10.1.gem
Binary file not shown
View
BIN  vendor/cache/thor-0.14.6.gem
Binary file not shown
View
BIN  vendor/cache/tilt-1.3.3.gem
Binary file not shown
View
BIN  vendor/cache/treetop-1.4.10.gem
Binary file not shown
View
BIN  vendor/cache/tzinfo-0.3.33.gem
Binary file not shown
View
BIN  vendor/cache/uglifier-1.2.4.gem
Binary file not shown
View
BIN  vendor/cache/unicorn-4.3.0.gem
Binary file not shown
View
BIN  vendor/cache/warden-1.1.1.gem
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.