View on GitHub

#{Carlos_Espejo}

Rubyist

Raspberry Pi, Arch Linux and Ruby

Home

15 Jan 2014

1 min read

Setup

After you follow the other guides and create the image boot up and resize the partition. Make sure to run pacman -Syu to uprade everything.

Install Sudo

 pacman -S sudo

#To give your regular user permission to use sudo, you need to edit the configuration file using visudo:
EDITOR=nano visudo

#Locate the section marked as:
##
## User privilege specification
##
#and uncomment the line below to say
 %wheel ALL=(ALL) ALL

#Save and exit.

Wifi

Nothing beats the Arch Linux Wiki its packed with useful information about how to configure everything. For wifi i used Netcfg

Ruby

see the docs

# To install ruby run
pacman -S ruby

# add this to your PATH variable
PATH="`ruby -e 'print Gem.user_dir'`/bin:$PATH"

# for bundle to work correctly
export GEM_HOME=$(ruby -e 'print Gem.user_dir')