Questions tagged as 'gem'

1
answer

Gem will_paginate does not load when deployed on Heroku

Initializing repository, done. Counting objects: 3605, done. Delta compression using up to 4 threads. Compressing objects: 100% (1035/1035), done. Writing objects: 100% (3605/3605), 7.57 MiB | 71.00 KiB/s, done. Total 3605 (delta 2463), reused 36...
asked by 29.01.2014 / 20:25
0
answers

Burn PC screen in Ruby [closed]

I need to create a Cucumber report with video and for this I need to know if there is any Ruby gem that grabs the screen of the PC.     
asked by 15.08.2018 / 15:18
0
answers

Problem with rails command db: create undefined symbol: rb_enc_alias

When I create a project (from scratch) I then give the comado rails db: create to create the database and I get this error: LoadError: /var/lib/gems/2.3.0/gems/pg-1.1.0/lib/pg_ext.so: undefined symbol: rb_enc_alias - /var/lib/gems/2.3.0/gems/...
asked by 27.08.2018 / 23:00
1
answer

problem in file format validation with gem paperclip 5.1.0, rails 5

Model has_attached_file :foto validates_attachment_content_type :foto, content_type: /\Aimage\/.*\z/ Error in log Command :: file -b --mime "C:/Users/conta/AppData/Local/Temp/66c9eed121277d8be2df09ce25c4687a20171106-5872-1j1pihz.jpg" [pap...
asked by 06.11.2017 / 05:45
1
answer

require command does not work in gem for ruby

I installed Ruby , RailsInstaller and RubyDevKit on the C partition (eg c: \ Ruby23-x64). Execution in cmd    ruby -v Theversionofrubyinstalledwithnoproblemsappears.Execute  geminstallpipedrive-rubyandalsoinstallswithoutproblems,...
asked by 13.05.2016 / 05:56
1
answer

"SQLite3 :: SQLException: no such table: main.category" running rake db: migrate with Gem Acestry

I'm having trouble using the gem Acestry in the part where it says:    Add index to migration: add_index [table],: ancestry (UP) / remove_index [table],: ancestry I'm creating a method called Category and trying to add Acestry bu...
asked by 05.02.2014 / 17:04
1
answer

What is the best method in Rails to create a self-referenced category?

I would like a tip to create a self-referenced category where it would be possible to add daughter categories of its own and so suspectly for the purpose of building a tree using the same object. Is there a gem or an easy and well-optimized w...
asked by 05.02.2014 / 14:22
1
answer

Error installing gem pg

I'm having this error while running bundle install    "An error occurred while installing pg (0.21.0), and Bundler can not continue.   Make sure that 'gem install pg -v' 0.21.0 '' succeeds before bundling.   In Gemfile: " This is th...
asked by 05.12.2017 / 01:53
1
answer

Show User Logged in rails_admin dashboard

Good afternoon everyone, I am developing a project in rails 5 using devise, cancancan and rails_admin, what happens is the following, I created some types of users, among them I mention admin users (has full manager permission on cancancan), and...
asked by 06.10.2017 / 18:23
1
answer

Is Gems from Ruby or On Rails?

I'm starting in Ruby and On Rails. I was a bit confused about "gem", is it part of Ruby or Rails? Example command below. gem install nome gema     
asked by 12.05.2017 / 15:04