Rails 7.0alpha2 Test-drive

Installing & creating a new Rails Alpha Code base

I thought it would be fun to test the new alpha version of rails - but I always forget how to do this without upgrading an existing projects.

Discover the Rails Pre-release versions

gem list rails --remote --prerelease -e

–remote - checks the rubygems site - not the locally installed versions –prerelease - find pre-release versions -e - use an exact match (many packages have rails in the name).

Install the Rails Alpha Gems

gem install rails --version 7.0.0.alpha2

this installs a usable local version of rails

Initailize a new Rails project with a specific version

rails _7.0.0.alpha2_ new magic_links

Now continue as normal!

Bill Tihen
Bill Tihen
Developer, Data Enthusiast, Educator and Nature’s Friend

very curious – known to explore knownledge and nature