ruby tag

542 questions


1 answers
43 views
0
How to deal with character code errors when building ruby's environment in Windows 10

I am currently trying to build ruby's environment using Windows 10, but I have followed the steps below to find a character code related error, so I have a question.Installation in the following order...

2 years ago

1 answers
99 views
0
I want to get the path of the ruby executable that will run in bundle exec

I want to pry on the specified line without binding.pry^In this question, I learned that if you want to debug the third party's Gem, you should use byebug.Now, I would like to give the byebug argument...

2 years ago

1 answers
46 views
0
Occasionally SSL_connect error? appears.

As the title says, when I run the program on ruby, it usually works fine, but sometimes I get the following error and it stops working. C:/Ruby26-x64/lib/ruby/2.6.0/net/protocol.rb:44:in `connect_nonb...

2 years ago

2 answers
98 views
0
There is a service that allows applications to be developed only by using the GUI, but I don't know why. (It may be related to parsing.)

appinventor just wear the parts you like on the web You can easily create an Android app.http://www.atmarkit.co.jp/ait/articles/1103/15/news087.htmlI was surprised that it was easy, but I am having tr...


1 answers
201 views
0
502 Bad Gateway now appears after EC2 reboot & migration

I tried to reset the database by ssh connection to EC2 ( rails db: migrate: reset RAILS_ENV=production DISABLE_DATABASE_ENVIRONMENT_CHECK=1). PG::ObjectInUse:ERROR:database AnayumeAppDB is being acces...


1 answers
85 views
0
About scraping with selenium in docker environment

I am currently studying using rails in a docker environment.I play with selenium scraping.It worked fine locally, but as soon as I docked, I got an error.What do you want to doInstead of headless (wit...


1 answers
75 views
0
About scraping with selenium in docker environment

I am currently studying using rails in a docker environment.I play with selenium scraping.It worked fine locally, but as soon as I docked, I got an error.What do you want to doInstead of headless (wit...


3 answers
49 views
0
How to get the ami id in AWS SDK for Ruby

I want to get an ami id from AWS SDK for RubyAWS SDK for Ruby V2 Please use this as a reference.require 'aws-sdk' ec2=Aws::EC2::Resource.new(region: 'ap-northeast-1') ec2.images.each do|i| puts ID:#{i...

2 years ago

1 answers
71 views
0
Unable to comment out erb file in VScode

While editing an erb file using VScode, the comment out shortcut Press cmd+/ to get // and cannot comment out.Is this because the erb file is identified with the html file?The settings.json file looks...


1 answers
42 views
0
Ruby version cannot be specified correctly under Rails environment in Mac OS

What can be considered in the following cases?This is the result of hitting the command in the root directory of the rails app.$railsYour Ruby version is 2.0.0, but your Gemfile specified 2.2.2$ ruby-...

2 years ago
« - 18 - »

© 2024 OneMinuteCode. All rights reserved.