Gemfile - A format for describing gem dependencies for Ruby programs. A Gemfile describes the gem dependencies required to execute associated Ruby code.
Gemfiles are a format for describing what gems are required by a Ruby program in order to successfully run.
I have a rails project in the myapp folder.
# in my_app folder
$ gem -v
...
ruby/2.1.0/rubygems/resolver.rb:406:in `resolve_for_zero': Unable to resolve dependency: 'rails (= 4.1.5, = 4.1.5)' requires 'bundler (< 2.0, >= 1.3.0)'…
I'm new to RoR and jumping into a big RoR project. The project uses a bunch of gems. In fact, the Gemfile.lock file, including dependencies, is 460 lines long. I was told the project went through several different developers, and that there may be a…
Checkr is the gem I have built recently and code is hosted in github and gem is hosted in rubygems.org.
If we install it using bundler, specifying gem 'checkr' in Gemfile, it is not loading. We get this error:
uninitialized constant Checkr…
In a rails project, I have a Gemfile which specifies a gem dependency as follows:
gem 'darshan', '1.1.4'
To be compiled, this particular gem requires the location of the corresponding C library, which may not be in a "standard" location such as…
I've been working on an application that runs on Heroku for awhile and occasionally I run into a funny issue where my background workers start failing. It's as if the background workers have an old version of the gem, which used to talk to a HTTP…
I've pushed my app to heroku after some maneuvering around in the gemfile and config/application.rb file
I have config.assets.initialize_on_precompile = false in my application.rb file above my Bundler.require.
Here is the gemfile.
source…
So I have a basic gem file where I have specified groups :development and :assets. When I do a rails generate controller welcome index it creates welcome.js and welcome.css.
If I remove the group specifications and run again (even without running…
I create a new Refinery application and face some problems. I following to instuction on official web-site Refinery http://refinerycms.com/guides/heroku. One of this mistakes says: NOTE: FriendlyId 4.x breaks compatibility with 3.x. But I unload…
I'm following through a online course at https://onemonth.com/, I was asked to add the bootstrap-sass gem to my Gemfile and then run bundle install.
Below is my Gemfile
source 'https://rubygems.org'
gem 'rails', '4.1.1'
gem 'sqlite3'
gem…
I'm trying to startup my sinatra application using shotgun but am having a bit of trouble. My app would run locally when I last checked 3 weeks ago and is currently still working on Heroku however I'm currently unable to run the program locally.…
I want to upload my new app to Heroku, but I'm facing some problems. At first, the problem was SQLite, so I deleted the sqlite line in my Gemfile. Another problem is that when I write in console the command git push heroku, I see this error:
error:…
Specifically, this commit has been merged into mongomapper master to fix a bug that is causing my application to crash:
https://github.com/mongomapper/mongomapper/pull/572
However, it hasn't been released in a new gem. Is it possible to include it…
My gem depends on nokogiri ~> 1.5.0. I'd like to keep that dependency since this version has less compile-time dependencies and generally installs without problems. nokogiri 1.6.x seems to have more problems installing. So while I'd like to support…