All Questions
Tagged with deployment ruby
563
questions
0
votes
1
answer
91
views
Run kamal setup: Exception while executing on host 192.168.0.1: Net::SSH::ConnectionTimeout
I'm newbie in kamal.
It's really a great tool for deployment. Thanks to @dhh .
But I have some difficulties deploying despite having read the documentation.
After configuring the deploy.yml file like ...
0
votes
1
answer
85
views
How do I debug the appengine gem?
I'm deploying a ruby on rails website to Google Cloud's app engine. I've configured the CloudSQL database (more or less) and simply want to migrate the database. Google recommends I run the following ...
0
votes
1
answer
83
views
Duplicate GET requests - Rails & Heroku
I'm trying a solution to resolve a duplication of requests happening in my Ruby on Rails 6 project deployed to Heroku.
This seems to occur when those anchors with hyperlinks are used, so it loads 2x.
...
0
votes
0
answers
45
views
Elastic Beanstalk Deployment Not Reflecting Gemfile Update Without Manual Instance Termination
I'm facing an issue with Elastic Beanstalk where an initial deployment failed due to a Ruby gem issue. I resolved the issue by updating the Gemfile, but subsequent attempts to deploy the new version ...
0
votes
0
answers
267
views
Getting a 404 error when deploying Ruby on Rails app to Vercel from GitHub
I'm trying to deploy my Rails application on Vercel directly from the respective GitHub repository but, as you can see from the picture, it throws a 404 error. Vercel screenshot
This is my first time ...
1
vote
1
answer
436
views
How can I make environment variables available during Docker build for a Rails 7 app with MRSK?
I'm trying to build and deploy a rails 7 app with MRSK. The docker build process needs different environment variables for bundling gems, installing yarn packages, etc.
My deploy.yml contains ...
1
vote
0
answers
215
views
Deploying Ruby on Rails application to Railway: Crashed error with PostgreSQL configuration
I'm using Rails 7.0.4 and Ruby 3.0.2.
The first time I tried to deploy, I understood that I needed to start by using Redis and PostgreSQL. In one of the videos on Youtube, I learned that I should ...
0
votes
1
answer
219
views
How to setup the Clean Blog Jekyll theme by StartBootstrap on GitHub Pages
I’m having trouble getting Jekyll to work properly on GitHub Pages. When I try to deploy my repository, all I see on the page is --- layout: home --- on a white background, and it appears to be ...
0
votes
3
answers
93
views
How to handle 'ActiveModel::UnknownAttributeError' during blue-green deployment with a new database column?
Context:
We are using blue-green deployment, which means that during release, containers with old and new code coexist temporarily for a period between 1 to 10 minutes, not in seconds.
Issue:
During ...
0
votes
2
answers
57
views
How can I use capistrano to auto-deploy to a secondary environment?
I already have a multi-environment capistrato deploy up and working. However, what I would like to do is set it up so that after a deploy to production, capistrano would automatically deploy the same ...
1
vote
0
answers
62
views
CSS styles do not apply correctly on deployed Sinatra app on fly.io
I have a Sinatra app that is minimally styled using Bootstrap and CSS.
Here is a snippet of the head section with the two CSS links
<head>
<meta charset="utf-8">
<meta ...
0
votes
1
answer
169
views
Deploy Sinatra project
I have just started learning ruby. So now I have setup a basic Sinatra project, just wondering where I can deploy it for free without credit card details? As Heroku has no free tier anymore. Also, I ...
0
votes
1
answer
105
views
Why does GitLab deployment to Heroku fail, after Ruby version upgrade to 3.1.2?
I'm trying to deploy an existing Rails app to Heroku, having the Ruby version upgraded from 2.7.1 to 3.1.2. Also updated bundler to 2.3.25 which seems to be supported by Heroku.
Everyting runs ...
0
votes
0
answers
548
views
Why are images not working after migrating Rails 7 app from Heroku to Railway? (S3 images not showing, new image upload crashes app)
I have a Rails 7 app with Postgresql database and AWS S3 image storage. It's currently deployed on Heroku and I want to migrate to Railway (https://railway.app/).
I have successfully deployed the app ...
0
votes
1
answer
371
views
Bundler cannot find `whenever` gem, when deploying using capistrano
I am trying to deploy my app in a staging environment using Capistrano.
Running cap staging deploy results in error saying:
bundler: failed to load command: whenever (/home/ubuntu/builder/shared/...