Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update HOW-TO.md #87

Open
wants to merge 1 commit into
base: archive
Choose a base branch
from
Open

Conversation

Lecanora
Copy link

When executing: docker-compose exec app bash
and then: rails c
this message appears: bash: rails: command not found but when executing: bin/rails c
(the error Error loading RC file '/usr/local/rvm/rubies/ruby-3.3.0/.irbrc': shows but apparently causes no problems)
this console appears: irb(main):001>
and it's possible to create users.

Including "bin/" to the line is a suggestion for those who encounter this problem that was a bit of a headache (for a newbie).
(I don't know if it's just a linux issue)
os: lmde 6

When executing: docker-compose exec app bash
and then: rails c 
this message appears: bash: rails: command not found
but when executing: bin/rails c
(the error Error loading RC file '/usr/local/rvm/rubies/ruby-3.3.0/.irbrc': shows but apparently causes no problems)
this console appears: irb(main):001>
and it's possible to create users.

 Including "bin/" is a suggestion for those who encounter this problem that was a bit of a headache (for a newbie).
os: lmde 6
@LocoDelAssembly
Copy link
Collaborator

LocoDelAssembly commented Mar 24, 2024 via email

@mjy
Copy link
Member

mjy commented Dec 3, 2024

@LocoDelAssembly Is this still an issue?

@LocoDelAssembly
Copy link
Collaborator

Correct invocation is bundle exec rails c for containers. The problem re-emerged, yes, although it doesn't affect normal operation of the console. Problem is not being fixed in rvm/rvm#5449 (issue opened by maintainer of Phusion docker images).

I could attempt re-applying my patch to our images (probably for the third time).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants