Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lbrezilien opened this issue Nov 17, 2015 · 4 comments

Comments

@lbrezilien
Copy link

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
Copy link

hgani commented Nov 27, 2015

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

Thanks

@lbrezilien
Copy link
Author

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
Copy link

baramik commented Mar 2, 2016

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

@hgani
Copy link

hgani commented Mar 3, 2016

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants