Skip to main content
The 2024 Developer Survey results are live! See the results

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.

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 ...
Dennis Hackethal's user avatar
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....
Sha's user avatar
  • 1,079
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 ...
weetch's user avatar
  • 121
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 ...
user3715261's user avatar
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 ...
cmp's user avatar
  • 1
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, ...
klues's user avatar
  • 927
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 ...
Taku Mapfumo's user avatar
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 (...
Fabien Goussen's user avatar
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....
fpiskur's user avatar
  • 65
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 ...
ankit susne's user avatar
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 ...
Mohan Mali's user avatar
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),...
Slaknation's user avatar
  • 1,888
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 ...
sahil kumar's user avatar
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 ...
Thiago David's user avatar
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/...
Idad Wind's user avatar

15 30 50 per page
1
2 3 4 5
1136