Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about gemfile

Read more about gemfile

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - gemfile

In Rails 6, where do I place moneky patch code so that it gets run before the Gem code?

I’m using Ruby 3.0.2 and Rails 6.1.4.4. I have installed a gem, octoshark v 0.3.0, that doesn’t play well with Ruby 3. The gem file is ~/.rvm/gems/ruby-3.0.2@cfs-web/gems/octoshark-0.3.0/lib/octosha...
test-img

Dave

ruby-on-rails

rubygems

ruby-on-rails-6

monkeypatching

gemfile

Votes: 0

Answers: 2

Latest Answer

A simple way is to make a monkeypatch folder inside your initializers: $ mkdir config/initializers/monkeypatch Then you can separate by file: $ touch config/initializers/monkeypatch/string.rb $ touch...
test-img

Blair Anderson

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved