Skip to content
This repository

Added config.ru and database.yml #21

Merged
merged 3 commits into from over 2 years ago

2 participants

dbasch Elias Haase
dbasch

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

Showing 3 unique commits by 2 authors.

Feb 06, 2012
Ubuntu added 63fb69a
Ubuntu added 7874a93
dbasch dbasch segfaults with ruby1.8, changed to use default ruby (1.9.3 works) a958caa
This page is out of date. Refresh to see the latest.

Showing 3 changed files with 11 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 0  config.ru
  2. +8 0 config/database.yml
  3. +1 1  script/rails
2  config.ru
... ... @@ -0,0 +1,2 @@
  1 +require ::File.expand_path('../config/environment', __FILE__)
  2 +run Hackful::Application
8 config/database.yml
... ... @@ -0,0 +1,8 @@
  1 +#this works on Ubuntu Linux, change for your OS.
  2 +development:
  3 + adapter: mysql2
  4 + encoding: utf8
  5 + database: hackful
  6 + username: root
  7 + password:
  8 + socket: /var/run/mysqld/mysqld.sock
2  script/rails
... ... @@ -1,4 +1,4 @@
1   -#!/usr/bin/env ruby1.8
  1 +#!/usr/bin/env ruby
2 2 # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3 3
4 4 APP_PATH = File.expand_path('../../config/application', __FILE__)

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.