mattn/mruby-require

Building with other gems. No Method 'application' for MiniRake:Module

ppibburr opened this issue · 6 comments

MRuby builds with just this as a mrbgem, but when others are added, i get that error during 'make'

What version of rake did you use?

On 2/2/13, ppibburr notifications@github.com wrote:

MRuby builds with just this as a mrbgem, but when others are added, i get
that error during 'make'


Reply to this email directly or view it on GitHub:
#1

  • Yasuhiro Matsumoto

I also have same build error.

Using version of rake is

$ ruby -v
ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]
$ rake --version
rake, version 10.0.3
$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [i686-linux]

$ rake --version
rake, version 10.0.3

actually ./minirake is being used

# use 
rake
# instead of
# make

modify mrbgem.rake

        tasks = Rake.application.top_level_tasks
        tasks << sharedlib unless tasks.find do |t| t == "clean" or t == "test" end

Thank you.