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

Get "Liquid error: This liquid context does not allow includes." on all files in just generated module #93

Closed
spase84 opened this issue Feb 18, 2016 · 2 comments

Comments

@spase84
Copy link

spase84 commented Feb 18, 2016

Just trying Generamba and can't get well generated module

Steps i'm doing:

  1. Create "Single View Application" via Xcode (version 7.2)
  2. run "pod init" in project directory (cocoapods version is 0.39.0)
  3. Write to Podfile some dependencies ('Typhoon', 'OCMock', 'RamblerTyphoonUtils', 'ViperMcFlurry')
  4. Get Pods installed via "pod install"
  5. Follow this part https://github.com/rambler-ios/Generamba#using
  6. At this point i have Module generated, but each file in generated module starts with "Liquid error: This liquid context does not allow includes."

i have installed:

ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15]
gem liquid (3.0.6)
generamba version 0.7.3

my Rambafile is:

### Headers settings
company: some_company

### Xcode project settings
project_name: Testapp
xcodeproj_path: Testapp.xcodeproj
prefix: AP

### Code generation settings section
# The main project target name
project_target: Testapp

# The file path for new modules
project_file_path: Modules

# The Xcode group path to new modules
project_group_path: Modules

### Tests generation settings section
# The tests target name
test_target: Testapp

# The file path for new tests
test_file_path: Tests

# The Xcode group path to new tests
test_group_path: Tests

### Dependencies settings section
podfile_path: Podfile


### Templates
templates:
- {name: rviper_controller}
@Beniamiiin
Copy link
Contributor

Tomorrow we release new version and this problem will be fixed, now you can download Generamba from repository and in terminal go to Generamba directory and execute command:
sudo gem uninstall generamba && sudo gem build generamba.gemspec && sudo gem install generamba

@spase84
Copy link
Author

spase84 commented Feb 18, 2016

it fixed the problem. Thank you!

@spase84 spase84 closed this as completed Feb 18, 2016
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

2 participants