Questions tagged as 'rubygems'

0
answers

IDE or Gem Arcadia pulls error [Windows 7]

I had the following problem once the gem arcadia was installed when I write to the Windows console (CMD): Arcadia requeri ruby-tk extension and tcl/tk run-time you must install before run. ----- LoadError Details ------------------...
asked by 31.10.2016 / 14:03
2
answers

Error using 'bundle install'

I will use a Style Guide, on its GitHub ( link ) says to install it you must do the following: git clone [email protected]:lonelyplanet/rizzo.git && cd rizzo cp .ruby-version.example .ruby-version cp .ruby-gemset.example .ruby-gemset cd ....
asked by 14.04.2017 / 18:05
2
answers

Update quantity of a model from another

I am working on a project where there is a Stock of Bidons (Drums) , but I would like to edit the main Stock of this when that Stock is taken in another model , for example when you make a purchase of a main product and this Stock is subtrac...
asked by 18.10.2016 / 12:04
1
answer

Problem when rendering pdfs in rails 4 in development mode

use the library wicked_pdf the problem is in the call to the styles, I am new in rails attached an image this is my layout <html> <head> <meta charset="utf-8" /> <%= wicked_pdf_stylesheet_link_tag 'application', me...
asked by 24.09.2016 / 01:51
1
answer

Rails. Delayed_job works two hours apart

I am implementing automation tasks to send emails at a specific time with this gem in the following way: def create @competition = Competition.new(competition_params) if @competition.save @competition.delay(run_at: @competition.s...
asked by 20.07.2017 / 19:22
2
answers

Error executing gem install rails

trying to install rails, after having installed ruby and rubygems, I try to execute the following command: sudo gem install rails which gives me the following error: checking for gzdopen() in -lz... no zlib is missing; necessary for build...
asked by 01.02.2017 / 21:41
1
answer

Why do I get the error ActionController :: UrlGenerationError in Ruby when trying to create a new record?

I have a view where I will create series and I have a list, from the list I link to the aggregation of My series, but mark this error index.html.erb file <section class="capturar"> </section> <section class="detalles...
asked by 02.09.2016 / 06:55
0
answers

There was an error accessing '/home/userlinux/.bundle/cache/compact_index/rubygems.org.443.29b0360b937aa4d161703e6160654e47/versions'

I have a problem creating new applications in Ruby on Rails ; I execute the rails new "myapp" command and it gives me this error:    There was an error accessing /home/userlinux/.bundle/cache/compact_index/rubygems.org.443.29b0360b...
asked by 17.09.2017 / 01:06
1
answer

Show name and extension of a file when editing form using carrierwave gem in rails

I'm using the gem carrierwave to upload documents in my project, and it works perfect, my problem is when I want to edit the form, having previously saved a document, the button to upload a document or image appears with the caption "No f...
asked by 07.04.2017 / 14:42
1
answer

When I save a form with nested_form_fields the console remains in BEGIN - Ruby on Rails

I need your help please. I can not create a new record with other nested records, because the console remains in BEGIN , that is, only the first query is output, which is the one that creates the main record, but never continues to insert...
asked by 22.08.2016 / 05:31