• Home
  • Jobs
  • coursesAndChallenges
  • Teachers
  • For business
  • Blog
  • ES/EN

0

36
Views
`bin/rails server` opening a text file instead of running a local server

Starting a rails tutorial: https://guides.rubyonrails.org/getting_started.html. Followed every step but when I get to running the command bin/rails server the text file below opens instead of running a server. How do I get this command to run the server instead?

    #!/usr/bin/env ruby.exe
    APP_PATH = File.expand_path("../config/application", __dir__)
    require_relative "../config/boot"
    require "rails/commands"
about 1 month ago ·

Santiago Trujillo

1 answers
Answer question

0

try rails server or rails s instead, which is a more idiomatic way to run the Rails server.

about 1 month ago · Santiago Trujillo Report
Answer question
Remote jobs
Loading

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post job Plans Our process Startups
Legal
Terms and conditions Privacy policy
© 2022 PeakU Inc. All Rights Reserved.