Questions tagged as 'rubygems'

2
answers

migration error Paperclip in rails

Hello, every time I give the migration it throws me an error and it does not let me do the migration. link gem "paperclip", "~> 5.0.0" gem "spring", group: :development the gems that I have installed.     
asked by 22.08.2017 / 22:13
0
answers

Rails. Error with delayed_job

I am automating some emails in my application with the gem delayed_job . Well, when I do rake jobs:work and the job is executed, I get the following error:    Job Delayed :: PerformableMethod (id = 10) FAILED permanently with   Delaye...
asked by 19.07.2017 / 00:00
1
answer

what am I doing wrong when generating my server https with ruby in kali?

Turns out I'm trying to mount a https web server and when I try it I get an error, the code is as follows: with this code generate the certificate: require 'webrick' require 'webrick/https' cert_name = [ %w[CN localhost], ] server = WEBri...
asked by 22.06.2017 / 12:20
0
answers

Sidekiq processes some records and others do not. (Ruby on Rails)

The problem is as follows, the loading of a csv file into the portal and the evaluation of the file data is done in a thread with Sidekiq. The detail is that it processes a number of records of that file correctly and the last records do not pro...
asked by 06.12.2016 / 16:59
1
answer

Ransack search results

I am new to rails and I have the problem that when I submit, it shows me all, as if I did not search, it gives me everything from the BD. My code is: Controller: class WelcomeController < ApplicationController def index @q = Co...
asked by 13.12.2016 / 20:46
0
answers

Pundit does not make mistakes but does not do what it should

I have read in several forums the way in which I can use pundit to create an ACL module and everyone says it is easy to use but it is the date that I can not solve my problem. Basically I have this 1.- Add the gem gem 'pundit' 2....
asked by 28.09.2016 / 19:52
1
answer

Determine what to print using wicked_pdf on ruby on rails

I have a view of the data of a person (contact data, address, work data, medical data, etc.). At the moment I can convert everything I have in the PDF into PDF, but what I need is that when I press the button to convert to PDF I will see a scree...
asked by 25.10.2016 / 13:34
0
answers

path for an engine is not recognized

I need your support to verify this situation I am following the documentation, to make a engine with rubyOnRails and I want to test the gem as the documentation says. I add in the file that will call the engine: gem 'blorgh',...
asked by 24.08.2016 / 22:57
0
answers

rubymine proxy error

I tried to install a gem in rubymine and I got the following error:    ERROR: Could not find a valid gem 'rails' (> = 0), here is why:    Unable to download data from https rubygems.org/ - no such name ( link ) Then I set the...
asked by 10.08.2016 / 18:19