ruby tag

542 questions


1 answers
126 views
0
What existing libraries are equivalent to Regexp:: Assembly in Ruby?

I am looking for an existing Ruby library equivalent to Regexp::Assemble and Regexp::Trie for Perl and regexp-opt with Emacs.RubyGems if possible.What you want is a method of creating a compact regula...


1 answers
70 views
0
Is it possible to have Python scripts co-exist within the rails web system?

We are currently developing a web service at Ruby on Rails.*Internal tools for BtoBHowever, due to the following factors, we would like to implement some functions in python.·Python is easier than rub...

2 years ago

1 answers
68 views
0
The difference between when ruby curries and when arguments are required and when ruby is not.

I can't tell the difference between when you curie and when you don't.If you use to_proc from a symbol, take the variable length argument, so Is that why I need arguments?head:022>f=proc {|x,y|x+y}...

2 years ago

4 answers
52 views
0
To create a serial number array with characters in Ruby

['a1', 'a2', 'a3', 'a4']I'd like to make an array like this, but how can I do it?Can't you do it like [*1..4] just like when you only do numbers or alphabets?

2 years ago

1 answers
140 views
0
Understanding Local and Global Install Dependencies when Using Bundler

If I use bundleer to install gem locally, what is the dependency with the globally installed gem? If it's the same gem, will the local version take precedence, and if it's not installed locally, will ...


1 answers
145 views
0
Error when trying to use aws-sdk from ruby

After gem install aws-sdk-core, you will get an error if you execute code that reads only the following:Could you tell me where to find the cause or how to solve it?require 'rubygems'require 'aws-sdk-...

2 years ago

2 answers
67 views
0
How do I define application-specific settings in Ruby on Rails?

How should I define application-specific configuration information?I got an error when I created my_config.yml under /config and my_config.rb under /config/initializers.The contents of each file are a...

2 years ago

3 answers
133 views
0
The Rails application is not working in the production environment, so-called production environment.

The Rails application is not working in the production environment, so-called production environment.In the test environment, css, image, and javascript are successfully compiled and reflected each ti...


3 answers
124 views
0
The Rails application is not working in the production environment, so-called production environment.

The Rails application is not working in the production environment, so-called production environment.In the test environment, css, image, and javascript are successfully compiled and reflected each ti...


2 answers
127 views
0
Selenium::WebDriver::Error::WebDriverError: Unable to find the chromedriver executable.

I try to move Chrome by writing MacOS-X and Selenium in Ruby, but it doesn't work.The Ruby and Selenium installation went well, but I'm into ChromeDriver installation.Specifically, use irb to require ...

« - 11 - »

© 2024 OneMinuteCode. All rights reserved.