To create a virtual environment running Python version 3 using VirtualEnv run the following command: virtualenv env_name -p python3 We use the -p option to specify the version of Python we want to use. Without this, it will default to Python version 2 which comes installed by default on macOS. After activating the virtual environment with source bin/activate , run…
Category: Code
First Rails Project
Hello, I just started working on my first Rails project. Well, it’s not really my own project as I am using some kind of a manual. A book called Rails Solutions: Ruby on Rails Made Easy, written by Justin Williams. The book teaches you rails while building a Craigslist clone.The book is supposed to be for beginners of rails but…