You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not clear how to customize the gemstash server. Tried to use it with mysql2 adapter and it took time to read the sources and understand how to get them together.
I had to explictly use adapter config key in db_connection_options as it was processed by Sequel.connect() function.
Also Sequel with mysql2 rewrites user to username during handling the connection options.
bundle exec gemstash setup
not working with mysql2 as there is no way to configure connection string. Maybe I'm wrong and just don't know how to do it, but still it's pretty unclear and a working example will be a great help.
You have to add gem "mysql2" to your Gemfile, while there is no word in README that it's not a dependency.
Speaking about customization, it would be great to have an example of nginx/apache/varnish configuration as a reverse proxy/caching solution for handling requests. All of them can cache successful responses from gemstash server.
The text was updated successfully, but these errors were encountered:
It's not clear how to customize the gemstash server. Tried to use it with mysql2 adapter and it took time to read the sources and understand how to get them together.
~/.gemstash/config.yml
I had to explictly use
adapter
config key indb_connection_options
as it was processed bySequel.connect()
function.Also
Sequel
withmysql2
rewritesuser
tousername
during handling the connection options.bundle exec gemstash setup
not working with
mysql2
as there is no way to configure connection string. Maybe I'm wrong and just don't know how to do it, but still it's pretty unclear and a working example will be a great help.You have to add
gem "mysql2"
to your Gemfile, while there is no word in README that it's not a dependency.Speaking about customization, it would be great to have an example of nginx/apache/varnish configuration as a reverse proxy/caching solution for handling requests. All of them can cache successful responses from gemstash server.
The text was updated successfully, but these errors were encountered: