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.
While browsing through the active-admin code, I found that Gemfile contains the rails entry.
rails_version = detect_rails_version
gem 'rails', rails_version
Does that mean active-admin internally creates a rails server which is not the main rails…
I'm trying to bundle exec rake db:create:all
I found that I have two versions of the rake gem:
rake (10.1.0, 0.9.6)
Author: Jim Weirich
Homepage: http://rake.rubyforge.org
License: MIT
Installed at (10.1.0):…
I have a Gemfile where I add a new gem
gem 'activerecord-oracle_enhanced-adapter', git: "https://github.com/rsim/oracle-enhanced.git", branch: "rails4"
When I run bundle install I get
> bundle install
Updating…
Is there any proper way to include a gem's/an engine's Gemfile in the host application so the listed gems are installed as well?
I know the gemspec file is supposed to do that but the Gemfile is changing quite frequently and it'd make my life easier…
I working with medium Rails application which has about 60 gems dependencies. Many of these dependencies are unnecessary/useless.
Is there any way to find out which gems are not used by application?
I have one machine which runs multiple standalone ruby scripts. Every time I have to upgrade some gem for one of the scripts, I have to look for its impact on other scripts as well. Do you think it will be a good practice to create one gemfile each…
I am getting the following error while running bundle install in CentOs machine.I am getting this issuw with i18n gem.
System.java: -2:in 'arraycopy': java.lang.ArrayIndexOutOfBoundsException
from DefaultResolver.java:111:in 'makeTIme'
…
I am following the Hartl Ruby on Rails tutorial, and am in section 1.2.4 of the tutorial
When setting up a Rails app it says to run these commands:
cd first_app_direcory
sublime Gemfile
bundle update
The sublime Gemfile command edits the Gemfile…
It looks like heroku is now defaulting to using ruby 2.0.0 out of the box when you upload a rails app.
One of my gems breaks due to some incompatibility issue that I don't really want to look into. The solution is of course to write ruby '1.9.2' or…
hi i am trying to install the pg gem though whenever i bundle install i am getting the following issue
Installing pg (0.15.1)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
…
When I type
gem list
I see
some_gem (1.18)
But when I check Gemfile.lock, I see
/Gemfile.lock
some_gem (1.23)
Can any explain this discrepancy? Is the gem version in the Gemfile.lock the authoritative version?
I'm using Bundle to install gems in d:/cucumbertests/cucumber/ successfully, which installs BigDecimal v 1.1.0.
This failed in d:/cucumbertests/cucumber/itinfix which installed BigDecimal v 1.2.0.
How do I identify the correct version of BigDecimal…
I'm working on a Rails web site (https://github.com/jhsu802701/dvi) called Doppler Value Investing that uses my very first Ruby gem (dvi_scraper, source code at https://github.com/jhsu802701/dvi_scraper). dvi_scraper downloads and processes…
After numerous "git push heroku master" rejections due to "no Cedar-support app detected" I found I should run bundle install.
$bundle install
Gemfile syntax error:
<<<<<<< HEAD
^
/Users/Wes/Sites/code/omrails/Gemfile:21:…