ruby tag

542 questions


1 answers
66 views
0
Ruby 2.2.1 did not contain rubocop.checker ruby/rubocop:can't parse version string (abnormal termination?)

I would like to use rubocop on my Mac (Yosemite).$rubocop<filename>Then you can do a syntax check.However, the problem is that the syntax check after saving is not possible in vim.Below is the w...


1 answers
38 views
0
Errors in Rails Deployment

https://railsguides.jp/getting_started.htmlI am creating an application for rails in accordance with the url tutorial above, but in 5.2 First Form, I will read the contents of new.html.erb.<%=form_...

2 years ago

1 answers
92 views
0
About Ruby on Rails device User Profiles

I'm using Ruby on Rails to try to develop a web app.We implemented the device and set up our own columns (name, age, self-introduction, etc.).What's troubling you right now is Create My Page to displa...

2 years ago

1 answers
103 views
0
Unable to compile scss

Environment Windows 10 Notebook pchttps://www.monster-dive.com/blog/web_creative/20140407_000147.phpI installed the sass environment along this site, but I cannot compile it.I did the same thing on my...

2 years ago

1 answers
99 views
0
I would like to create a script that can adjust the number of requests per minute.(I want to make something like a load test tool)

There are already many load testing tools in the world.I'm thinking about how to make such a tool.I would like to implement it on ruby or python (for now on ruby), so First of all, I was thinking abou...

2 years ago

2 answers
46 views
0
Cloud9 Server Startup Errors with Ruby, Rails Version Upgrade

When I did the following in the Ruby on Rails app, the server did not start up in the development environment (AWS Cloud9).When I looked into the error message, I couldn't find a clue and couldn't sol...


1 answers
40 views
0
Why initialize instance variables from self.extended to base.class_eval?

If you read the Rails source, you will see In ActiveSupport Autoload, click The following code was found:def self.extended(base)#:nodoc: base.class_evaldo @_autoloads={} @_under_path=nil @_at_path=...

2 years ago

1 answers
35 views
0
"Is a directory" error when it should not be a directory

I have a program that reads the files in the directory and outputs the contents of the files. in `read': Isa directoryThe error appears.I think you're probably saying, That's a directory, but since yo...

2 years ago

1 answers
44 views
0
About the rails server startup error: cannot load Such file --listen(LoadError)

I study programming on my own through Google.If you execute the command as follows, you will see an error.commands executed: rails new samplecd samplerailserror messages:=>Booting Puma=>Rails 6....

2 years ago

1 answers
35 views
0
I want to index it with each statement .zip in rails.

I have a question.This <%@items.zip(@user~) code would like to have an index number.Does anyone know?Syntax error.<%@items.zip(@user_items).with_index do|item,ui,index|%> <td class=invert&...

2 years ago
« - 26 - »

© 2024 OneMinuteCode. All rights reserved.