All Questions
3,811
questions
0
votes
0
answers
43
views
Heroku : ruby app, issue when i tried to push it
i create an app on ruby on rails with heroku
this app already exist online
now I try to push a new version of this one on heroku, but i have an issue.
i already update my ruby and rails version (...
0
votes
1
answer
168
views
Rails Heroku deployment fails: Could not find gems, Failed to install gems via Bundler
So I have a Rails application that I am trying to push to Heroku. When I run git push heroku master, I get:
$ git push heroku master
Enumerating objects: 1369, done.
Counting objects: 100% (1369/1369),...
0
votes
2
answers
66
views
Can I start a sidekiq job from a Heroku procfile?
If I have a worker called MigrationWorker can I run that from a procFile that would run when pushing code to Heroku?
This is my current procFile that starts everything, but I wonder if I can either ...
0
votes
1
answer
60
views
GraphQL not working when deployed on Heroku but working correctly on local (Shopify ruby gem)
I use a ruby app with the shopify gem (version 9.0.2)
Everything worked well, until recently, when suddenly it can't parse my GraphQL call on Heroku
But when I am doing the same process locally, it ...
0
votes
1
answer
84
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
35
views
Heroku Platform API - Domain Create Error
I'm trying to create custom domains in Heroku through a controller action in my rails app. For now I just have a method in a controller to create the domains. I've been messing around with it for a ...
0
votes
2
answers
129
views
The Ruby version you are trying to install does not exist: ruby-2.6.1
In heroku I got this error The Ruby version you are trying to install does not exist: ruby-2.6.1
but locally when I put ruby -v I got this
ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-darwin20]
...
0
votes
1
answer
35
views
fast answer from post request in rails + heroku
I'm creating my application using ruby on rails and deploy with heroku
in addition to the main page and several more, I have endpoints that are used by third-party applications to receive/record ...
0
votes
0
answers
51
views
/usr/bin/env: 'ruby': No such file or directory when deploy ruby on rails app on heroku
I am trying to deploy my app on heroku. Build succeeded, but when I run
heroku run rake db:migrate
I get
/usr/bin/env: 'ruby': No such file or directory
How to fix that?
All the other stuff work ...
0
votes
0
answers
65
views
Ruby 3.2.3 shows large increase in Heroku Free Memory Slots Metric
Previous Ruby Version ‘3.1.4’
Updated Ruby Version ‘3.2.3’
After Upgrading Ruby to 3.2.3, it is showing a larger variation in the Heroku Free Memory Slots Metric. There is no change in the memory ...
0
votes
1
answer
58
views
ImageKit works fine on local but doesn't work on heroku why?
puts "Uploading image #{@game_id}"
kit = IMGKit.new(@game_url, quality: 50)
image_data = kit.to_png
obj = S3.object(File.join(@bucket_path, "#{@game_id}.png"))
obj.put(body: ...
-1
votes
1
answer
97
views
"Unable to find libclang" on Heroku when installing tiktoken_ruby
I'm trying to deploy an app with ruby 3.3.0 and the tiktoken_ruby gem on heroku-22 and getting this error:
remote: -----> Building on the Heroku-22 stack
remote: -----> Using buildpack: heroku/...
1
vote
2
answers
99
views
Running into Heroku's slug size limit after Ruby and Rails update
I am working on updating my Ruby and Rails to the next minor release (3.3.0 from 3.2.2 and 7.1.2 from 7.0.8 of Ruby and Rails respectively), but am running into Heroics slug size limit. I am ...
3
votes
1
answer
187
views
Upgrading Rails app on Heroku from Ruby 3.2.2 to Ruby 3.3.0 causes large slug size increase resulting in slug size too large build error
The Rails app deployed to https://dashboard.heroku.com/apps/empora-rails-staging is currently configured via .ruby-version and Gemfile to use Ruby version 3.2.2. When configured as such, the resultant ...
0
votes
2
answers
165
views
Selenium with Headless Google Chrome on Heroku Dyno Always Times Out
This is similar, but not a duplicate of: How to run Selenium Webdriver correctly on Heroku with a Rails app
I've tried all of the answers that are in that question, but they don't work. My output is ...