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

All Questions

Tagged with
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
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
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
1 answer
44 views

Installation of mysql2 0.5.6 ruby gem in Windows 10 fails

an attempt to install 'mysql2' gem in Windows 10 fails. I did some search on internet and tried multiple suggestions without success. As suggested in mysql2 gem documentation the MySQL Connector/C ...
Polar Bear's user avatar
  • 6,778
0 votes
1 answer
266 views

When I run Bundle Install in my github project I get an error: Installing wdm 0.1.1 with native extensions Gem::Ext::BuildError

I'm making a portfolio site in githubs-pages. This project requires to install a couple of packages. I'm using a Windows machines with Windows 10 installed. I'm following the instructions on the ...
état de choses's user avatar
2 votes
0 answers
156 views

cannot load such file -- ffi (LoadError) : but its not "ffi_c"

I have seen all kind of fix on the internet and stackover flow, those are c executable one with file error for "ffi_c" I'm getting error for ffi only. I'm getting this error previously too, ...
UUC110's user avatar
  • 27
0 votes
1 answer
44 views

Changing Rails gem source from Git to RubyGems

Background: I am attempting to modernise a legacy Rails app. I am not a full-time developer, nor am I the app's maintainer. All CI tests currently pass with 79% of coverage. In the Gemfile, rails is ...
Craig Watson's user avatar
-1 votes
1 answer
25 views

Pod install fails with ruby errors

I am trying to add a pod to a new project and it doesn't seem to be working. Here's what I get: https://pastebin.com/zi55jiUZ Sorry for the pastebin but it I cannot post if it's too much code (go ...
daydr3am3r's user avatar

15 30 50 per page
1
2 3 4 5
741