diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-01-19 00:13:14 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-01-19 00:13:14 +0900 |
| commit | 1c48be7822f73330236539bb7fd6b94dac8a2ee3 (patch) | |
| tree | 3709b1f8724de4f71fcd686fb3db034f856f8f2a /tasks | |
| parent | 7137ee88b57f57e3522505469d64ed2c69f5c187 (diff) | |
| parent | 959a5cff6058c873b0591b01466ae6e6dcf8ab5b (diff) | |
| download | mruby-1c48be7822f73330236539bb7fd6b94dac8a2ee3.tar.gz mruby-1c48be7822f73330236539bb7fd6b94dac8a2ee3.zip | |
Merge pull request #2706 from furunkel/master
Don't use Build.current if possible
Diffstat (limited to 'tasks')
| -rw-r--r-- | tasks/mruby_build_gem.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/mruby_build_gem.rake b/tasks/mruby_build_gem.rake index 5d2dc030c..dbbade487 100644 --- a/tasks/mruby_build_gem.rake +++ b/tasks/mruby_build_gem.rake @@ -31,7 +31,7 @@ module MRuby return nil unless Gem.current Gem.current.dir = gemdir - Gem.current.build = MRuby::Build.current + Gem.current.build = self.is_a?(MRuby::Build) ? self : MRuby::Build.current Gem.current.build_config_initializer = block gems << Gem.current |
