All Questions
Tagged with ruby-on-rails windows
742
questions
0
votes
0
answers
74
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
0
answers
32
views
Windows Subsystem For Linux forgets everything
I am stuck on a Windows machine for work, but I work with Ruby on Rails, so everything I do has to be done through the Windows Subsystem for Linux. I did finally get it set up and working, but then I ...
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
18
views
Generating new Rails app using "rails new myapp" fails on get_hosts_path in Windows
Under Windows, attempting to generate a new Rails app using rails new myapp will fail on get_hosts_path. Actually, running Rails can fail on get_hosts_path in general depending on other options, like ...
0
votes
1
answer
9
views
Rails bootsnap/eventmachine in boot.rb NoMethodError get_hosts_path for module Win32::Resolv
Running Rails under Windows with this in config/boot.rb:
require 'bootsnap/setup'
Results in
ruby33/lib/ruby/3.3.0/gems/eventmachine-1.2.7/lib/em/resolver.rb:14:in
<class:Resolver>': undefined ...
0
votes
0
answers
21
views
Deployment of Rails app on Windows, with Ruby MRI, connected to MSSQL
I've been trying to go from using jRuby to Ruby MRI. Current setup for Deployment is Warbler + Tomcat. Since this needs Java implementation I need to find an alternative. I am having a hard time to ...
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
284
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 ...
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:/...
0
votes
0
answers
79
views
Run docker container on Windows 11 port connection
I am learning Docker and trying to run container on Win11, which is running successfully, but it doesn't connect to localhost.
This is my Dockerfile
FROM ruby:3.1.2
RUN apt-get update -qq && ...
8
votes
2
answers
1k
views
Why am I getting a 'No such file or directory' error when attempting to run 'rails s' in Git Bash on Windows?
there. I am working on a project in a small team, our app is build on the ruby on rails, I am Front End Developer and do all React stuff, but recently we updated version of ruby to the latest one, ...
0
votes
1
answer
45
views
Cannot install gem 'chartkick' on vs code on windows
I installed the gem 'chartkick' on codespace correctly using the instructions from https://github.com/ankane/chartkick. I didn't use only yarn add chartkick chart.js and import "chartkick/chart....
0
votes
1
answer
273
views
PGP key issue while trying to install mysql2 in rails project
I am trying to locally install all the gems for a rails project.
I have an issue with mysql2. When I try to install it, I have the following error:
Fetching mysql2-0.5.5.gem
Temporarily enhancing PATH ...
0
votes
1
answer
481
views
Open browser with letter opener on docker toolbox - Rails/Docker/Windows
How do I setup the letter opener gem to open mails on the browser using the docker toolbox for windows?
My app runs at 192.168.99.100, the console shows the mail template but it does not open the ...
0
votes
1
answer
92
views
JRuby Load Error when running Rails server
I updated my Ruby version to 3.1.3, but I was keep getting the following error and could not fix it, so I downgraded Ruby version back to 3.1.2.
However, I am keep getting the same error and I tried ...