Openshift - rhc setup - in 'require': cannot load such file - ruby

I am trying to install the Openshift client tools using the procedure available here.
At the step requiring to perform rhc set-up, I get the following error message:
I am on a Windows 10 64 bit laptop. Anyone knows how to solve this?

You are using ruby2.2.0. I had similar problems and I downgraded ruby to 1.9.3 as from the tutorial https://developers.openshift.com/en/getting-started-windows.html#client-tools and it worked at least on my windows 7 64 machine.

Somebody on SO even recently had a problem with Ruby 1.9.3. Try that or Ruby 2.0

Related

#Ubuntu Install .net core 5 framework

I installed .net6 but i need to have installed .net5
So, I removed .net6 and I installed .net5.
Now, when I run 'dotnet build' command I have the error:
A fatal error occurred. The folder [/usr/lib/dotnet/dotnet6-6.0.108/host/fxr] does not exist
Do you have some idea to help me, please.
Thanks
.NET 5 has reached its End of Life. If you are using it, you are on your own; don't expect any fixes for security issues that discovered every few weeks.
Anyway, sounds like you are using Ubuntu 22.04.
If so, you are out of luck. There's no simple way to install or run .NET 5 there. .NET 5 needs OpenSSL 1.0 or 1.1. Ubuntu 22.04 only has OpenSSL 3.0. Even if you install and manage to run .NET 5, it wont work and you will get OpenSSL errors.
Your best course of action is to install an older version of Ubuntu, such as 20.04.
Your specific error in this case is quite unrelated to above, though. Your error is because you seem to have installed some packages from Ubuntu's package repository and some packages from Microsoft's package repository. See https://github.com/dotnet/core/issues/7699#issuecomment-1222470580 for details. In particular you want to follow the steps in "Mixed state scenario 2: Use PMC packages after installing native Jammy packages". But that's not needed on Ubuntu 20.04 or similar OS that you need to make .NET 5 work at all.

Can win11 install Ros2?

I want to learn Ros2, I have tried to install ubuntu and win 10 but both failed to recognize my RTX 3050. I tried running a virtual machine and it didn't get any better. I don't know if I can install Ros2 on Win 11. Please help me
I just successfully installed ros 2 (galactic) on windows 11 (in so far as I am able to run the demo_nodes_cpp talker and listener).
I initially tried following instructions on the official page and ran into a number of unclear issues (command not found, python version issues etc.) that felt like it was going to be a waste of time, until I went through that alternative:
https://ms-iot.github.io/ROSOnWindows/GettingStarted/SetupRos2.html
It was surprisingly painless.

Rstudio not working on my Ubuntu 16 virtual machine

When I try to run Rstudio Desktop (1.4) on my virtual machine (Ubuntu 16.4), Rstudio crashes and gives the error:
ERROR:gl_surface_glx_gt.cpp(141) GLX 1.3 or later is required.
I tried to follow the instructions on this page: https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround, but can not get past the meson -D configuration in the Ubuntu terminal. At this point I get the error message: 'ERROR: Problem encountered: gallium-xlib conflicts with any dri driver'
I googled and tried everything that I could possibly find (similar questions as https://community.rstudio.com/t/x2go-and-rstudio/29704/2), but no success yet.
Obviously the upgrade to a higher GLX version is the cause, but I can not upgrade it.
Is anyone familiar with the error and what is actually causing it?
Any help would be greatly appreciated!
I am using R version 3.4.4

Trying to Run middleman on mac

Answering my own question for anyone else having this issue. (using the search terms i thought of because they didn't bring up the answers for me).
Trying to install and run middleman following the getting started guide on their website with Mac OS X 10.9.2. When trying to run bundle install getting errors about openSSL and event machine.
Gist of Errors.
Refrence to an answer that someone on IRC helped me find.
Aparently this is caused by a mismatch in expected versions with something called Clang which is part of the Xcode tools for mac. The update to Xcode tools causes this to fail. Using the command:
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future bundle install
seems to work to resolve this issue.

How to install couchDB on a media temple server?

The biggest issues im running into starting a project with CouchDB is the nightmare involved in getting it up and running.
Any tips for getting couchDB up on a media temple server or any server really?
I am not entirely sure what a media template server is but I think it is a pretty standard Linux server (centos?). The best option at the moment is to compile CouchDB from the latest source in SVN.
You will need to log onto your server using ssh then follow the instructions at:
http://wiki.apache.org/couchdb/Installing_on_RHEL5
I know this says it is for RHEL5 but will work exactly the same for a recent version of Centos. If you need instructions for a different os try:
http://wiki.apache.org/couchdb/Installation
The "Install" link above does not work anymore.
However - successfully installed CouchDB on MediaTemple and 1und1 following step1 here:
http://www.thegeekstuff.com/2012/06/install-couch-db/
When you are in a virtual host environment:
Make sure you provide the path to your vhost in /etc/couchdb/local.ini
It is described in the .ini file.
MediaTemple uses a modified version of CentOS. But don't try the official RHEL documentation to install - It is broken because the Spidermonkey libs wont work.
Try this. I just intalled Couch on MediaTemple 10 minutes ago -
Install CouchDB on CentOS

Resources