All Questions
1,413
questions
0
votes
1
answer
99
views
Native file open dialog in Windows Ruby
As far as I understand, there are no gems which help to open native file dialogs, so I am interested in writing one, specifically for Windows
I'm stuck at the first step which is getting the CLSID for ...
0
votes
0
answers
73
views
Error while installing ruby on rails on windows 11
I'm trying to install Ruby on Rails, but when I run the command "gem install rails", PowerShell throws this error:
C:\Users\milos>gem install rails
Using rubygems directory: C:/Users/...
0
votes
1
answer
267
views
When I run Bundle Install in my github project I get an error: Installing wdm 0.1.1 with native extensions Gem::Ext::BuildError
I'm making a portfolio site in githubs-pages. This project requires to install a couple of packages. I'm using a Windows machines with Windows 10 installed. I'm following the instructions on the ...
0
votes
0
answers
48
views
Cannot install Ruby Gem on Window
I installed the latest Ruby with DevKit (version 3.2.3) on a Windows 11 machine (always up to date). However, I failed to install Rails with the following message (at the bottom). It seems the core ...
0
votes
1
answer
73
views
Fluentd installation failed with message in Windows
I'm doing testing Fluentd for collecting log files from Apache Tomcat in Windows OS.
So, I tried install with [Fluentd-Packages v5.x] and [Calyptia-Fluent v1.3.x] and failed with Windows Message that &...
1
vote
1
answer
82
views
Ruby Script Recursively Creates Deeply Nested Directories
I'm working on a Ruby script, specifically with a method named copy2tmp, (copy pasted method definition)
define_singleton_method(:copy2tmp) do |files|
files.each do |f|
if File.symlink?(f)
...
1
vote
0
answers
184
views
Ruby ffi Gem Installation Fails on Windows Even After Installing Ruby with DevKit and mingw-w64-x86_64-libffi via MSYS2
Following this post I encountered an issue while running bundle update --bundler. The process failed due to an error with the ffi gem installation.
Fetching gem metadata from https://rubygems.org/.
...
1
vote
1
answer
455
views
Error with Bundler Commands in Specific Directory on Windows: NoMethodError for 'untaint' Method in Ruby 3.3.0
I've encountered an issue while trying to install ltx2any by following the instructions provided on its GitHub page. I am not very familiar with Ruby, and I installed it using Chocolatey on Windows. I ...
0
votes
1
answer
32
views
RubyMine cant select Ruby SDK
Selection of SDK
Apply button does nothing
After clicking on the apply button in the second image, nothing happens. Ok doesnt work either. Does anyone know how to fix this problem?
in cmd: ruby -v ...
0
votes
1
answer
71
views
Within RubyMine, selection of Ruby interpreter doesnt work - Windows 10
After selecting ruby.exe in the screen below, it loads for a while and then it fails and nothing happens.
Ruby installation was done succesfully I think because after doing ruby -v in cmd it gives ...
0
votes
0
answers
36
views
Connect from win11 host to ruby container in WSL2
I have a ruby app running inside a container launched from WSL2.
Docker start perfectly and from the log of the container everything seems fine:
2023-12-06 14:18:51 * Puma version: 5.3.2 (ruby 2.7.7-...
0
votes
1
answer
71
views
"rails server", "rails db:migrate" stop working after "rails db:system:change --to=postgresql"
Steps to reproduce:
rails _7.0.4_ new test --skip-bundle
set Gemfile (see below)
bundle _2.3.14_ install
initialize git + connect to github repo
rails db:system:change --to=postgresql
This changes &...
0
votes
0
answers
282
views
Mysql Errors when trying to start Rails project with mysql database
I am trying to create a new Ruby Rails project on a Windows system
I have installed Rails v 7.1.1
I then run rails new myRailsProject -d mysql
However, an error occurs:
An error occurred while ...
-1
votes
1
answer
53
views
Memory usage monitoring in Ruby
Basically, i'm doing a personal project to monitore the memory usage of an application I choose for the much time as I want, all of that in Windows 10. Not much detail needed.
What i've tried was ...
0
votes
0
answers
23
views
LoadError when starting server for Ruby on Rails application [duplicate]
I am following the documentation found here: https://guides.rubyonrails.org/getting_started.html
On step 4.1, when running the command ruby bin/rails server, I get the following error:
<internal:C:/...