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
0answers
15 views

Issues installing homebrew on macOS Catalina

I had installed Homebrew some months ago but right now whenever I type the brew command in the terminal it says command not found. I tried reinstalling several times and I get the same error: Warning: ...
0
votes
0answers
12 views

Updating Ruby, Jekyll, and Bundler for all users

I am working as root on a server (CentOS) and recently installed Ruby 2.7.0 (by following the steps here). I then did gem install jekyll and gem install bundler and now have jekyll 4.0.0 and bundler 2....
1
vote
0answers
60 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 ...
1
vote
0answers
13 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 ...
1
vote
1answer
115 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::...
0
votes
2answers
164 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/...
0
votes
0answers
24 views

Gem versions and bundle update

I have an application (redmine) which was installed with a set of gems including rack-2.0.7. This version of the gem was recently announced as having a vulnerability. So in the redmine's root I did: ...
0
votes
0answers
151 views

RVM install after Catalina OS Upgrade

I just upgraded to Catalina OS, and now am struggling to get my development environment set up to work with Ruby on Rails. I have found other threads that suggest using RVM to get things going, but ...
0
votes
0answers
396 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 ...
0
votes
0answers
582 views

Gem::Ext::BuildError: ERROR: Failed to build gem native extension. on installing therubyracer 0.12.2 with native extensions

I tried all the method given like uninstall libv8 and then install therubyracer, nothing work for me ,can anyone help me to solve this issue? $ sudo gem install therubyracer -v '0.12.2' --source '...
0
votes
0answers
102 views

Error in terminal: “cannot load such file — data_mapper (LoadError)”

I am following a nice sinatra tutorial. At this point in the tutorial I had to install and require data_mapper gem. So I installed it and it does show up in my gem list. I have ruby 2.6.3p62 (2019-04-...
0
votes
0answers
35 views

1438 illegal hardware instruction rails s

Here's the issue: Unable to start an existing Rails project after upgrading to Mac 10.15.1. The terminal shows: SEGV received in SEGV handler [1] 1438 illegal hardware instruction rails s Notes: ...
0
votes
1answer
145 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 ...
0
votes
1answer
37 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 ...
4
votes
4answers
6k 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 ...
0
votes
0answers
119 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 ...
0
votes
0answers
18 views

missing dll file when using archive in ffi-libarchive gem

if RUBY_PLATFORM =~ /(?=.*64)(?=.*(mswin|mingw))/ ENV['ARCHIVE_LIB'] ||= File.join(__dir__, 'mingw64/libarchive-13.dll').gsub('/', '\\') binding.pry end require 'ffi' require 'ffi-libarchive' ...
0
votes
0answers
83 views

Cocoapods installation, stuck on setup stage

I'm trying to install Cocoapods to my Mac. I've already passed the "sudo gem install cocoapods" stage and several gems got installed. Then I try to setup it using "pod setup --verbose" and "pod ...
1
vote
1answer
933 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 ...
0
votes
0answers
89 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-...
1
vote
0answers
176 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 ...
0
votes
0answers
55 views

RVM - not configuring

I am getting this error whenever I try to download the latest version of Ruby: Error running './configure --prefix=/Users/rebeccabarrett/.rvm/rubies/ruby-2.5.0 --with-openssl-dir=/usr/local/opt/...
0
votes
0answers
31 views

Do I have to revert to earlier ruby version to install ruby gem -v 0.5.2

I get this error in dos prompt: mysql2 requires Ruby version >= 2.0, < 2.6. The current ruby version is 2.6.3.62. my current ruby version (windows 10) is 2.6.3p62 Do I have to uninstall ruby 2.6....
0
votes
0answers
33 views

SASS suddenly stopped working; terminal keeps responding with “command not found: sass” despite every potential solution I tried

SASS was working about a month ago, but now Terminal started giving me "command not found" anytime I try to compile a CSS file to SCSS. I've reinstalled everything at least twice at this point (sass,...
0
votes
0answers
247 views

ruby `require': cannot load such file — sqlite3

I got problem ,using Rubymine and can't load sqlite3 require 'sqlite3' db = SQLite3::Database.new "test_db" db.execute "insert into cars(name,price) values ('zaz',500)" db.close And get ...
0
votes
0answers
308 views

Add furigana (Ruby) to every kanji in Word Mac

I am trying to add furigana (Ruby) to every kanji in a Word document in Japanese, however when I select all and go to Format->Asian Layout->Phonetic Guide only the first sentence gets selected ...
1
vote
0answers
40 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 ...
0
votes
0answers
11 views

Installing a local gem getting a certificate error

I'm trying to install FluentD plugins offline. I downloaded the gems (tar.gz file), and I am using "td-agent-gem" to install them, which as far as I know is simply gem to the fluentd directory. I ...
0
votes
0answers
82 views

rbenv init - throw misterious line. (OS X 10.14.5 using zsh) error: (eval):13: parse error near `}'

The error when execute $ eval "$(rbenv init -)" following appears. (eval):13: parse error near `}' and this is the log for rbenvv init - $ rbenv init - export PATH="/Users/xxxxxxxxxx/.rbenv/shims:$...
0
votes
0answers
26 views

rvm not recognizing installed gem

I need ruby to run our automation suite, but I am unable to use the version required by the source. I have the version which I believe installed with xcode, 2.3.7, but this will not run the automation ...
1
vote
0answers
87 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 { ...
0
votes
0answers
1k 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....
0
votes
0answers
74 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 ...
1
vote
0answers
66 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....
0
votes
0answers
18 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 ...
0
votes
0answers
93 views

get install bundler failed (you't don't have write permission)

I am trying to install bundler on my Mac, and I have installed homebrew, and rbenv. My rbenv doctor script returns: Checking for `rbenv' in PATH: /usr/local/bin/rbenv Checking for rbenv shims in ...
1
vote
0answers
309 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)]$ ...
0
votes
0answers
68 views

Why is this “gem update” command giving an error?

I get the following error for a gem update: $ gem update --system --http-proxy=http://username:password@proxy.abc.com:8080 ERROR: While executing gem ... (OptionParser::InvalidArgument) invalid ...
0
votes
0answers
565 views

ERROR:browser_gpu_channel_host_factory.cc(139)] Failed to launch GPU process

I am trying to do a simple browser launch using automation. Google Chrome browser version - 74 RubyMine - 2019.1 My code: require 'watir' browser = Watir::Browser.new :chrome browser.goto 'www....
1
vote
0answers
75 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 ...
0
votes
1answer
48 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 ...
0
votes
0answers
47 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 ...
0
votes
1answer
44 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 ...
0
votes
1answer
28 views

Gem can't switch sources

What could be preventing me from switching gem sources?
1
vote
0answers
448 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....
1
vote
1answer
44 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 ...
0
votes
1answer
193 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 ...
0
votes
0answers
951 views

Bundle install command in Ubuntu returns Could not locate Gemfile

When I enter the command from the prompt as follows I get the error below: zbomani@DESKTOP-PMLUQMI:/home$ bundle install Could not locate Gemfile zbomani@DESKTOP-PMLUQMI:/home$ bundler install Could ...
0
votes
1answer
198 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=...
0
votes
1answer
264 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: - ...

1
2 3 4 5
9