rubygems Questions
5
here is the error:
Building native extensions. This could take a while...
ERROR: Error installing cocoapods:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framewo...
2
Solved
I have been googling around about this, seems I couldn't find a solution regarding this issue.
So here is a thing, I am currently working rails project with my colleague, it was working fine till s...
Coopt asked 12/6, 2015 at 15:46
2
Solved
I recently upgraded my application to rails 7 and now a bunch of my tests are failing with the below error.
ActionDispatch::Request::Session::DisabledSessionError: Your application has sessions dis...
Sosthina asked 10/10, 2022 at 19:21
38
below is what I need to do.
To run the specs, you'll need to install RSpec. First, run gem install bundler in the root directory of your project. Then, run bundle install. To run a single spec fil...
Bathometer asked 1/7, 2018 at 19:32
9
Solved
I use bundler to manage dependencies in my rails app, and I have a gem hosted in a git repository included as followed:
gem 'gem-name', :git => 'path/to/my/gem.git'
To update this gem, I exec...
4
Solved
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 proj...
3
Solved
I am building a linux docker image on an M1 mac (FROM ruby:3.0.2-alpine3.12 if it matters).
When I attempt to perform a bundle exec in my container, ruby complains that it is unable to load nokogir...
4
I'm a real newbie to iOS development and wanna make a new GitHub blog.
I'm following How to install jekyll on Apple M1 Macbook as a reference.
And I've tried installing Jekyll on my M1 Pro Macbook ...
27
Solved
I tried using gem install pg but it doesn't seem to work.
gem install pg gives this error
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ER...
Objective asked 28/1, 2011 at 10:19
13
Solved
When running rake I get this error:
You have already activated rake 0.9.2, but your Gemfile requires rake 0.8.7. Consider using bundle exec.
Using bundle exec rake instead of just rake seems t...
6
How do I install RubyGems on my Mac?
I tried to run $ gem install rubygems-update with no luck. It returns:
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissio...
6
When I run pod init, I got the following error.
RuntimeError - [Xcodeproj] Unknown object version.
/Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.19.0/lib/xcodeproj/project.rb:227:in `initialize_from_fi...
24
Solved
On both my work and home computers, I recently upgraded Ruby to 2.3.1, using ruby-install. I use chruby as my Ruby switcher.
I started seeing this warning in my terminal:
Ignoring bcrypt-3.1.11 b...
7
ERROR:
Error installing cocoapods: The last version of activesupport (>=
5.0, < 8) to support your Ruby & RubyGems was 6.1.7.3. Try installing it with gem install activesupport -v 6.1.7....
9
I'm attempting to install jekyll and I've encountered an error. I'm running Mac OS X 10.11.4 (El Capitan).
$gem install jekyll
ERROR : While executing gem ... (Gem::Exception)
Unable to require o...
9
Solved
How can I downgrade Cocoapods to an older version, or how can I install an older version of Cocoapods?
9
Solved
I have seen two commonly used techniques for adding the directory of the file currently being executed to the $LOAD_PATH (or $:). I see the advantages of doing this in case you're not working with ...
2
When running bundle exec jekyll serve I get bundler: failed to load command: jekyll
MacOS 12.0.1
Gemfile:
gem "jekyll", "~> 4.2"
# Plugins
group :jekyll_plugins do
gem &quo...
5
Solved
I have a library of ruby code, and to look for defects I run
$ rubocop
And I get
$ rubocop
Inspecting 153 files
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCC...
6
Solved
I have a date and i want to find out the months of that particular quarter.How can i have this done in ruby in the easiest possible way? I mean if the date i give is 27-04-2011, then the result i m...
Gauss asked 7/12, 2011 at 11:45
2
Solved
I normally use Github for my dotfiles. For a gem I am working on, I need to add some private keys to my .zshrc.
Is there a way for me to include another file in my .zshrc, where I can store my en...
Troxler asked 20/3, 2017 at 14:18
6
Solved
This might seem stupid, but I recently tried to install SASS and followed their instructions:
$ gem install sass
$ sass --watch [...]
So I followed along:
root@server:~# gem install sass
Succe...
8
Solved
Hi I'm trying to run my react native app on mac mini. I can run another app also this app to but when i write pod install in terminal it gives this error.
1: from /System/Library/Frameworks/Ruby.fr...
Estey asked 8/9, 2021 at 6:50
6
Solved
I updated CocoaPods to version 1.13.0. Now, when I run pod install, it throws the following error:
conversions.rb:108:in '<class:Array>': undefined method 'deprecator' for ActiveSupport:Modul...
14
I'm stuck trying to install rails on my mac. I have OS X 10.6.8 and I have confirmed that I have Ruby, version 1.8.7
I ran sudo gem update and sudo gem update --system to get the latest versions o...
Reine asked 5/12, 2011 at 17:26
© 2022 - 2024 — McMap. All rights reserved.