Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit f7951c5

Browse files
author
Jason Roelofs
committed
Install Rails
1 parent e74c3b7 commit f7951c5

35 files changed

Lines changed: 736 additions & 1 deletion

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.rvmrc
22
bin
3-
.bundle
3+
.bundle
4+
tmp

Gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,15 @@ gem "rails", "~> 3.2.0"
44

55
gem "state_machine", "~> 1.1.0"
66

7+
#group :assets do
8+
# gem "sass-rails", "~> 3.2.0"
9+
# gem "coffee-rails", "~> 3.2.0"
10+
# gem "uglifier", ">= 1.0.3"
11+
#end
12+
713
group :development do
814
gem "rake"
15+
gem "thin"
916
end
1017

1118
group :test do

Gemfile.lock

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ GEM
3030
multi_json (~> 1.0)
3131
arel (3.0.2)
3232
builder (3.0.0)
33+
daemons (1.1.8)
3334
erubis (2.7.0)
35+
eventmachine (0.12.10)
3436
hike (1.2.1)
3537
i18n (0.6.0)
3638
journey (1.0.3)
@@ -76,6 +78,10 @@ GEM
7678
rack (~> 1.0)
7779
tilt (~> 1.1, != 1.3.0)
7880
state_machine (1.1.2)
81+
thin (1.3.1)
82+
daemons (>= 1.0.9)
83+
eventmachine (>= 0.12.6)
84+
rack (>= 1.0.0)
7985
thor (0.14.6)
8086
tilt (1.3.3)
8187
treetop (1.4.10)
@@ -92,3 +98,4 @@ DEPENDENCIES
9298
rails (~> 3.2.0)
9399
rake
94100
state_machine (~> 1.1.0)
101+
thin

Rakefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
require File.expand_path("../config/application", __FILE__)
12
require 'rake/testtask'
23

4+
Raidit::Application.load_tasks
5+
36
task :default => "test:all"
47

58
namespace :test do

app/assets/images/rails.png

6.49 KB
Loading
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// This is a manifest file that'll be compiled into application.js, which will include all the files
2+
// listed below.
3+
//
4+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6+
//
7+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8+
// the compiled file.
9+
//
10+
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11+
// GO AFTER THE REQUIRES BELOW.
12+
//
13+
//= require jquery
14+
//= require jquery_ujs
15+
//= require_tree .
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* This is a manifest file that'll be compiled into application.css, which will include all the files
3+
* listed below.
4+
*
5+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7+
*
8+
* You're free to add application-wide styles to this file and they'll appear at the top of the
9+
* compiled file, but it's generally better to create a new file per style scope.
10+
*
11+
*= require_self
12+
*= require_tree .
13+
*/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class ApplicationController < ActionController::Base
2+
protect_from_forgery
3+
end

app/mailers/.gitkeep

Whitespace-only changes.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Raidit</title>
5+
<%= stylesheet_link_tag "application", :media => "all" %>
6+
<%= javascript_include_tag "application" %>
7+
<%= csrf_meta_tags %>
8+
</head>
9+
<body>
10+
11+
<%= yield %>
12+
13+
</body>
14+
</html>

0 commit comments

Comments
 (0)