Questions tagged [rubygems]
RubyGems is a package management tool for the Ruby programming language. It allows users to download and update Ruby libraries, and provides automatic dependency resolution.
rubygems
17,027
questions
1
vote
1
answer
92
views
How to set view context in Rails?
I’m building a gem that intercepts Rails’ default render behavior. Instead of rendering a view, it looks for a helper method that corresponds to the current controller’s action name; it then uses the ...
0
votes
0
answers
15
views
therubyracer and libv8 error on Ubuntu and Macos
Here is the project and github-action: https://github.com/senolatac/cuttlefish-email-sender/actions
And examined and tried to fixed with previous suggestions: Cannot install therubyracer on Ubuntu 20....
0
votes
1
answer
86
views
Rails 7 error during application start - Zeitwerk-related errors
I'm upgrading my rails app from 6.1 to 7.0 and i'm running into this runtime error:
I do use the Authlogic gem, but the odd thing is i have no config/initializers file for Authlogic, and i can't find ...
0
votes
1
answer
32
views
xapian-full-1.2.3 not able to install succesffully
Application not starting after ubutu patch upgrade.
/home/azureuser/app2/current
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent ...
0
votes
1
answer
32
views
Installing Jekyll on my M3 Macbook won't "stick"
I think I have painted myself into a corner trying to override the default Ruby install so that I can install Jekyll.
Here is a rough timeline:
I follow this tutorial to the letter and it works, my ...
0
votes
1
answer
51
views
Ruby on Rails: how to efficiently save nested attributes (recursively)?
I'm using Rails 6.1.3.2 and trying to make saving of nested attributes more efficient. The database used is MySQL.
Code basis
BoardSet.rb
class BoardSet < ApplicationRecord
has_many :boards, ...
0
votes
1
answer
63
views
How do I make sure that I only load flights on search and not initial page load
Rails baby here! trying to work it out with Rails 7. I have a small toy app here that tries to search for flights then have users book a flight. I have managed to string together the app to a point of ...
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 (...
1
vote
1
answer
32
views
How to save emails sent with Noticed gem
I need to save all sent emails to database. The usual way I would do it would be to add a custom delivery job to ApplicationMailer and handle it in that job (I got the idea from https://engineering....
0
votes
0
answers
20
views
Can't activate jar-dependencies-0.3.10, already activated jar-dependencies-0.4.1
I'm getting this error.
can't activate jar-dependencies-0.3.10, already activated jar-dependencies-0.4.1
Please help me
My project has gem 'jar-dependencies', '0.4.1' but in my system it was ...
0
votes
1
answer
45
views
Both controller level and Model level metadata simultaneously in the same column of record. how to store in PaperTrail: versions table
I'm encountering an issue with PaperTrail in my Rails application where I'm trying to store both controller-level and model-level metadata in the versions table, but only the controller-level metadata ...
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
0
answers
46
views
facing issue after updating rails from 4.2.10 to 6.1.7.3
Below is my stacktrace, and I was facing this issue after rails upgrade.
and this issue was happening after deploying my code.
I updated the params structure aswell by using params.permit! but still ...
0
votes
0
answers
43
views
Problem with fetching private GEM on Github Actions
I'm having a small issue with GitHub Actions and I hope you can help me out in some way. Currently, the project needs to use a private GEM from our own organization, and due to external reasons, we've ...
0
votes
1
answer
193
views
Getting Error While Installing wdm (0.1.1) With RubyGems On Windows 11
I was trying to install wdm ~> 0.1.1 with gem 3.5.11 on Windows 11 and getting this error:
Using rubygems directory: C:/Users/willi/.local/share/gem/ruby/3.3.0
Temporarily enhancing PATH for MSYS/...