Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Well it's after midnight and here I am...porting apps to Rails 3.1 ag…
…ain...
- Loading branch information
August
committed
May 30, 2011
1 parent
822b61f
commit a573ac6
Showing
65 changed files
with
69 additions
and
49 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
# Edit this Gemfile to bundle your application's dependencies. | ||
source 'http://gemcutter.org' | ||
source 'http://rubygems.org' | ||
|
||
gem "rails", "3.0.7" | ||
|
||
## Bundle edge rails: | ||
# gem "rails", :git => "git://github.com/rails/rails.git" | ||
gem "rails", "3.1.0.rc1" | ||
gem "mysql2", "0.3.2" | ||
This comment has been minimized.
Sorry, something went wrong. |
||
# Rails 3.1 - Asset Pipeline | ||
gem 'json' | ||
gem 'sass' | ||
gem 'coffee-script' | ||
gem 'uglifier' | ||
# Rails 3.1 - JavaScript | ||
gem 'jquery-rails' | ||
|
||
# ActiveRecord requires a database adapter. | ||
gem 'sqlite3-ruby', :require => 'sqlite3' | ||
|
||
#RMagick is used for image resizing and processing | ||
gem "rmagick", ">= 2.12.2" | ||
|
||
# We use jquery | ||
gem "jquery-rails" | ||
|
||
# Ruby 1.9.2 doesn't include unit testing by default | ||
gem 'test-unit' | ||
|
||
## Bundle gems used only in certain environments: | ||
group :test do | ||
gem "test_benchmark", :require => 'test_benchmark' | ||
end | ||
end |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
10 changes: 10 additions & 0 deletions
10
public/javascripts/application.js → app/assets/javascripts/application.js
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/* | ||
* This is a manifest file that'll automatically include all the stylesheets available in this directory | ||
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at | ||
* the top of the compiled file, but it's generally better to create a new file per style scope. | ||
*= require_self | ||
*= require_tree . | ||
*/ |
50 changes: 25 additions & 25 deletions
50
public/stylesheets/base.css → app/assets/stylesheets/base.css
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
require 'rubygems' | ||
|
||
# Set up gems listed in the Gemfile. | ||
gemfile = File.expand_path('../../Gemfile', __FILE__) | ||
begin | ||
ENV['BUNDLE_GEMFILE'] = gemfile | ||
require 'bundler' | ||
Bundler.setup | ||
rescue Bundler::GemNotFound => e | ||
STDERR.puts e.message | ||
STDERR.puts "Try running `bundle install`." | ||
exit! | ||
end if File.exist?(gemfile) | ||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) | ||
|
||
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) |
This file contains 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
This file contains 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
August - Did mysql2 sneak in here on accident or is it a new requirement for Rails 3.1? We switched to sqlite by default back at 17dbf60.