Your journey
Try Ruby Native 1 of 4 ›
No account required
Get your Rails app running natively
Skip this stepUse the demo app you just installed to check out your own product.
Not the one who touches code? Send these steps to my developer.
Add Ruby Native to your app
Add Ruby Native to your Gemfile and run the install generator. It creates config/ruby_native.yml with a starter tab bar and colors, and allows the preview tunnel host in development.
$ bundle add ruby_native
$ bin/rails generate ruby_native:install
Start the preview tunnel
With your Rails server running on port 3000, install cloudflared and start the preview. It opens a public tunnel and prints a QR code.
$ brew install cloudflare/cloudflare/cloudflared
$ bundle exec ruby_native preview
Preview your app
Long-press the Ruby Native app icon on your phone, tap Switch website, and scan the QR code from your terminal. Your Rails app is now running on your phone.
$ bundle exec ruby_native preview
Tunnel connected. Scan this QR code:
https://your-tunnel.trycloudflare.com
Heads up: It probably looks a little rough right now, like your website inside a native shell. That's expected. The next step adds the polish.