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'm trying to deploy my Rails application to production server and I decided to deploy it to DigitalOcean using this guide + RVM.
To deploy I use following command:
cap production deploy
However, it fails at some part requiring gemfile. Here's the…
The gemspec semantic versioning operator ~> (aka twiddle-wakka, aka pessimistic operator) allows a gem version to be constrained yet allow some upgrades.
I have often seen that it can be read as:
"~> 3.1" => "Any version 3.x, but at least 3.1"
…
I have numerous gems that I use across all Rails projects, but that aren't part of the projects' Gems, for example powder for managing POW.
It would make sense to me to manage these with a global Gemfile, but I can't see any examples of this.
How…
I have remotes set up on Heroku for production and staging.
On staging I have set the app's envs to include:
RACK_ENV=staging
RAILS_ENV=staging
I would like to be able to specify a staging group in my Gemfile in the same way I can currently use…
I have a gem that is hosted on github and not yet pushed to rubygems, and I added a tag to the master branch of the gem like this:
git tag -a v0.1.0 -m "gem version 0.1.0"
git push origin -tags
and then in a rails application I have on github I…
I am having troubles doing bundle update
It seems to get stuck on these 3 weird gems..["spicycode-rcov", "jnunemaker-crack", "tenderlove-frex"] I have no idea what they are for or where they came from..
this is the last few lines of bundle update…
We've got a fairly large app that's going up on heroku... It's an app using browsercms as the base, and it's built on top of that. The Gemfile isn't that big (we don't have more gems than our average app) but for some reason, deploying takes 15…
Every time I deploy an app with Capistrano, it complains about missing gems.
For example:
** [out :: mysite.com] Could not find WhateverGem-1.0.0 in any of the sources
** [out :: mysite.com] Run `bundle install` to install missing gems.
I resolve…
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'
Failure/Error: page.should have_content('Sample App')
…
I need to install some gems on development only if the developer is on a certain operating system. In my particular case, I want to make a group for Linux.
How can I make a group for this?
The gem for bcrypt at https://rubygems.org/gems/bcrypt/versions/3.1.11
shows this usage
gem 'bcrypt', '~> 3.1', '>= 3.1.11'
Why have the two versions of the pessimistic operator ?
We normally use just one version for other gems
While using these installation instructions, https://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_30x_on_Ubuntu_1404_with_Apache2_Phusion_Passenger_MySQL_Subversion_and_Git_%28Gitolite%29,
I ran into an issues when I performed the…
Someone please help me understand how a ruby app manages both the gemfile and the rvm gemsets for an app. If i am currently using a Gemset, with a bunch of installed gems, and i also have gems in my gemfile, is the Ruby app using the gems from the…