Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
75 views

bundle install cannot load such file

When I try bundle install or RCT_NEW_ARCH_ENABLED=1 bundle exec pod install in my project I get this error. Mac on chip M2 /opt/homebrew/opt/ruby/bin/bundle:25:in `load': cannot load such file -- /opt/...
IncognitoUser's user avatar
0 votes
0 answers
62 views

Error installing msgpack (1.4.4) on ruby 3.0.4 on M1 mac

While installing msgpack gem I'am receiving this error: /Users/orbanbotond/.frum/versions/3.0.4/lib/ruby/gems/3.0.0/gems/msgpack-1.4.4/ext/msgpack make DESTDIR\= compiling buffer.c compiling ...
Boti's user avatar
  • 3,345
1 vote
0 answers
145 views

Ruby (Windows) - Bundle install or update failing - fail to install openssl

Due to a new Heroku update (which keep the Gemfile.lock even if it's windows), I am trying to do a new bundle install (or bundle update, both are failing), because otherwise I can't push my code onto ...
bseido's user avatar
  • 19
1 vote
1 answer
61 views

Could not find 'bundler' (2.5.7)

MacOS user here. I am trying to build a website hosted on github. Followed the instructions from this website but used a different jekyll theme. When I try to preview my website locally via bundle ...
Anna's user avatar
  • 15
0 votes
1 answer
44 views

Changing Rails gem source from Git to RubyGems

Background: I am attempting to modernise a legacy Rails app. I am not a full-time developer, nor am I the app's maintainer. All CI tests currently pass with 79% of coverage. In the Gemfile, rails is ...
Craig Watson's user avatar
28 votes
4 answers
2k views

Strange bundle update issue: disappearing net-pop (0.1.2) dependency

I have a strange bundle update issue with the dependency of net-pop. I manually updated all gems via bundle update GEM. Everything works so far. My CI builds and tests jobs are green. But: When I now ...
Bjoernsen's user avatar
  • 2,308
1 vote
0 answers
75 views

Unable to run shopify theme dev command due to Ruby and Bundler issues on Windows 11

I am trying to set up a Shopify theme development environment on my Windows 11 machine I am trying to set up a Shopify theme development environment on my Windows 11 machine. However, I am ...
Ronak Giri Raj's user avatar
0 votes
2 answers
105 views

Is there a command to add gem to gemspec?

I know there is a command to add a gem to Gemfile: bundle add GEMNAME, but is there a similar command to add a dependency to gemspec? Is there something like bundle add rails --gemspec? Is there a ...
Chiara Ani's user avatar
  • 1,015
1 vote
2 answers
48 views

Automatic Loading of Gem with Bundler

I have developed a Ruby gem called safe-eth-ruby, hosted on https://github.com/scionx-io/safe-eth-ruby/tree/bm-improve-test. While the gem installs and loads without any errors, I encounter an issue ...
Bolo's user avatar
  • 2,768
1 vote
0 answers
71 views

Could not spawn process for application redmine-5.1 in any of the sources (Bundler::GemNotFound)

I upgraded debian 9 to debian 12, updated all packages. I need to update redmine 3.4.6 to redmine 5.1. I did everything according to the instructions, but when I open the ip address/redmine link, I ...
user21402031's user avatar
1 vote
1 answer
41 views

Per-user or per-project gem cache path

Trying to pack my Ruby app, I get a lot of errors like this: Bundler::PermissionError There was an error while trying to write to `/opt/ruby/lib/ruby/gems/3.3.0/cache/nio4r-2.7.1.gem`. It is likely ...
peterh's user avatar
  • 1
0 votes
0 answers
27 views

How to solve the undefine method and expand path error in Bundler [duplicate]

I ran the command line: $ bundle exec rackup --host 0.0.0.0 --port 3000 But got this error: D:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:272:in `search_up': ...
Yu Fu's user avatar
  • 1
0 votes
0 answers
42 views

How can I change a dependencies for an installed Gem

I'm using rbenv and have installed the gem Photocopier, which provides a simple way to copy a file from a server to the local environment. This gem has a dependency on the gem net-ssh version 6.1. For ...
Christer Fernstrom's user avatar
0 votes
0 answers
26 views

How to use environment variables with Docker [duplicate]

Outside of Docker, I am able to run bundle config gem.fury.io $GEMFURY_API_KEY followed by bundle install to authenticate and download a gem from a private repository on gemfury. However, when I ...
Drew Daniels's user avatar
6 votes
4 answers
2k views

Gem::Ext::BuildError: ERROR: Failed to build gem native extension unicode.c:1058:20: [-Wincompatible-function-pointer-types]

Some details about my environment: Ruby version: ruby 3.2.0 RubyGems version: 3.5.6 rbenv version: 1.2.0 MacOS: Sonoma 14.1.2 / M2 I'm trying to run bundle install to install the gems for my project ...
rxlqx22's user avatar
  • 73

15 30 50 per page
1
2 3 4 5
150