Questions tagged [rubygems]

RubyGems is a package management tool for the Ruby programming language. It allows users to download and update Ruby libraries, and provides automatic dependency resolution.

RubyGems is a package manager for the programming language that provides a standard format for distributing Ruby programs and libraries (in a self-contained format called a ), a tool designed to easily manage the installation of gems, and a server for distributing them.

Documentation

16886 questions
6
votes
3 answers

Bundle can't find gem that is clearly installed

I'm having a really weird issue in which I can clearly see that a gem file is installed and so can bundle, but then when I try to run it I get an error that bundle can't find it. Gem File: source "https://rubygems.org/" gem…
The Digital Ninja
  • 1,090
  • 6
  • 22
  • 36
6
votes
1 answer

Rails 3 install a branched gem from github

I am trying to install the gem from https://github.com/raid5/paths_of_glory/tree/rails3 When I put the following line of code in my gemfile as specified in step 1 of the readme: gem 'paths_of_glory', :git =>…
John
  • 4,362
  • 5
  • 32
  • 50
6
votes
0 answers

Integrating Facebook and Google Login to an existing REST API in Ruby on Rails

I have a Rest API written in Ruby on Rails which is having a regular SignUp and SignIn via a username and password. The SignUp and SignIn flows are currently handled through "devise" and "simple_token_authentication" Ruby Gems. Now I need to…
MCF
  • 768
  • 2
  • 6
  • 21
6
votes
2 answers

Could not find gem rails

I am trying to build a docker container but getting the following error message: Step 8/12 : RUN bundle binstubs bundler --force ---> Running in ed94b127974b Could not find gem 'rails (>= 5.1.5, ~> 5.1)' in any of the gem sources listed in your…
gbaz
  • 409
  • 1
  • 6
  • 15
6
votes
2 answers

Add `gem 'pg'` to your Gemfile and ensure its version is at the minimum required by ActiveRecord

I am trying to install a ruby script in heroku. I run bundle install, rake db:create, rake db:migrate when I tried to deploy it to heroku it throws an error, Here is the Error : Counting objects: 858, done. Delta compression using up to 2…
Bsde
  • 146
  • 1
  • 2
  • 10
6
votes
0 answers

Error: `getwd` : No such file or directory - getcwd?

Can you anyone help me how to solve this problem gems/bundler-1.16.0.pre.3/lib/bundler/shared_helpers.rb:71:in `getwd': No such file or directory - getcwd (Errno::ENOENT)
honestraj
  • 87
  • 6
6
votes
2 answers

How to set correct Ruby version in gem environment

Note: This question relates to How can I get bundler to use the Ruby version set by chruby and .ruby-version?. Using chruby I have Ruby 1.8.7 installed on macOS: $ ruby -v ruby 1.8.7 (2013-06-27 patchlevel 374) [i686-darwin17.4.0] Also, I have used…
Keith Pitty
  • 1,498
  • 1
  • 12
  • 22
6
votes
2 answers

Rails 3: Creating app with internal plugin system

I want to create an application in Rails with plugin system. Potential user should be able to upload (or better install from repository) a plugin and install it enabling my application to do something more. This should be done WITHOUT FTP/SSH/any…
Migol
  • 8,161
  • 8
  • 47
  • 69
6
votes
2 answers

How to develop Gems?

I would like to write my own gem that helps me in my rails apps. It will also inculde some controllers that deliver html. So i need to test that in a browser (html/css/js). Whats the best practice for that? Now im using the echoe gem to build my…
antpaw
  • 15,444
  • 11
  • 59
  • 88
6
votes
0 answers

ffi gem's fails to build on Windows MSYS2. sys/select.h is missing

On Windows with MSYS2, I try to install jekyll: gem install jekyll but it fails, complaining that it can't build native extension ffi. Looking in mkmf.log: "pkg-config --exists libffi" | pkg-config --libs libffi =>…
jvtrudel
  • 1,235
  • 3
  • 15
  • 28
6
votes
2 answers

Rails: Creating new Ruby on Rails app in existing directory

I've been away from Ruby on Rails development for some time, going through several system updates. This occurred on Mac OS X Sierra, with its system version of Ruby (2.0.0p648), and Rails 4.0.2. Creating a new app (rails new appname) works fine when…
executor21
  • 4,532
  • 6
  • 28
  • 38
6
votes
2 answers

How to tackle different user types with Devise

I have 2 types of Users. A Company and a Worker. How do I manage it in devise where I have only 1 User? I want to create 2 registration pages for Company and Worker, but I only want 1 table which stores user information such as Users.
Rails beginner
  • 14,321
  • 35
  • 137
  • 257
6
votes
4 answers

Can you recommend good data grid class/gem for Ruby on Rails?

Can you recommend good data grid class/gem for Ruby on Rails? Like http://code.google.com/p/zend-framework-datagrid/ for ZF
Fivell
  • 11,829
  • 3
  • 61
  • 99
6
votes
4 answers

Terminal error message when trying to install Sass

Below is the exact message returned from terminal: ERROR: Error installing sass: ERROR failed to build gem native extension. current directory: /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.18/ext/ffi_c …
Shivang Patel
  • 157
  • 1
  • 3
  • 13
1 2 3
99
100