Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails setup #2

Open
MichaelCurrin opened this issue Oct 12, 2020 · 0 comments
Open

Rails setup #2

MichaelCurrin opened this issue Oct 12, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@MichaelCurrin
Copy link
Owner

MichaelCurrin commented Oct 12, 2020

Setup a Rails project without installing Rails globally.

echo '# frozen_string_literal: true

source "https://rubygems.org"

gem "rails"
' > Gemfile
bundle config set --local path vendor/bundle
bundle install
bundle exec rails -v
# Rails 6.0.3.4
bundle exec rails new blog # maybe . rather?
# Initialized empty Git repository in /Users/mcurrin/repos/rails-quickstart/blog/.git/

From https://guides.rubyonrails.org/getting_started.html

@MichaelCurrin MichaelCurrin added the enhancement New feature or request label Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant