Ramaze / ramaze

Ramaze is a simple, light and modular open-source web application framework written in Ruby.
http://ramaze.net
371 stars 37 forks source link

uninitialized constant Innate::MiddlewareCompiler (NameError) with Innate 2012.12 #55

Closed martinpoljak closed 11 years ago

martinpoljak commented 11 years ago

With innate, version 2012.12:

  [mk@nb source]$ ramaze create rn
  /usr/lib/ruby/gems/1.9.1/gems/ramaze-2012.04.14/lib/ramaze/middleware_compiler.rb:7:in `<module:Ramaze>': uninitialized constant Innate::MiddlewareCompiler (NameError)
    from /usr/lib/ruby/gems/1.9.1/gems/ramaze-2012.04.14/lib/ramaze/middleware_compiler.rb:1:in `<top (required)>'
    from /usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/ruby/gems/1.9.1/gems/ramaze-2012.04.14/lib/ramaze.rb:40:in `<module:Ramaze>'
    from /usr/lib/ruby/gems/1.9.1/gems/ramaze-2012.04.14/lib/ramaze.rb:12:in `<top (required)>'
    from /usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/ruby/gems/1.9.1/gems/ramaze-2012.04.14/bin/ramaze:4:in `<top (required)>'
    from /usr/bin/ramaze:23:in `load'
    from /usr/bin/ramaze:23:in `<main>'

With 2012.03 works well. Version dependency is probably invalid in ramaze gem.

yorickpeterse commented 11 years ago

This is expected behaviour as this class has been removed. You'll want to explicitly specify your Ramaze/Innate versions in your Gemfile/Gemspec to prevent issues like these. Once a stable release has been pushed I'll publish a document describing how to upgrade to this new release.