Create Rails Application in Current Directory

Yes, I know the common way to create a Rails application is

rails new 

and this will create a subfolder with your new Rails application called .

This post is because I keep forgetting how to create a new Rails application if I’m already in the subfolder.

If your folder name is the same name you plan to use for your application you can use the command below:

rails new .

Notice the period at the end telling it to use the current directory instead of creating a subdirectory.

If you want to supply a specific application name, you’ll have to do the following:

rails new  /path/to/folder/you/want/to/use

Example:

rails new fileuploader /var/www/apps/files

Jason Meridth

jmeridth

My name is Jason Meridth. I am a continuously learning senior software developer/devops/team lead/development manager trying to not let best be the enemy of better. I reserve the right to change my mind upon obtaining more information. I am also the owner and principal software consultant at Meridth, LLC. If you have any software, hardward, networking, process, etc needs please don't hesitate to reach out to me.

Raspberry Pi Kubernetes Cluster - Part 2

Howdy again.Alright, my 8 port switch showed up so I was able to connect my raspberry 3B+ boards to my home network. I plugged it in wit...… Continue reading

Raspberry Pi Kubernetes Cluster - Part 1

Published on April 07, 2018

SSH - Too Many Authentication Failures

Published on March 28, 2018