dblandin / motion-form

RubyMotion forms made easy
MIT License
15 stars 2 forks source link

uninitialized constant MotionForm::Base::Motion #4

Open glaucocustodio opened 9 years ago

glaucocustodio commented 9 years ago

Hi, new comer in rubymotion here, I am with v0.5.4 and I just get the error uninitialized constant MotionForm::Base::Motion on iPhoneSimulator-8.1.

In Rakefile I have require 'motion_form'.

Full trace: https://gist.github.com/anonymous/8f81faf27564c51cdc50

Thank you.

dblandin commented 9 years ago

Thanks for filing an issue! I wonder if RubyMotion no longer exposes the Motion module...

I believe that this is the problem area:

# lib/motion_form.rb
unless defined?(Motion::Project::Config)
  raise 'This file must be required within a RubyMotion project Rakefile.'
end