lib/rubypython.rb in rubypython-0.5.1 vs lib/rubypython.rb in rubypython-0.5.2

- old
+ new

@@ -13,11 +13,11 @@ # RubyPython.start # cPickle = RubyPython.import "cPickle" # puts cPickle.dumps("RubyPython is awesome!").rubify # RubyPython.stop module RubyPython - VERSION = '0.5.1' #:nodoc: + VERSION = '0.5.2' #:nodoc: # Do not load the FFI interface by default. Wait until the user asks for # it. @load_ffi = false @@ -215,10 +215,10 @@ # *NOTE*: In the current version of RubyPython, it _is_ possible to # change \Python interpreters in a single Ruby process execution, but it # is *strongly* discouraged as this may lead to segmentation faults. # This feature is highly experimental and may be disabled in the future. def start_from_virtualenv(virtualenv) - result = start(:python => File.join(virtualenv, "bin", "python")) + result = start(:python_exe => File.join(virtualenv, "bin", "python")) activate result end # Returns an object describing the currently active Python interpreter.