Page 1 of 1
[20:53:05] Haris: I have to remove bundle installed rubies/gems for redmine 4.x to then be able to install rubies/gems for redmine 3.4.7
[20:57:42] Haris: https://www.phusionpassenger.com/library/install/apache/install/oss/rubygems_rvm/#i-have-multiple-ruby-versions-or-gemsets.-does-it-matter-which-one-i-use-to-install-passenger-with?
[04:45:56] Haris: I'm trying to configure a ruby based project i.e., redmine. I'm getting an error that doesn't make sense
[02:49:50] Haris: ruby is installing gems on centos 7. Its expecting pgsql's include files somewhere under /usr/include. pgsql put them in /usr/pgsql-9.4/include. How do I reconcile this ? I tried softlinking a single file. but then it wants to search for more files
[02:54:22] Haris: can I just mention the includes with a switch/param rather than the whole config ?
[07:36:47] Haris: I'm trying to install crowdtilt. in its doc ( https://github.com/Crowdtilt/CrowdtiltOpen/wiki/Setup-Instructions ), its showing a command for bundle install. when I run this command on shell/cli, I get error about it being unknown. Am I doing something wrong ?
[07:37:28] Haris: I'v installed 1.9.3 as per requirement of this app. this version is set to default. do I need to activate it or something for this command to work ?
[07:40:45] Haris: ok, so rake is not working. that means ruby install didn't go ok ? and I need to install the bundler pkg/gem first ?
[07:50:39] Haris: on mac, I have its mapped to a username's home folder ----> /Users/username/.rvm/rubies/ruby-1.9.3-p551/bin/ruby
[08:02:28] Haris: YAML safe loading is not available. Please upgrade psych to a version that supports safe loading (>= 2.0).
[08:38:31] Haris: I needed to add translations to it, for the language I was enabling. couldn't understand how to, on first look
[08:44:43] Haris: Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.
[08:48:02] Haris: ok. one thing. where are gem files installed ? I installed them as root. I could install them as a normal user
[08:50:33] Haris: for e.g., I have 3 or 5 separate ruby based apps I need to serve through say apache or gunicorn or etc etc
[08:51:12] Haris: for that matter, I wonder if its the web server or the app that needs to be able to know where gems are installed
[08:54:18] Haris: git project has changed. app is the same. this one uses relatively older version of ruby
[09:00:00] Haris: yesterday, the app I was handed was from something like this ( https://marcclifton.wordpress.com/2013/07/26/getting-catarse-to-build-and-run/ ). taht didn't work, because it needed too many modifications after deployment to make it live. today I'v been handed this ( https://github.com/danielweinmann/catarse ) as a perhaps working copy of the same
[09:00:26] Haris: that's because economics doesn't work there, as it does here :( .. and people accept that there
[09:01:16] Haris: money from our economy is legally, and illegally flowing there. I either have the option to move there, or work in the existing economics, ways of people .. here. and immigration takes a heck lot of time and doing to get through these days. lol
[09:03:38] Haris: ouch, no. I got error on running bundle install i.e., the error about being root and the version difference for ruby
[09:07:57] Haris: lost msgs after --> <Haris>yep, making passwod for normal user, to work on its own shell <-- got dc
[09:15:13] Haris: have to call ISP. can't connect to German mirror of ruby 2.1.0. no other mirrors seem to be available, as per rvm
[15:08:05] Haris: I'm getting the error msg --> /usr/local/rvm/gems/ruby-2.2.3/gems/i18n-0.7.0/lib/i18n.rb:284:in `enforce_available_locales!': :en is not a valid locale (I18n::InvalidLocale) <-- how do I enable english language ? do I have to download a dep for language ?
[15:10:30] Haris: I have this line --> I18n.available_locales = [:pt] <-- and then this line --> I18n.default_locale = :pt <-- in my code. How do I add en to the first line ?
[15:14:08] Haris: I18n is a library, most probably. I have a ruby based app "catarse". its config has enforce_available_locales set somewhere. which is raising error because, english is not present in list of available locales
[15:22:03] Haris: it has suport for pt. I have .rb files for en and other languages. its just doesn't have en listed in that variable mentioned above
[09:48:06] Haris: as this ( https://www.digitalocean.com/community/tutorials/how-to-setup-a-rails-4-app-with-apache-and-passenger-on-centos-6 ) page says ?