Skip to content
This repository has been archived by the owner on Jan 9, 2018. It is now read-only.

Scripts to help set up a rails _development_ environment on Ubuntu

Notifications You must be signed in to change notification settings

bracken/dev-rails-on-ubuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is meant to help set up a fresh Ubuntu ennvironment for rails _development_.
There are some other rails on ubuntu repos, but they are targeted more as server setups,
this is targeted at development.

Everytime I have to set up a new machine I can never remember exactly which packages
and gems to install. So I wrote this for myself, but I thought others might find it
useful as well.

If you find errors or have specific improvements just add an issue on github. You'll
notice that there are only command line flags for a couple things. That's because I
haven't invested much time into making this a great general script for everyone. I
plan on making the script a little more flexible.


The current usage is like this:
dev-rails-on-ubuntu [-rdoc-ri] [-no-mysql] [-h,--help]

-h,--help	Show this help
-rdoc-ri	By default gems are installed without documentation ("--no-rdoc --no-ri"), this option enables documentation
-no-mysql	This flag disables the MySql install


Step by step how to use these scripts:
-Click the "Download" link at the top of the github page and download a .tar
-Open a terminal and go to the directory of the downloaded .tar
-Extract the .tar.gz file, enter directory, and run shell script
tar -zxvf bracken-dev-rails-on-ubuntu-*HASH*.tar.gz
cd bracken-dev-rails-on-ubuntu-*HASH*
./dev-rails-on-ubuntu.sh
-Complete the prompts as they appear


The following Ubuntu packages are installed:
Base files:
	build-essential ruby ruby-dev ri rdoc openssl libssl-dev libopenssl-ruby irb
Git:
	git git-core git-completion gitk
MySql:
	mysql-server mysql-client libmysql-ruby libmysql-ruby1.8 libmysqlclient15-dev
Sqlite:
	sqlite3 libsqlite3-dev libsqlite3-ruby

These gems are installed:
rails
mysql
sqlite3-ruby
rspec 
rspec-rails
cucumber
capistrano
wirble

An .irbrc that adds irb auto-completion and syntax highlighting is added as well. (if one doesn't already exist)

About

Scripts to help set up a rails _development_ environment on Ubuntu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages