January 26, 2017

Rails and my micromount database

Happy day! I have abandoned rails and all of its stupidity and misery. What a mess! Lif is good now without having to jack my application up and rework it every time a system update came along.

I hate ruby on rails.

This used to be my cheatsheet about what needed to be done to get rails installed after doing a major Fedora upgrade:

cd /u1/rails/micromounts
rails server
This should just work and start a Webrick based server on localhost:3000. But rails is not installed by default on a fresh Fedora system, so you will probably just get "rails: command not found". Do this:
su
dnf install rubygem-rails
dnf install ruby-devel
dnf install sqlite-devel
dnf install nodejs
exit
cd /u1/rails/micromounts
bundle install

rails server
The above worked just fine on Fedora 24. Happily the gemfile keeps track of the version numbers of various Gems that my rails project was developed with and installs those now old versions as needed.
Feedback? Questions? Drop me a line!

Tom's Mineralogy Info / [email protected]