summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-13 18:09:15 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-13 18:09:15 +0100
commita9bf3a7e1fd802025824668e477a5ec14ce81d5a (patch)
tree9ce38e920f9a7bd9cb621eed87a5b382e9819f49
parent0240e6dd67bc87bc36f6fcdc964bd8e55895b52d (diff)
Encoding.default_external = Encoding::UTF_8
-rw-r--r--Gemfile9
-rw-r--r--Gemfile.lock14
2 files changed, 17 insertions, 6 deletions
diff --git a/Gemfile b/Gemfile
index aa66bda..e4e839f 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,3 +1,8 @@
+if RUBY_VERSION =~ /1.9/
+ Encoding.default_external = Encoding::UTF_8
+ Encoding.default_internal = Encoding::UTF_8
+end
+
source 'http://rubygems.org'
gem 'rails', '3.2.12'
@@ -49,8 +54,8 @@ group :test do
end
gem 'haml'
-gem 'simple_form', '~> 2.0.1'
-# gem 'simple_form', github: 'plataformatec/simple_form', branch: 'v2.1'
+# gem 'simple_form', '~> 2.0.1'
+gem 'simple_form', github: 'plataformatec/simple_form', branch: 'v2.1'
# Image Upload
gem 'carrierwave'
diff --git a/Gemfile.lock b/Gemfile.lock
index 769b1bf..d8531cd 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,3 +1,12 @@
+GIT
+ remote: git://github.com/plataformatec/simple_form.git
+ revision: e3da7301dcf6feb9a1db275ff5cb3f85afce0e80
+ branch: v2.1
+ specs:
+ simple_form (2.1.0.dev)
+ actionpack (~> 3.0)
+ activemodel (~> 3.0)
+
GEM
remote: http://rubygems.org/
specs:
@@ -142,9 +151,6 @@ GEM
sextant (0.2.3)
activesupport (>= 3.2)
rails (>= 3.2)
- simple_form (2.0.4)
- actionpack (~> 3.0)
- activemodel (~> 3.0)
sprockets (2.2.2)
hike (~> 1.2)
multi_json (~> 1.0)
@@ -215,7 +221,7 @@ DEPENDENCIES
rails (= 3.2.12)
sass-rails
sextant
- simple_form (~> 2.0.1)
+ simple_form!
sqlite3
state_machine
strong_parameters