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 Ruby configuration.mdx #2110

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

Conversation

blairanderson
Copy link

My new app failed without this ENV VAR

🔎 Previews:

What does this solve?

  • New rails app wouldn't start without this variable

What changed?

  • added to the docs so less people get an error

Checklist

  • I have clicked on "Files changed" and performed a thorough self-review
  • I have added the "deploy-preview" label and added the preview link(s) to this PR description
  • All existing checks pass

My new app failed without this ENV VAR
@blairanderson blairanderson requested a review from a team as a code owner March 17, 2025 17:31
@@ -5,6 +5,7 @@ The following example shows how to set up your configuration object:
```ruby
Clerk.configure do |c|
c.secret_key = `{{secret}}` # if omitted: ENV["CLERK_SECRET_KEY"] - API calls will fail if unset
c.publishable_key = `{{pub_key}}` # if omitted: ENV["CLERK_SECRET_KEY"] - API calls will fail if unset
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
c.publishable_key = `{{pub_key}}` # if omitted: ENV["CLERK_SECRET_KEY"] - API calls will fail if unset
c.publishable_key = `{{pub_key}}` # if omitted: ENV["CLERK_PUBLISHABLE_KEY"] - API calls will fail if unset

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

Successfully merging this pull request may close these issues.

2 participants