Questions tagged [ruby]

Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.

Filter by
Sorted by
Tagged with
0 votes
0 answers
36 views

Can't install Ruby on Rails

I am trying to install Ruby on Rails, but nothing works. PS C:\Users\mikolas> ruby --version ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x64-mingw-ucrt] PS C:\Users\mikolas> gem --version 3....
user avatar
  • 109
0 votes
0 answers
10 views

SLES installation ERROR "Caller:/mounts/mp_0001/usr/lib64/ruby/2.5.0/rexml/parsers/treeparser.rb:96:in ’rescue in parse’"

I'm trying to install operating system-SLES to my HP SL230s Gen8 Node Server via ILO Port. I downloaded SLE-15-SP3-Full-x86_64-GM-Media1 image from SUSE's web site and tried to instal SLES to my ...
user avatar
0 votes
0 answers
104 views

Unable to installed RVM into WSL running Ubuntu 18.04: “self signed certificate in certificate chain.”

I'm a beginner and english is not my first language so apologize me if there is something wrong. I'm trying to install RVM on my WSL running Ubuntu 18.04. I tried to install using the following ...
user avatar
  • 1
0 votes
0 answers
99 views

Bundler fails when attempting to install Gems in Ubuntu in WSL2 when Cisco AnyConnect is connected

I'm attempting use Bundler to install Ruby Gems dependencies in my project. I'm using Ubuntu 20 in Windows 10 WSL2 environment. Our organization uses Cisco AnyConnect for its corporate VPN. When I'm ...
user avatar
  • 879
0 votes
0 answers
7 views

Can't install Ruby on CodeBuild on AWS

It seems that whatever I do I can't get CodeBuild to build my Ruby project. I need Ruby version 2.7.4 so as always I added .ruby-version file in the root folder of my app with ruby-2.7.4 but the build ...
user avatar
  • 101
0 votes
0 answers
126 views

AWS Codebuild Ruby 2.6.5 runtime missing on Amazon Linux Standard 3.0 image

I have a ruby project and I am trying to build via AWS codedeploy and having some issues specifying the ruby version. I am using Ruby 2.6.5 and I am using AWS Codedeploy standard image (aws/codebuild/...
user avatar
  • 101
0 votes
0 answers
19 views

Is it possible to install Ruby 3 on Mac OS X 10.6 Snow Leopard?

I’ve been trying to install Ruby 3 on my old Mac running 10.6 Snow Leopard using ruby-build. I can’t figure out why it’s failing. I couldn’t find any Ruby documentation on whether or not Mac OS X 10.6 ...
user avatar
  • 13.9k
0 votes
1 answer
20 views

"which bundle" and "bundle -v" point at different directories on wsl2; bundle -v does not exist

$ which bundle /usr/local/bin/bundle $ bundle -v bash: /mnt/c/Ruby26-x64/bin/bundle: No such file or directory I've tried uninstalling and reinstalling bundler; not sure what else to try.
user avatar
0 votes
0 answers
166 views

RubyMine using 100% of CPU on Mac

I'm running a plain old Ruby on Rails server in RubyMine, and if left idle, it's just using up all my memory. I'm not even using the Rails application (browsing pages etc), and it's not doing any ...
user avatar
  • 101
1 vote
1 answer
682 views

Broken `/Library/Ruby/Site/2.6.0` on MacOS, cannot run `brew`

To start, I had these following annoying output when opening my terminal: Ignoring bigdecimal-2.0.0 because its extensions are not built. Try: gem pristine bigdecimal --version 2.0.0 Ignoring ...
user avatar
0 votes
2 answers
2k views

How to run Ruby on Rails on new MacBook Air M1?

I am running Ruby version 2.7.2 and I have been trying to run Ruby on Rails but nothing seems to work. I tried rvm, rbenv and now asdf but everytime I try to run rails server in an old project after ...
user avatar
1 vote
1 answer
62 views

Is it posible to run Ruby(as a language) in a sidecar in Kubernetes

I'm working on Python Pod to do one main job. However, for a single step, I need different versions of Ruby, so instead of installing all ruby versions in the "main" python container, I was ...
user avatar
0 votes
1 answer
110 views

How can I adjust the ruby text height?

Thanks to @phuclv who answered the question How to type characters for phonetic guide over a word in Microsoft Word? to use ruby text to solve my issue. However the ruby the text height and offset ...
user avatar
  • 825
0 votes
1 answer
127 views

Add domain url to wget result page

i'm trying to make a list of websites into static websites, and i'm using this wget command wget --quiet -E -H -k -nd -K -p -e robots=off #{url} the result is mostly what i want, but all the urls on ...
user avatar
0 votes
1 answer
454 views

How do I upgrade to the latest ruby in Ubuntu 16.04 properly?

I am trying to upgrade Ruby to the latest in Ubuntu 16.04. I can't use virtual environment for ruby because I need to use latest version of Ruby inside python virtual env. So I decided to upgrade ...
user avatar
  • 103
0 votes
2 answers
6k views

“bash: /usr/lib/command-not-found: /usr/bin/python3: bad interpreter: No such file or directory” error when trying to install something

I apologize, I don't have much experience with Linux. So I have ruby installed on my machine and I'm trying to install rails. When I do gem install rails I get a proper response Successfully installed ...
user avatar
1 vote
0 answers
270 views

How to find all previously-installed Ruby artifacts (files, etc) so I can remove _all_ of them from my OS?

Other than the pre-bundled-with-my-default-OS install (eg: /usr/bin/ruby on macOS 10.14), I want to completely wipe my OS clean of Ruby before I reinstall Ruby to a "known state." Specifically, I want ...
user avatar
1 vote
0 answers
18 views

can't find bash history executed via ruby net::sh library

In the hope for getting the commands that run via ruby net::ssh tool which is described as follow: Net::SSH is a pure-Ruby implementation of the SSH2 client protocol. It allows you to write ...
user avatar
  • 123
5 votes
1 answer
1k views

How do I install Ruby 2.6 with Chocolatey?

I tried to list all version of Ruby but it only lists one. choco list ruby --exact --all ruby 2.7.0.1 [Approved] 1 packages found. Nokogiri won't work with the latest Ruby. Gem::...
user avatar
  • 5,426
0 votes
2 answers
333 views

Trying to install Dradis on Mac OS X Catalina gives me an error, “You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.”

I'm trying install Dradis in my Mac OS X Catalina git clone https://github.com/dradis/dradis-ce.git cd dradis-ce/ ./bin/setup I kept getting You don't have write permissions for the /Library/Ruby/...
user avatar
  • 396
0 votes
0 answers
402 views

How can I update an existing ruby installation to support additional OSs?

I have an existing ruby 2.5.1 installation that was created sometime back by compiling from source. The installation is in afs and is accessed by several operating systems (linux-RH6 on x86 and aix ...
user avatar
  • 101
0 votes
1 answer
298 views

Can't install ruby on MacOS Mojave

I have a new MBP running Mojave and am trying to install ruby v2.6.5. I've installed Homebrew and am trying to install ruby via asdf, which uses ruby-build. The installation keeps hanging with the ...
user avatar
0 votes
1 answer
124 views

Error installing Gosu on Ubuntu

Getting the following error when attempting to install the Gosu gem on Ubuntu. I have already installed the dependencies. Here is the error message: compilation terminated. Makefile:235: recipe for ...
user avatar
  • 1
4 votes
4 answers
10k views

zsh returns bad interpreter after Catalina upgrade

I am getting an error message after upgrading to macOS Catalina. zsh: /usr/local/bin/colorls: bad interpreter: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: no such file or ...
user avatar
0 votes
0 answers
168 views

WSL > Ruby (Rails) Server

I am starting the ruby (rails) server on WSL (using Ruby Mine on Windows) and open the browser but I get the message in windows browsers (used chrome): Thanks for your help! Julian PS: it worked ...
user avatar
  • 1
5 votes
1 answer
3k views

Jekyll serve error after updating Ruby, Bundler, and Jekyll

I tried updating Jekyll and am now running into an issue. Luckily I can still build my sites by using bundle exec jekyll serve, but when I run jekyll serve I get the following: Traceback (most ...
user avatar
0 votes
0 answers
198 views

How to solve error on Ruby Gems install Hiptest-publisher?

I am working to setup a Configuration around Robot-Testing Framework on Ubuntu 18.04 - 64bit architecture. In order to run some tests onto my server I need to run the following application. hiptest-...
user avatar
1 vote
0 answers
289 views

Cannot run rails new myapp -d postgresql

I was following the tutorial here: https://gorails.com/setup/windows/10 I reached the part where I run to create my app and it starts then I run into this error: create create README.md ...
user avatar
1 vote
0 answers
75 views

Gollum Wiki editing fails because of a permission issue

I have been using the gollum wiki and it has worked fine so far. After mainly updating conda (which should have nothing to do with gollum), I get the following error message when I try to save edits ...
user avatar
  • 11
1 vote
0 answers
220 views

Logstash 7.2 file input plugin network path wildcard didn’t produce any out on Windows x64

I have a remote file storage with thousands having 10mb average size text files. I'm using this code: input { file { path => "//foldername/**/*.dat" start_position => "beginning" } } output { ...
user avatar
0 votes
0 answers
2k views

502 Whoops, GitLab is taking too much time to respond

I am new to gitlab and I am trying to re run an up an old git server which was down for few weeks. It was working a month back, but suddenly it stopped working. I have also tried to upgrade the GitLab....
user avatar
  • 1
0 votes
0 answers
145 views

Why is the time to use RubyGems with the LoadError?

My PC (Gnu/Linux Fedora 30) was running a crawling program that was turned off because of the power outage, After that, my crawler and any other Ruby Gem did not work,and displays the following error ...
user avatar
1 vote
0 answers
97 views

Trouble uninstalling gem bundler

I'm running the following software: Ruby 2.3.3 Rails 4.2.10 Gem bundle 1.17.3 & 1.12.5 Git keeps defaulting to 1.17.3 but rails is only compatible with 1.12.5. I cannot uninstall 1.17.3 to use 1....
user avatar
  • 11
0 votes
0 answers
21 views

What data are safe to publish from the "config.log" and what not?

I am totally new to programming world and I don't succeed in finding a solution to download Ruby. The question I asked isn't answered so far. Therefore I want to publish my config.log. But I really ...
user avatar
1 vote
0 answers
509 views

rbenv install 2.3.1 gives "BUILD FAILED (OS X 10.14.5) and configure: error: C compiler cannot create executables

I feel ashamed to ask a question here since I just want to start learning programming and now already spend a day to try all solutions offered. So far nothing helped. (base) [ruby-build (master)]$ ...
user avatar
1 vote
1 answer
159 views

I have ruby installed greater than 2.3.0 but it says requires greater than 2.3.0 for i18n to be installed

I have ruby version 2.5.1p57 when ran ruby -v command. While installing a cookbook which requires i18n, it throws error i18n requires Ruby version >= 2.3.0. Though the ruby version is greater ...
user avatar
0 votes
1 answer
78 views

has sqlite been renamed to sqlite3?

I use sqlite for lightweight programming here and there in the Ruby language. I've noticed something odd. I use ruby gem sqlite3 to interact with the sqlite db. I recently checked out the ...
user avatar
  • 1
0 votes
0 answers
93 views

Puppet - Agentless Proxy for cisco_ios devices

I need Help with my puppet agentless proxy scenario. In a fully isolated environment I installed all the modules, dependencies and ruby gems to use the puppet - puppet agent as a puppet agentless ...
user avatar
0 votes
1 answer
88 views

How to solve "Fog::Compute::AWS::Error: RequestLimitExceeded => Request limit exceeded." when executing a Chef cookbook

I am not an expert in Chef. I am trying to deploy a network infrastructure on AWS. When I execute the cookbook that I uploaded to my Chef Server using knife, a lot of API requests are made to AWS to ...
user avatar
  • 1
0 votes
1 answer
32 views

Gem can't switch sources

What could be preventing me from switching gem sources?
user avatar
1 vote
0 answers
746 views

How can I install bundler for a specific ruby version?

I'm creating a rails app and when I try to run rake db:migrate I get this error: LoadError: cannot load such file -- bundler/setup I'm using rbenv and ruby version 2.5.1 in a mac with OS Mojave 10....
user avatar
1 vote
1 answer
54 views

How to delete all directories except last 2 directories and the symlink pointed to those directories

I have below directory structure. drwxr-xr-x 5 ec2-user ec2-user 4096 May 22 07:03 TEEST drwxr-xr-x 5 ec2-user ec2-user 4096 May 24 05:33 BEE-TES drwxr-xr-x 5 ec2-user ec2-user 4096 May 24 10:53 ...
user avatar
0 votes
1 answer
278 views

How do you improve the performance of the ChefDK on Windows 10?

In the past, I've installed the ChefDK on Windows 7 and it ran fairly quickly. Recently, I installed a new version of the ChefDK on Windows 10 Professional 64-bit on a powerful laptop, yet virtually ...
user avatar
0 votes
1 answer
325 views

Systemd service fails on boot with rbenv environment error

Having some issues with a service that is meant to boot a rails app. The ruby install is managed via rbenv, the service file is this: [Unit] Description=evr server boot After=network.target After=...
user avatar
0 votes
1 answer
373 views

On my mac, under rvm, my gem library for jruby is corrupted

After Jruby and gems had developed serious problems (most gem installs showed errors. I did not originally know of or use rvm), I am rebuilding the development side of the machine, which entailed: - ...
user avatar
0 votes
1 answer
1k views

mongod shutting down with code:62

After installing an older version of ruby for a ruby on rails project, my mongod demon wont run anymore for my node.js project. Not sure if these are related, but nothing else has changed. I've tried ...
user avatar
  • 11
6 votes
3 answers
11k views

Rails Server Gem Load Error - SQlite3

Let me start out with, I have searched and read all questions asked similar to my issue and have tried all suggestions. Here's some of the technology I'm using, if it helps: Initially, High Sierra on ...
user avatar
2 votes
2 answers
4k views

RVM can't find installed new Ruby version (previously installed using Homebrew)

I'm a beginner, please excuse me if I'm saying or doing things you perceive as utterly stupid. I'm not doing it on purpose. How this started: I wanted to install gems, but got the following error ...
user avatar
2 votes
1 answer
2k views

Having trouble installing ruby gem for iStats

I am trying to install iStats via a ruby gem. First I ran the command: xcode-select --install and the output was: xcode-select: error: command line tools are already installed, use "Software Update"...
user avatar
  • 143
0 votes
0 answers
5k views

How to update ruby version 2.4.1 to 2.5.0 on Ubuntu 18.04

I have run the code: sudo apt-get install ruby 2.5.0 then: update-alternatives --query ruby which throws error: update-alternatives: error: no alternatives for ruby I also used the code: wget ...
user avatar
  • 1

1
2 3 4 5
9