Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added config.ru and database.yml #21

Merged
merged 3 commits into from

2 participants

Diego Basch Elias Haase
Diego Basch

These files were missing. Also changed script/rails, apparently it had been generated with ruby 1.8 and it was segfaulting.

Elias Haase 8bitpal merged commit 1dea9a7 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 6, 2012
  1. added

    Ubuntu authored
  2. added

    Ubuntu authored
  3. Diego Basch
This page is out of date. Refresh to see the latest.
Showing with 11 additions and 1 deletion.
  1. +2 −0  config.ru
  2. +8 −0 config/database.yml
  3. +1 −1  script/rails
2  config.ru
View
@@ -0,0 +1,2 @@
+require ::File.expand_path('../config/environment', __FILE__)
+run Hackful::Application
8 config/database.yml
View
@@ -0,0 +1,8 @@
+#this works on Ubuntu Linux, change for your OS.
+development:
+ adapter: mysql2
+ encoding: utf8
+ database: hackful
+ username: root
+ password:
+ socket: /var/run/mysqld/mysqld.sock
2  script/rails
View
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby1.8
+#!/usr/bin/env ruby
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
APP_PATH = File.expand_path('../../config/application', __FILE__)
Something went wrong with that request. Please try again.