rubygems Questions

10

Solved

I am trying to install rails for the first time on my new macbook pro running OS X 10.9 (Mavericks) and I am running into an issue installing therubyracer. When I do "bundle install" I get this err...
Selfmoving asked 7/12, 2013 at 14:55

5

Solved

I encountered this issue when I run bundle install with Ruby version 2.4.4 and macOS Mojave: Fetching nokogiri 1.8.5 Installing nokogiri 1.8.5 with native extensions Gem::Ext::BuildError: ERROR: F...
Bandeau asked 20/2, 2019 at 12:38

33

Solved

I am having some problems when trying to install mysql2 gem for Rails. When I try to install it by running bundle install or gem install mysql2 it gives me the following error: Error installing ...
Silden asked 31/8, 2010 at 10:54

2

Solved

I'm trying to install Cocoapods using the following command on my Mac: sudo gem install cocoapods But I'm getting the following error: ERROR: While executing gem ... (Gem::FilePermissionError) ...
Locale asked 19/5, 2018 at 7:15

3

Solved

Unable to install mysql2 with bundle install. I'm asking because some sites and blogs have shown how to solve the problem caused by ssl, zstd, but I couldn't find a solution caused by zlib. Has any...
Melonie asked 5/5, 2023 at 8:7

4

Solved

I found BUNDLE_DISABLE_SHARED_GEMS: '1', in .bundle/config. What does it mean?
Continually asked 12/11, 2011 at 12:12

18

Solved

I'm trying to installing the mysql2 gem on windows 7 I downloaded the connector from the mysql site and placed the libmysql.dll in ruby200\bin then do gem install mysql2 These are the results am ...
Karnes asked 25/9, 2013 at 19:58

1

Solved

A test project I'm trying to get working has a dependency on the unf_ext 0.0.7.4 gem being installed and I'm having trouble with it. If I run bundle install I get: <some packages> Using unf...
Monocular asked 8/8, 2017 at 15:22

2

Solved

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 ...
Reflector asked 2/2, 2018 at 4:48

1

I am building an app in Ionic/react, and up until this point it has functioned normally. I ran into an error with the FFI architecture in Ruby, and ran a brew install ruby, exported the path, and r...
Appaloosa asked 3/5, 2022 at 22:7

7

I have two versions of ruby gem. json (default: 2.0.2, 1.8.6) Here, the latest version is set to default; however I need json 1.8.6 to be set as default. Is there anyway to make the older versi...
Abscise asked 2/3, 2017 at 6:38

13

Solved

I don't use the RI or RDoc output from the gems I install in my machine or in the servers I handle (I use other means of documentation). Every gem I install installs RI and RDoc documentation by d...
Ideograph asked 4/9, 2009 at 21:48

5

Solved

I tried to open the rails console, but found the error as below: rails c Could not find nokogiri-1.6.0 in any of the sources Run `bundle install` to install missing gems. then I run the bundle i...
Breathy asked 25/5, 2015 at 5:54

4

Solved

I would like to know how to resolve next error seen when executed require command on the console after installed Ruby 2.2.1 Windows installer and Ruby gem 2.4.6. LoadError: cannot load such file -...
Phytosociology asked 17/3, 2015 at 5:56

12

Solved

I can finds gems that are installed using gem list, but it doesn't show me where the gems are installed. How can I find where the gems are, and how can I know before installing a gem where it will...
Alaric asked 28/9, 2013 at 21:54

2

Solved

I'm aware of the following to grab a Gem's specification for interrogation: spec = Gem::Specification.find_by_name('my_gem') Is there a way to programmatically identify "this" gem's name such th...
Tracheo asked 13/12, 2012 at 12:11

6

Solved

The exact error is: An error occurred while installing nio4r (1.2.1), and bundler cannot continue. Make sure that 'gem install nio4r -v '1.2.1'' succeeds before bundling. Here is a trace: Fetch...
Lasonde asked 7/3, 2017 at 15:30

3

I'm new to Ruby Sinatra, I tried to build a simple web application with Sinatra with the following code: require 'rubygems' require 'sinatra' get '/firstapp' do "Welcome to my first Sinatra ...
Overcritical asked 20/5, 2021 at 7:25

2

Solved

While trying to run the "irb", I ran into this error: <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- rdoc (LoadError) ...
Woodpile asked 7/2, 2022 at 15:36

5

Solved

I feel like I've got to me missing something. I'm writing a ruby gem that allows interaction with active record as an add on to its primary function. In writing test cases for it, I need to be ab...
Paramour asked 28/9, 2011 at 16:57

2

Solved

I have a Buildr extension that I'm packaging as a gem. I have a collection of scripts that I want to add to a package. Currently, I have these scripts stored as a big text block that I'm writing to...
Xiomaraxiong asked 19/10, 2011 at 21:1

3

I'm using Rails 4.2.3. I would like to update a specific gem (rspec) on the command line, however I can't seem to get it to work. $ bundle update rspec-rails -version 3.9 No value provided for opti...
Teddi asked 24/3, 2022 at 15:22

4

I have installed or I think is is so a new version of ruby on my osx ppc running leopard 10.5.8 but when I run ruby --version it shows the old one 1.8.7 (default on the machine) but when I run... ...
Domeniga asked 22/3, 2013 at 17:57

4

Solved

1) Is there a 'best' place for rake tasks inside of gems? I've seen them in /tasks, /lib/tasks, and I've seen them written as *.rb and *.rake -- not sure which (if any) is 'correct' 2) How do I ma...
Corsetti asked 10/12, 2009 at 4:29

3

Solved

I'm building a gem simply to go through the processes, and I'm trying to add a generator to it. When I run $ rails g, my generator shows up: Mygem: mygem:install but rails doesn't recognize it ...
Edyth asked 1/6, 2014 at 8:4

© 2022 - 2024 — McMap. All rights reserved.