...you want Sidekiq to be able to talk to Redis on staging and production servers, you need to add the following to your configuration: # config/initializers/sidekiq.rb require 'sidekiq' Sidekiq.configure_client do...
config.redis = { url: REDIS_URL } end Sidekiq.configure_server do |config| config.redis = { url: REDIS_URL } end The following step may be skipped for new Sidekiq 6+, since it isn't recommended...
...path is /etc/ImageMagick/policy.xml Remove/Comment lines after If you need it enabled for an app server, ask your operations team to do that for you...
...form partial as layout and passing in a block. Your template or partial then serves as the surrounding layout of the block that you pass in. You can then yield...
...aws-credential-file ./aws-credential.txt The output should look something like this: arn:aws:iam::322191361670:server-certificate/www.example.com arn:aws:iam::322191361670:server-certificate/testCert Now you have to upload...
...and includes the server certificate Amazon Resource Name (ARN) and GUID: arn:aws:iam::322191361670:server-certificate/www.example.com-2011 ASCACexampleKEZUQ4K If you got the error message similar to A client error...
...solche manuellen Tätigkeiten möglichst vermeiden. Wie du in den Ansible Kapiteln beim konfigurieren von Servern schon gelernt hast, hat es seine Vorteile, seine Konfigurationen als Code in einem Git Repo...
bundle outdated compares the versions of all gem dependencies against the gem server Get Info About Your Ruby Gems Environment gem environment Mocking Requests With Partial URIs Using...
...nokogiri versions with gem uninstall nokogiri and install nokogiri again. Fixing the issue on servers However, on our servers this probably will not work. On the server, gems are stored...
...What you want to do instead is bundle pristine nokogiri and restart the application servers (e.g. b cap passenger:restart) This should install the right nokogiri version and make the...
...Cli is working: $ aws iam list-server-certificates { "ServerCertificateMetadataList": [ { "Path": "/", "Arn": "arn:aws:iam::5xxxxxxxxxxx:server-certificate/www.example.com-201307-201407", "ServerCertificateId": "AXXXXXXXXXXXXXXXXXXXX", "ServerCertificateName": "www.example.com-201210-201310", "UploadDate": "2012-10-10T11...
} ] } Upload your certificate: $ aws iam upload-server-certificate --server-certificate-name www.example.com-2013010-2014010 --certificate-body file://www.example.com.crt --private-key file://www.example.com.key --certificate-chain file://www.example.com.ca-bundle { "ServerCertificateMetadata": {
In Selenium features the server and client are running in separate processes. Therefore, when mocking time with a tool like Timecop, the browser controlled by Selenium will still see the...
...code from your repository. In order to do so, Capistrano connects to your repository server from the application server you're deploying to with SSH. For this connection you can...
...s ~/.ssh/id_rsa [default] the very same key you used for connecting to the application server - forwarded automatically to the git repository. If you prefer the second way, add this to...
...our Active Record models to JSON. JSON Schema to test the responses of our server. SwaggerUI to document the API. It worked The concept worked really good. Here are two...
...know to handle. Tests We used JSON Schema to test the responses of our server. This was really nice and we implemented it in a similar way like here.
...this 3rd party website! Now download the older version directly from Google's Download Servers: $ VERSION_STRING="85.0.4183.121-1" # Replace this value with the one you copied earlier
...VERSION_STRING}_amd64.deb" It's possible that Google remove older versions from their download servers and not all listed versions are still present for downloading. Keep in mind that the...
...but allows SSH, you can tunnel your e-mail connection through a trusted, intermediary server: sudo ssh -i /home/local-user/.ssh/local-user.key -L 143:mail-server.tld:143 remote-user@trusted-server.tld Explanation for the command above: | sudo | Secure...
| ssh -i /home/local-user/.ssh/local-user.key | Private half of your SSH key for the trusted server | | -L 143:mail-server.tld:143 | Forward connections to port 143 on your mail server mail-server.told to port...
...integration test docker container and connect with it apt update apt-get install openssh-server -y apt-get install vim vim /etc/ssh/sshd_config # Edit `PermitRootLogin yes` and `GatewayPorts yes`
...a database console, run SET GLOBAL query_cache_type=OFF; and restart your rails server. You can also disable the cache on a per query basis by saying
...const smp = new SpeedMeasurePlugin() const config = environment.toWebpackConfig() module.exports = smp.wrap(config) Restart your webpack dev server, or explicitly compile your assets. Check your terminal for extra output like this:
...the dev server, make changes and inspect the recompile response. SMP metrics will be included upon every compile, so you can see which modules or files your recompile hit.
...gems and whether an update is available All config variables and their values Capistrano server config $ bundle exec cap staging doctor
Here we cover one specific issue: Once you have started your development Rails server and esbuild with the --watch option (if you used jsbundling-rails to set up, you...
...no longer match. If you see an error like this when deploying to a server, you can remove your old (e.g. RSA based) fingerprints from ~/.ssh/known_hosts: Exception while executing as...
...Firewall Regel, dass der andere Container diesen Port erreichen kann. Installiere SSH auf beiden Servern. Erstelle eine Firewall Regel, dass dein Host System den Port erreichen kann. Besprich zusammen mit...
...and Bundler 1.17.3 with https://rubygems.org/ anymore. This is a result of a server certificate on December 5th, 2020. The resulting errors will look like following: TypeError: can't modify...
...certificate for https://index.rubygems.org/versions. Error fetching data: hostname was not match with the server certificate (https://rubygems.org/*) Fix 1: Use docker and gemstash (recommended for makandra employees)
java.runtime.name=OpenJDK Runtime Environment file.encoding=UTF-8 java.vm.name=OpenJDK 64-Bit Server VM java.vendor.version=Temurin-17.0.6+10 java.vendor.url.bug=https\://github.com/adoptium/adoptium-support/issues java.io.tmpdir=/tmp catalina.home=/tmp/tomcat.8080.11647654595355715119 java.version=17.0.6 user.dir=/
...with HTTP headers: jQuery will not set the X-Requested-With header. On your server, requests will not look like AJAX requests (request.xhr? will be false). jquery-ujs will not...
...type, inputmode and autocomplete – including a live preview for iOS and Android! It also serves as a nice reference for available values...