Skip to main content

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
14 views

Why is my Apache server/Sinatra app not serving images but does serve HTML just fine?

I have a Sinatra app running on a local Apache server. It runs fine except it does not serve image files. The Apache log shows a 200 for the files but curl times out with "curl: (18) transfer ...
ariel's user avatar
  • 1
0 votes
1 answer
197 views

Error installing passenger: passenger-6 from passenger requires libruby.so.2.5, but none of the providers can be installed

Originally I wanted to update ruby2.5 to ruby2.7. However passenger hindered the update (yum threw an error), so I removed passenger and ruby2.5 to install ruby2.7 afterwards. Installing ruby2.7 then ...
Jonathan's user avatar
  • 123
0 votes
0 answers
605 views

apt reinstall local package if package was previously installed by repository

before I embark into this I would like to ask for clarification. I have a github package installed in Debian via its own repository. Now the project has been archived and its repo no longer works. I ...
roughnecks's user avatar
1 vote
1 answer
119 views

Configure key binding behavior in Ruby's pry

The key bindings in ruby's "pry" editor started behaving differently than they do in "irb", and I want to know how to change the behavior (which feels it should be configurable). ...
chutz's user avatar
  • 590
0 votes
1 answer
134 views

Can't use 'vagrant' after installling 'jekyll' with error: 'can't find gem vagrant'

After the install of jekyll with gem install jekyll, my vagrant commands fails with: $ vagrant up /usr/lib/ruby/vendor_ruby/rubygems.rb:265:in `find_spec_for_exe': can't find gem vagrant (>= 0.a) ...
Gilles Quénot's user avatar
0 votes
0 answers
28 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 ...
Andrew's user avatar
  • 15.1k
0 votes
1 answer
36 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.
Fluffy Ribbit's user avatar
0 votes
0 answers
603 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 ...
s89_'s user avatar
  • 101
3 votes
1 answer
1k 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 ...
Gordon Pham-Nguyen's 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 ...
Arpan Abhishek's user avatar
1 vote
1 answer
112 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 ...
juanp_1982's user avatar
0 votes
1 answer
482 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 ...
Narayanan's user avatar
  • 855
0 votes
1 answer
241 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 ...
Eduardo Veras's user avatar
1 vote
1 answer
1k 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 ...
RNA's user avatar
  • 113
0 votes
2 answers
15k 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 ...
Grimmskull's user avatar
2 votes
0 answers
534 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 ...
Johnny Utahh's user avatar
1 vote
0 answers
32 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 ...
medBouzid's user avatar
  • 123
5 votes
1 answer
3k 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::...
Chloe's user avatar
  • 6,046
0 votes
2 answers
469 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/...
code-8's user avatar
  • 444
0 votes
0 answers
408 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 ...
nPn's user avatar
  • 101
0 votes
1 answer
337 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 ...
Ruby Noob's user avatar
0 votes
1 answer
292 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 ...
Nicole's user avatar
  • 1
4 votes
4 answers
11k 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 ...
christian Martin's user avatar
0 votes
0 answers
207 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 ...
Julian's user avatar
  • 1
5 votes
1 answer
4k 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 ...
Jonathan's user avatar
0 votes
0 answers
288 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-...
Tchize Matias's user avatar
1 vote
0 answers
324 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 ...
rashonmyeed's user avatar
1 vote
0 answers
179 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 ...
p.py's user avatar
  • 11
1 vote
0 answers
285 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 { ...
FAQ's user avatar
  • 123
0 votes
0 answers
3k 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....
Random's user avatar
  • 1
0 votes
0 answers
188 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 ...
KavehRS's user avatar
1 vote
0 answers
132 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....
C. Beth's user avatar
  • 11
0 votes
0 answers
26 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 ...
Joost F van der Linden's user avatar
1 vote
0 answers
668 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)]$ ...
Joost F van der Linden's user avatar
1 vote
1 answer
239 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 ...
Amar Kumar's user avatar
0 votes
1 answer
140 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 ...
foo's user avatar
  • 1
0 votes
0 answers
100 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 ...
Thorben Brakel's user avatar
0 votes
1 answer
127 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 ...
UserJ's user avatar
  • 1
0 votes
1 answer
39 views

Gem can't switch sources

What could be preventing me from switching gem sources?
Evan Zhao's user avatar
1 vote
0 answers
965 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....
norman123123's user avatar
1 vote
1 answer
73 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 ...
user8895496's user avatar
0 votes
1 answer
303 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 ...
Brandon Hawbaker's user avatar
0 votes
1 answer
550 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=...
medright's user avatar
0 votes
1 answer
525 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: - ...
Daniel B. Davis's user avatar
0 votes
1 answer
2k 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 ...
AMC's user avatar
  • 11
6 votes
3 answers
12k 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 ...
Ruecktenwald's user avatar
2 votes
2 answers
5k 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 ...
Hanneke L's 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"...
AkThao's 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 ...
spd_25's user avatar
  • 1
0 votes
1 answer
672 views

Unable to install any ruby versions using RVM in macOS Mojave 10.14.2

After upgrading to Mojave 10.14.2 I tried to install any ruby versions using RVM. I get the following error message related to OpenSSL. I have latest command line tools (Command_Line_Tools_macOS_10....
kamal's user avatar
  • 1

1
2 3 4 5
9