mkdir -p ~/Sites/myapp
cd ~/Sites/myapp
echo 3.3.5 > .ruby-version
rbenv install 3.3.2
bundler init
echo "source 'https://rubygems.org'" > Gemfile
echo "ruby '3.3.5'" >> Gemfile
echo "gem 'rails', '~> 7.2', '>= 7.2.1'" >> Gemfile
bundle install
bundle exec rails new . --force
Last active
September 12, 2024 04:29
-
-
Save darrenterhune/872821f465a97776791edf6b232525c3 to your computer and use it in GitHub Desktop.
Installing rails without the initial gem install rails
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment