Getting Started with Ruby Hosting
Deploy your Ruby applications on ShardCloud with minimal configuration and maximum performance.ShardCloud supports Ruby applications with automatic dependency management via Bundler.
Prerequisites
Before uploading your Ruby application, ensure you have the following project structure ready.Required Files
Essential files for deployment
Excluded Files
Files to exclude before upload
Required Files
Your Ruby application must include these essential files:1. Entry Point File
- File:
app.rbormain.rb - Purpose: Main application entry point
- Requirements: Must contain your application’s main execution code
2. Dependencies Configuration
- File:
Gemfile - Purpose: Defines Ruby gem dependencies
- Requirements: Valid Bundler format with all dependencies listed
3. ShardCloud Configuration
- File:
.shardcloud - Purpose: Platform-specific deployment settings
- Requirements: Plain text configuration file in root directory
Files to Exclude
Remove these files/folders before creating your deployment archive:vendor/bundle/.bundle/Gemfile.lock(optional, can include for version locking)tmp/log/
ShardCloud Configuration
The .shardcloud file configures your application deployment settings.Configuration Example
Choose memory based on your application’s requirements. Web frameworks may need more memory.
Deployment Process
Upload via Dashboard
Use ShardCloud dashboard to upload your archive
