gemfile Questions
11
Solved
I'm new to Rails and am currently working through a guide.
The guide states:
Use a text editor to update the Gemfile needed by Bundler with the
contents of Listing 2.1.
source 'https://rubyge...
Equimolecular asked 4/4, 2012 at 13:31
4
Gemfile
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
Ruby '2.3.3'
gem 'rails', '~> 5.2.1'
gem 'bootstrap-sass', '3.3.7'
gem 'puma', '~> 3.11'...
Irony asked 13/9, 2018 at 15:13
4
Solved
Recently I created a new Rails 5 app, without a git repository. The auto-generated Gemfile contains a new block I had not seen before:
git_source(:github) do |repo_name|
repo_name = "#{repo_name}...
Coley asked 4/1, 2017 at 0:12
15
Solved
I have installed node@16(v16.18.0) in macOS and npm version: 8.19.2.
Operating System macOS(Monterey) version: 12.6
Xcode Verion: 14.0.1
Followed some instructions to setup react-native environme...
Leveroni asked 25/10, 2022 at 5:42
5
I keep running into the following error with my Gemfile.lock whenever I want to do a git pull or checkout a new branch.
error: Your local changes to the following files would be overwritten by mer...
Steele asked 14/6, 2015 at 21:21
5
Solved
I just ran git push origin master and got this error after trying to run rails s:
Your Gemfile.lock contains merge conflicts.
Run `git checkout HEAD -- Gemfile.lock` first to get a clean lock.
N...
August asked 19/10, 2014 at 19:39
4
Solved
We would test this, but don't want to risk ruining our dev environment if this isn't supposed to happen.
Is it okay to delete Gemfile.lock?
We're on Rails 3.0.6.
Chromatics asked 11/1, 2013 at 21:24
2
Solved
When my Gemfile is using :mri_20, and previous versions of bundler do not support that, is it a good idea to add
gem 'bundler', '~>1.3.5'
to the Gemfile? Is there a better way to enforce a mi...
3
I keep getting build and deployment errors while trying to publish my gh pages, it works locally, does anyone could help me?
I'm using Jekyll al-folio for my webpage. and the error I'm getting whil...
Suzan asked 2/4, 2023 at 13:8
4
Solved
My latest Rails project is more or less and experiment for me to break lots of things and learn in the process. I have the latest version of Ruby specified in my gemfile:
ruby '2.2.3'
And I also ...
Keitloa asked 4/10, 2015 at 14:38
8
Solved
I'm in my app folder, but the command rails s is not working. I read through quite a few posts on Stack Overflow, and most of them seem to be from users who are not in their app directory.
In addi...
Seldun asked 15/7, 2013 at 0:10
5
Solved
I'm following the Ruby on Rails tutorial at http://ruby.railstutorial.org/chapters/static-pages and came across the following error
StaticPages Home page should have the content 'Sample App'
Fai...
Cullie asked 15/5, 2012 at 17:50
3
Solved
I'm getting the error in the title when I deploy my Rails 5 app. I recently updated my Gemfile to include some more recent versions. I don't have any issues on my local development environment but ...
Haaf asked 30/12, 2020 at 22:59
24
Solved
When I try to bundle install I get the following message:
Your Ruby version is 2.0.0, but your Gemfile specified 2.1.0
In my Gemfile I have the following:
ruby '2.1.0'
And when I run ruby -v ...
3
Is the order in which you list your gems important? Are these two blocks equivalent?
gem 'carrierwave'
gem 'rmagick'
And
gem 'rmagick'
gem 'carrierwave'
Truly asked 23/5, 2013 at 21:54
3
I am trying to push a project to Heroku for the first time using git push heroku master. However, I end up getting the following error:
Your bundle only supports platforms ["arm64-darwin-21&q...
Coopt asked 24/3, 2022 at 11:52
6
Solved
Does this:
gem 'whenever', require: false
mean that the gem needs to be installed, or does it mean it is not required?
9
Solved
I'm sort of new to bundler and the files it generates. I have a copy of a git repo from GitHub that is being contributed to by many people so I was surprised to find that bundler created a file tha...
Weird asked 11/11, 2010 at 5:3
13
Solved
I'm developing Ruby on Rails on Windows.
Something went wrong with our local network and can't access https://www.rubygems.org, seems like it is blocked or something.
But I can access it through ht...
Crissycrist asked 16/7, 2016 at 10:27
4
I often see in documentation on the Internet, "put this in the Gemfile". I don't know where and what this "Gemfile" is. If I install a gem then I have installed it. Who need than a "Gemfile"? Where...
Bridie asked 30/5, 2016 at 13:17
5
Solved
My slug size is 89.5MB which is huge.
However the repository size is quite small:
$ du -hsc
8.0M .
8.0M total
Following this blog post: http://dazedthots.blogspot.com/2011/07/reducing-slug-si...
4
Solved
My minimal app runs locally and I have no bundle errors. When I push to heroku, however, the build fails during assets:precompile step:
...
Bundle completed (3.24s)
Cleaning up the bundler cache.
-...
Bowing asked 26/12, 2014 at 16:55
10
Solved
Here is the logs: http://pastebin.com/CAgur9xd
Installing nio4r 1.2.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
C:/RailsInstaller/Ruby2.2.0/bin/r...
Soutache asked 20/7, 2016 at 11:52
9
I am running the command
bundle install
in a project folder. In some project folders it will produce an error and in other projects folders it will not produce an error. The error is:
Your us...
Iraqi asked 16/3, 2017 at 20:14
4
I have a Sinatra application that requires another gem I'm developing locally. I'm having trouble configuring Bundler to use my local gem code during development but my vendored gem code in product...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.