Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
railsコマンドを実行できるrubyスクリプトを作成することは可能ですか?
好き:
rails_start.rb:
Class RailsStart #Start rails server rails server end
あなたはいつでも砲撃することができます。
system('rails server')
また
`rails server` # backticks
最も簡単な方法は、コマンドの周りにバッククォートを配置することです。
`rails server`
しかし、あなたは何をしようとしていますか?