bmichotte / ProMotion-XLForm

ProMotion-XLForm is a ProMotion plugin for XLForm
MIT License
20 stars 21 forks source link

I installed it and copy/pasted the first example on the repo but I keep getting an uninitialized constant error #21

Open lbrezilien opened 9 years ago

lbrezilien commented 9 years ago

I installed the Promotion-XLForm gem and copied the example form into a screen and it no longer compiles, I keep getting an initialized constant (Name error).

The specific error is : xl_form_patch.rb:123:in `section_options:': uninitialized constant XLFormSectionDescriptor::XLFormSectionOptionNone (NameError)

i did a bundle and rake pod:install

hgani commented 9 years ago

I am getting the exact same issue. Anyone has any idea/suggestion?

Thanks

lbrezilien commented 9 years ago

Try: removing the gem from gem file run 'bundle' in command line run 'rake clean' add the gem back in gemfile run 'bundle' again finally run 'rake pod:install' It seemed to work for me, maybe it will help you too

baramik commented 8 years ago

Facing the same issue during when trying to open view containing form_data

hgani commented 8 years ago

@baramik Try using rake clean:all instead

I remember getting it to work by following the steps from: https://id.crowdvoice.com/posts/xlformsectiondescriptorxlformsectionoptionnone-nameerror-2GgK

Here are the steps: rake clean:all rake pod:install