2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

windows de ruby 2.1.1 orz to 2.0.0-p451 (=x=)

Posted at

自作プログラムが2.1系で動かず2.0系に変えたら動いたって話の環境構築メモ。
問題はeventmachineだろうけど未検証。

rubyinstaller で ruby2.1.1 をインストール

  • 2014年3月2日の時点で未対応だったので編集
config/rubyinstaller.rb
@@ -114,7 +114,7 @@ module RubyInstaller
     )

     Ruby21 = OpenStruct.new(
-      :version => "2.1.0-p0",
+      :version => "2.1.1",
       :short_version => 'ruby21',
       :url => "http://cache.ruby-lang.org/pub/ruby/2.1/",
       :checkout => 'http://svn.ruby-lang.org/repos/ruby/branches/ruby_2_1',
@@ -131,7 +131,7 @@ module RubyInstaller
         "CPPFLAGS='-DFD_SETSIZE=2048'"
       ],
       :files => [
-        "ruby-2.1.0.tar.bz2"
+        "ruby-2.1.1.tar.bz2"
       ],
       :dependencies => [
         :ffi, :gdbm, :iconv, :openssl, :yaml, :zlib, :tcl, :tk

2.0.0-p451 をバイナリからインストール

PS C:\Ruby200> ruby dk.rb init
PS C:\Ruby200> ruby dk.rb install
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?