patchwork

an assorted collection of randomness and non-essential remarks
Have at least one original repos where PHP is the dominant language The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos Fork and commit to someone's open source project in need Have a project valued enough to be forked by someone else Have at least three original repos where Ruby is the dominant language Have at least one original repo where Ruby is the dominant language Have at least one original repo where some form of shell script is the dominant language
Endorse tarakanbg on Coderwall Powered by Obtvse

Rails Installer minor update

I made a few minor changes to my Rails Installer script, most notably the install flows via curl and wget are simplified and reduced to one-liners, easy to copy and paste, but not very good looking (alas, that's shell, not Ruby):

# via `curl`
curl -L https://github.com/tarakanbg/railsinstaller/raw/master/ruby.sh > ruby.sh; chmod +x ruby.sh; ./ruby.sh; rm ruby.sh


# via `wget`
wget --no-check-certificate https://github.com/tarakanbg/railsinstaller/raw/master/ruby.sh -O - > ruby.sh; chmod +x ruby.sh; ./ruby.sh; rm ruby.sh

Of course it would be much cleaner to just pipe the downloaded buffer through sh like this:

curl -L https://github.com/tarakanbg/railsinstaller/raw/master/ruby.sh | sh

Unfortunately in that case the script won't wait for user input, so I opted for the verbose option.

Additionally RailsInstaller is now tested and (expectedly) compatible with Linux Mint 13 (Maya). Yes, I joined the growing ranks of Unity refugees :).

Back to Blog