ruby tag

542 questions


1 answers
70 views
0
Gem install rubocop fails to install in windows 10

I am developing ruby on rails using atom.In order to deploy linter-rubocop of atom's package, I'd like to install rubocop's gem, but I can't because of the following error.How can I install it?I'd lik...

2 years ago

2 answers
58 views
0
About Ruby to C Language Conversion

I'm not good at C language, so please help me.I would like to convert the source code created in Ruby below into C language.n=gets.to_ian = 0i = 1US>n.times{ a=gets.to_i an + = (a-i).abs i = a}putans#...

2 years ago

1 answers
134 views
0
register_subscriber for soracom-sdk-ruby cannot run

I tried to register the soracom SIM I bought from Amazon with the API, but it didn't work.An ArgumentError occurs when you run the register_subscriber of soracom-sdk-ruby.#<ArgumentError: wrong num...

2 years ago

1 answers
47 views
0
Text/html Missing Error After Implementing Search in Ruby on Rails

When I search from the search form, I get an error similar to the picture below. ActionController:: UnknownFormat (SearchsController #index is missing a template for this request format and variant.re...

2 years ago

1 answers
119 views
0
RubyMine Shows Cannot resolve import into pass/scss file

I am developing Ruby on Rails on Macbook Air.I'm studying Chapter 5 of the Ruby on Rails tutorial.Install bootstrap-ass and create app/assets/stylesheets/custom.css.scss, There is an error adding @imp...


1 answers
48 views
0
I would like to implement irregular batch processing (only when the request was made).(Use a gem like whenever.)

We would like to implement the following batch processing.However, it is not a regular thing like once a day, but only when a request is made.Therefore, on many days, batch processing may run five tim...

2 years ago

2 answers
101 views
0
About Elasticsearch

After downloading elasticsearch, it stopped due to an error.I would appreciate it if someone could tell me.AS ISWhen I entered the elasticsearch command, elasticsearch came up, but bundle exec rake se...

2 years ago

1 answers
87 views
0
Wizard-style new membership does not save information to db

Prerequisites/What you want to achieveI would like to register my user information in db by registering as a new member of the wizard method.We are currently creating a personal development applicatio...


1 answers
52 views
0
CPU utilization periodically drops to 0%

I'm having trouble with the timing of the site's very poor response.The frequency is several times per minute.It's only been three days since it was released, so there's very little access.The top com...

2 years ago

2 answers
89 views
0
Understanding How to Join Files Using Ruby's Each

I am trying web scraping using ruby language in my studies.This is an image that searches Google and creates a CSV file similar to the following:★ CSV output image (*Title, URL, text from left) Google...

2 years ago
« - 37 - »

© 2024 OneMinuteCode. All rights reserved.