summaryrefslogtreecommitdiff
path: root/ruby/src/IceRuby/Communicator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/src/IceRuby/Communicator.cpp')
-rw-r--r--ruby/src/IceRuby/Communicator.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ruby/src/IceRuby/Communicator.cpp b/ruby/src/IceRuby/Communicator.cpp
index 6050352e5d1..29f4f9e387e 100644
--- a/ruby/src/IceRuby/Communicator.cpp
+++ b/ruby/src/IceRuby/Communicator.cpp
@@ -207,6 +207,9 @@ IceRuby_initialize(int argc, VALUE* argv, VALUE /*self*/)
data.properties = Ice::createProperties(seq, data.properties);
}
+ // Always accept cycles in Ruby
+ data.properties->setProperty("Ice.AcceptClassCycles", "1");
+
//
// Remaining command line options are passed to the communicator
// as an argument vector in case they contain plugin properties.