Skip to content

dwmorrison33/air-alien-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Project to learn Ruby

This project is my learning ruby by following a tutorial

The following steps will create the same environment on your local machine and you will be able to clone this project so that it will work on your Mac.

Install Command line tools on terminal

$ xcode-select --install

Install Homebrew

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install rbenv

$ brew update
$ brew install rbenv ruby-build
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
$ echo 'export PATH="$HOME/.rbenv/shims:$PATH"' >> ~/.bash_profile
$ source ~/.bash_profile

Install Ruby

$ rbenv install 2.2.1
$ rbenv global 2.2.1
$ ruby -v

Install Rails

$ gem install rails -v 4.2.0 --no-ri --no-rdoc
$ rbenv rehash

check your versions

$ ruby -v
# ruby 2.2.1

$ rails -v
# Rails 4.2.0

Also need to install bootstrap

$ bundle install

U can now runserver by typing the following in your projects root directory

rails s

Click Here to launch your local server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published