ruby tag

542 questions


1 answers
79 views
0
Please tell me how to resolve the error of the program that counts numbers in ruby.

The code and error statements for the program are listed below.Please tell me how to resolve the error.Also, since I am using a csv file, the file is shown below.Thank you for your cooperation.I am wr...

2 years ago

1 answers
77 views
0
Image not found error when starting rails server

When I did bundle exec rails locally, I got the following error:/Users/xxxxx/project_name/vendor/bundle/ruby/2.6.0/gems/ffi-1.11.1/lib/ffi/library.rb: 145:in `block in ffi_lib': Could not open library...


1 answers
40 views
0
Introducing sqlite3 in Ruby 2.51

I'm a beginner at Ruby on rails, so I'm having a hard time.In the rails_prject (folder I prepared) $rails new myappmyapp>$bundle installThe following error occurred when I typed the following comma...

2 years ago

1 answers
44 views
0
Error when deleting photo app in Ruby on Rails

Assumptions/What you want to realizeI am currently creating a photo app on Ruby on Rails. When I try to delete the photo, the following error message appears. What should I do?Problem/Error Message Oc...

2 years ago

1 answers
54 views
0
I want to use javascript as asynchronous for the likes function of rails.

I have implemented it by referring to the site (http://qiita.com/YuitoSato/items/94913d6a349a530b2ea2), but there are two things I don't understand.I look forward to hearing from you.As for the curren...


1 answers
44 views
0
What is the difference between JSON.load and JSON.parse?

Ruby's JSON module has load and parse methods for loading JSON.They look almost the same, but are there any important differences or differences in behavior? Is there anything like, It's better to use...

2 years ago

1 answers
107 views
0
Location of Rails application images and audio files

Using Rails, we create an app that allows administrators to upload image and audio files and allow third parties to check them.The simple feature is that you can see what you uploaded on the managemen...


2 answers
49 views
0
I try to implement a slide show in javascript, but I can't see any images.

When I press the button, there is movement of the image, but the picture is not displayed.I'd like to have the image displayed.Thank you for your cooperation.Error document.addEventListener('DOMConte...


1 answers
40 views
0
What should I do if I get "Could not find a JavaScript runtime." while running the test?

When I was developing Rails, I was developing using rbenv, but there was a little trouble, so I renewed my development environment.If you run ./bin/rake test after doing bundle install, you will get t...

2 years ago

1 answers
46 views
0
NoMethodError undefined method error occurs

This is my first question.I am studying at Ruby on rails When I try to look at the page after doing rails, I get the following error.I would appreciate it if you could tell me the solution.ruby v2.2.2...

2 years ago
« - 36 - »

© 2024 OneMinuteCode. All rights reserved.