Skip to content
New issue

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

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

Already on GitHub? # to your account

Disable persistence layer (volt-mongo) on Volt #348

Open
renatodex opened this issue Jan 27, 2016 · 2 comments
Open

Disable persistence layer (volt-mongo) on Volt #348

renatodex opened this issue Jan 27, 2016 · 2 comments

Comments

@renatodex
Copy link

Short version:
Its possible to completely disable the persistence layer on Volt?
I tried to disable "gem 'volt-mongo', '~> 0.1.0'" from Gemfile, but i got the following error at the server launch:
"RuntimeError: mongo is not a supported database, you might be missing a volt-mongo gem"

TL;DR
I have a pre-stabilished web-app built in Ruby on Rails, and i studying its migration to Volt.
This application is a Monolith Frontend application, accessing my Backend through REST API.

There is no Database connection. Its only API based.
And i wanted to test an arquitecture migration to Volt and see if i could keep things running using only HttpControllers (i know, its bad, but its a temporary solution until we start refactoring the whole thing)

But for that, Volt is very annoying, because it seems to require a Mongod instance up and running in order to run "bundle exec volt server".

And heres my question: Its possible to completely disable the persistence layer on Volt?
I tried to disable "gem 'volt-mongo', '~> 0.1.0'" from Gemfile, but i got the following error at the server launch:
"RuntimeError: mongo is not a supported database, you might be missing a volt-mongo gem"

@renatodex
Copy link
Author

@balmoral already solved my question on Gitter.

However, im thinking about how relevant that feature is.
What do you think?

@silkPK
Copy link

silkPK commented May 26, 2023

Hi, I know it's an old question, but how did you fix it?

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

No branches or pull requests

2 participants