All Questions
Tagged with ruby-on-rails powershell
14
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
955
views
Rails Shell Command - ERROR: UtilBindVsockAnyPort:284: socket failed 1
I'm building a Ruby on Rails application (on Windows 11 with Docker) that requires some command line execution. I've gotten this to a pretty good place, but I've hit a wall, and googling is bringing ...
0
votes
0
answers
31
views
"No template for interactive request" when using Ruby on Rails on Powershell, but not on Command Prompt
When using Rails for the first time (well, the first time in a few years) I came across a confounding error. When following the Getting Started turorial exactly, I got this error:
This persisted even ...
15
votes
1
answer
38k
views
Docker, docker-compose, restart: unless-stopped loose logs in console
I have a docker-compose.yml version 3 which works very good:
version: '3'
services:
db:
image: postgres
restart: unless-stopped
ports:
- "5432:5432"
redis:
image: redis
...
5
votes
2
answers
13k
views
How to install Ngrok 2.0 on linux subsystem on Windows 10
I am trying to use Ngrok to create an introspected tunnel to localhost webhook development tool on my Linux subsystem (Powershell --> bash)
I try to install ngrok using the following:
sudo apt ...
1
vote
1
answer
751
views
Execute PowerShell script on my rails app
I looked everywhere on how to set a script on my rails app but nothing accurate.
Actually I want to create new users on Active Directory through a form which is on my app.
The idea is to let the user ...
3
votes
1
answer
170
views
LearnRubyTheHardWay Ex#46 - rake aborted, you should require 'minitest/autorun'
I'm on Example 46 of Learn Ruby The Hard Way - Creating a Project Skeleton
Link: http://learnrubythehardway.org/book/ex46.html
So I created all the directories which show up as the following:
...
1
vote
1
answer
471
views
Running Ruby 1.9.3 in Powershell ISE
I am having trouble running Ruby in Powershell after upgrading to ISE.
Ruby works fine in Command Prompt with path:
C:\Ruby193\bun> .\irb
In ISE this causes a new window to briefly flash open ...
1
vote
1
answer
142
views
Remote WSH over HTTP via Rails
I have a Windows game server (Mount & Blade: Warband) that I am trying to control remotely through a Rails application. I found a way to send text to the game server using Windows Script Hosting ...
0
votes
1
answer
1k
views
Trying to install mysql2 gem on Windows 8 with Ruby 2
OS: Windows 8.1
Ruby version: ruby 2.0.0p353 (2013-11-22) [x64-mingw32]
MySQL/Apache: AMPPS and both MySQL and Apache are running
I am trying to install the mysql2 gem using the following command (...
3
votes
1
answer
930
views
seeing different gem lists in cygwin and powershell
I used the gem list command in powershell and cygwin and both show different gem lists.
Cygwin shows
*** LOCAL GEMS ***
bundler (1.2.3)
json (1.7.5)
minitest (2.12.1)
rake (0.9.2.2)
rdoc (3.12)
...
5
votes
2
answers
1k
views
how can I stop my server from freezing when powershell is in 'select' mode?
I didn't believe this until I tested it a few times, but it's really happening.
Start rails server and app from powershell: 'rails s'
open a web page from that server
note how long the page took ...
2
votes
5
answers
2k
views
Running background processes (especially rails) in powershell on windows 7
How does one run a background process in powershell on windows 7? The answers here: Powershell equivalent of bash ampersand (&) for forking/running background processes refer to *-psjob commands ...
0
votes
2
answers
2k
views
when executing Powershell Script from Ruby "Can't convert true into String" error
I am trying to execute a powershell script from Ruby, I have entered the below command:
scriptPath = system('powershell \"C:\\Scripts\\DB_Setup.ps1\"')
The ruby Script is handling exceptions when ...