Browse Source

fix(ruby-onboarding): Move text below snippet (#76808)

closes https://github.com/getsentry/sentry/issues/76805
ArthurKnaus 6 months ago
parent
commit
1d362c719b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      static/app/gettingStartedDocs/ruby/rails.tsx

+ 3 - 3
static/app/gettingStartedDocs/ruby/rails.tsx

@@ -75,7 +75,9 @@ const onboarding: OnboardingConfig = {
       ),
       configurations: [
         {
-          description: params.isProfilingSelected
+          language: 'ruby',
+          code: getInstallSnippet(params),
+          additionalInfo: params.isProfilingSelected
             ? tct(
                 'Ruby Profiling beta is available since SDK version 5.9.0. We use the [stackprofLink:stackprof gem] to collect profiles for Ruby. Make sure [stackprofCode:stackprof] is loaded before [sentryRubyCode:sentry-ruby].',
                 {
@@ -87,8 +89,6 @@ const onboarding: OnboardingConfig = {
                 }
               )
             : undefined,
-          language: 'ruby',
-          code: getInstallSnippet(params),
         },
         {
           description: t('After adding the gems, run the following to install the SDK:'),