Skip to content

Commit

Permalink
production's having troubles...
Browse files Browse the repository at this point in the history
  • Loading branch information
gaberoo committed May 25, 2012
1 parent caa50bc commit 9d069ea
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Gemfile
Expand Up @@ -27,8 +27,7 @@ group :development do
gem 'sqlite3'
end
group :production do
gem 'sqlite3'
gem 'mysql'
gem 'ruby-mysql'
end

gem 'jquery-rails'
Expand Down Expand Up @@ -68,3 +67,5 @@ gem 'whenever'

# database export
gem 'yaml_db'
gem 'mysql'

2 changes: 2 additions & 0 deletions Gemfile.lock
Expand Up @@ -132,6 +132,7 @@ GEM
json (~> 1.4)
rest-client (1.6.7)
mime-types (>= 1.16)
ruby-mysql (2.9.8)
sass (3.1.15)
sass-rails (3.2.5)
railties (~> 3.2.0)
Expand Down Expand Up @@ -190,6 +191,7 @@ DEPENDENCIES
mysql
rails (= 3.2.2)
rake
ruby-mysql
sass-rails (~> 3.2.3)
sqlite3
thin
Expand Down
3 changes: 3 additions & 0 deletions config/environment.rb
@@ -1,5 +1,8 @@
# Load the rails application
require File.expand_path('../application', __FILE__)

Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8

# Initialize the rails application
RssYeah::Application.initialize!
2 changes: 1 addition & 1 deletion config/environments/production.rb
Expand Up @@ -15,7 +15,7 @@
config.assets.compress = true

# Don't fallback to assets pipeline if a precompiled asset is missed
config.assets.compile = false
config.assets.compile = true

# Generate digests for assets URLs
config.assets.digest = true
Expand Down

0 comments on commit 9d069ea

Please sign in to comment.