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

environment.Lamby.cmd #30

Open
hopewise opened this issue Jan 15, 2023 · 1 comment
Open

environment.Lamby.cmd #30

hopewise opened this issue Jan 15, 2023 · 1 comment

Comments

@hopewise
Copy link

hopewise commented Jan 15, 2023

Hello

Where can I find config/environment.Lamby.cmd file ?

@metaskills
Copy link
Member

The Lambda Runtime Interface Client (RIC) parses that config/environment.Lamby.cmd string into two key areas. They are:

  • config/environment - Which has an implicit .rb extension so it becomes config/environment.rb. The RIC will load this file. That file is standard in Rails for loading the application.
  • Lamby.cmd - Is the method the RIC invokes once it has loaded your application file. Since this is Rails and every constant is public. This is essentially a method in the Lamby project. See here. https://github.com/customink/lamby/blob/master/lib/lamby.rb#L23-L27

Does that help? Your question relates to this issue I created too.

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

No branches or pull requests

2 participants