aboutsummaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2014-07-23 19:24:16 +0200
committerRobin Dupret <robin.dupret@gmail.com>2014-07-23 20:05:14 +0200
commit558f8aa2ee80ee8cb859f0da9714dc93294c856b (patch)
treed921522068b5380133ad426183d66c8003f9a551 /Gemfile
parent8c48a708243236491e33290e3b5676dc27a64c05 (diff)
downloadrails-558f8aa2ee80ee8cb859f0da9714dc93294c856b.tar.gz
rails-558f8aa2ee80ee8cb859f0da9714dc93294c856b.tar.bz2
rails-558f8aa2ee80ee8cb859f0da9714dc93294c856b.zip
Set Psych as the YAML engine for Rubinius
Since the rubysl-yaml gem doesn't ship with Psych by default because of its dependency on libyaml, on Rubinius, the default engine is Syck. However, if we want to be able to run the application safely on different rubies, we need to make people using Rubinius rely on Psych. See http://git.io/uuLVag for further information.
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 60c4b31e5b..49a68c7d9d 100644
--- a/Gemfile
+++ b/Gemfile
@@ -87,6 +87,12 @@ platforms :jruby do
end
end
+platforms :rbx do
+ # The rubysl-yaml gem doesn't ship with Psych by default
+ # as it needs libyaml that isn't always available.
+ gem 'psych', '~> 2.0'
+end
+
# gems that are necessary for ActiveRecord tests with Oracle database
if ENV['ORACLE_ENHANCED']
platforms :ruby do