LoginSignup
49
45

More than 5 years have passed since last update.

Ruby1.9.2以降でrequireする際の注意点

Last updated at Posted at 2012-06-20

カレントディレクトリに置いたファイルをrequireする際、

require "filename"

だと怒られる。セキュリティ強化のため仕様が変わったらしい。

require "./filename"

ならうまくいった。

49
45
4

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
49
45