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 newbie in RoR and I would like to know how I can do two things in Rails (both versions 2 and 3):
How I can see all queries generated to database (save, update, find, etc.) in the console of the server?
How I can see all the classes and methods…
Saw How to customize Gemfile per developer?, but it didn't really do what I want and it is old.
Use case: I want to use Postgres and other developers are using SQLite.
One solution is to modify my Gemfile and not commit it, but then it will be out…
I get the following error message when loading my Rails application:
You have already activated builder 3.0.4, but your Gemfile requires builder 3.0.3. Consider using bundle exec.
Stack trace:
0 …
thanks for your time!
I've got rails installed in my Windows XP. The version is : Rails 3.2.7
I've installed nokogiri and have successfully developed a small program using it in Ruby.
But for Rails, I don't know how to include external lib in my…
I want to be able to define in my Gemfile that on my development machine (Windows 7) a certain gem (pg) version (0.14.0-x86-mingw32) should be installed, but on my production server (Debian) it should install the regular version.
I have tried…
I have a rails 3.2.3 application which I was developing on my windows machine using git_bash as cli and mingw32 as environment (installed this env using railsinstaller)and postgres as db.
But there were some problems with rmagick and couldn't use…
I'm using Travis CI for a rails project, and I'm getting a "Could not find foobar-0.2.3 gem in any of the sources." at the bundle install stage. (sorry, not at my computer right now, and don't remember the exact gem)
It looks like this is because a…
When starting my rails application I get the following error. Can someone give me a hint where to search for an error?
undefined method `table_alias' for #
This is my gemfile.lock
GEM
remote:…
I have forked resque repo from Github and made some changes to tag v1.20.0. Then I want to get the changed code from Github using git URL in the Gem file.
gem 'resque', :git => "git://github.com/forked_repo/resque.git", :tag => "v1.20.0"
Actually…
Currently, when I run "bundle install" the output displays the username and gemfile of my private repo. I would like to hide this output and change it to something else.
Right now:
Updating https://user:password@github.com/sc/models.git
I would…
I'm running windows 7 64-bit, and have installed ruby via the rubyinstaller located at rubyinstaller.org I am trying to
require 'anygemfile'
And am getting
/dir/dir/file:#::in `require': cannot load such file -- anygemfiles (LoadError).
I can…
First question from a fundamental level - What is the meaning of an un-initialized constant error in Ruby? I come from an objective-c background, if that helps provide some context.
Secondly, I am running a rake task in rails that is throwing the…
I've been having problems with dependencies for a while now, and although I generally manually overcome these, I would like to understand the correct way to resolve such dependencies. My idea till now has been to just get it to work somehow, but…
I'm running a Rails application on Phusion passenger and I get a Permission denied - Gemfile.lock error message often. I fix it by running bundle update but it keeps on popping up the same error every few days (I do not make any changes to the…
I'm trying to bundle my Rails app properly but when i add the mongo_mapper_ext gem to the Gemfile i always get an error like:
Unfortunately, the gem mongo_mapper_ext (0.2.4) has an invalid
gemspec. As a result, Bundler cannot install this…