Tinkering with jordanholliday / Scheme
Taking a look at Ruby Asana clone Scheme. Many thanks to jordanholliday for creating it!
There isn’t a lot of documentation for how to install it. I provide my rough notes in hopes that they’ll help someone else.
Basic Background
Ruby has a few prerequisites. On Suse, I installed them with:
zypper install ruby2.5-rubygem-bundler ruby-devel postgresql-devel
The bundler-gem installs all the software you’ll need to support Scheme:
bundle install
To run the project, start the server with:
rails server
It will tell you what URL to put in your browser.
Challenges
I got an error on the pg gem. This refers to postresql. I listed it in the dependencies above, but the specific package that solved the problem was postgresql-devel.
Next was a warning about deprecated types in activesupport:
/usr/lib64/ruby/gems/2.5.0/gems/activesupport-4.2.5.1/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
/usr/lib64/ruby/gems/2.5.0/gems/activesupport-4.2.5.1/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
This required a newer version of rails. Update Gemfile to ask for a the new version
gem 'rails', '4.2.8'
Tell Bundler to grab the new version
bundle update rails
Configuration
See config/database.yml