Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4680

config.ru path issue when upgrading from Ruby 2.7 to 3.2

$
0
0

I have an issue starting an old Rails app.When config.ru is called, the

require_relative 'config/environment'

statement is called in the context of 1 directory level up from my application directory, so it cannot find the environment file. I cannot figure out why. It worked fine with 2.7 Ruby.

Has anyone encountered this?


Viewing all articles
Browse latest Browse all 4680

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>