Questions tagged [gemfile]

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.

See also

712 questions
0
votes
2 answers

CSS styles broken after updating Active Admin 0.6.0

I was wondering if anyone might have some experience with this: I updated Active Admin 0.6.0 (and four dependencies), and now the stylesheets aren't loading properly in the app, (broken on my machine and on staging) Here's the list of gems…
Patrick
  • 716
  • 5
  • 18
0
votes
2 answers

How to specify a certain dependent version dependency for capistrano gem

http://rubygems.org/gems/capistrano/versions/2.15.5 I would like to use net-ssh version 2.7.0 instead of 2.8.0, with the above capistrano version. How do I specify this in my Gemfile I added the following to the Gemfile and the resultant…
Rpj
  • 5,348
  • 16
  • 62
  • 122
0
votes
1 answer

Defining a local gem

I have moved some of my common fucntionality to a seperate gem and have been using that. In production I include the gem directly from github. #common gem 'engine', path: '../engine' #gem 'engine', branch: 'master', git: 'source to engine.git' The…
skmvasu
  • 3,098
  • 3
  • 24
  • 29
0
votes
1 answer

how to set breakpoint in gemfile for rubymine

I'm currently looking at the guts of query_report gem by examining the sample project that comes with it. I was wondering if it is possible to set a breakpoint in rubymine in one of the files in the gem itself?
abbood
  • 23,101
  • 16
  • 132
  • 246
0
votes
1 answer

CLI versus gemfile syntax

Using the command line interface, I can do the following: gem install mysql2 --platform=ruby -- '--with-mysql-dir="C:/mysql-connector/"' What would be the gemfile equivalent. Reading through the docs, I got as far as: gem 'mysql2', :platforms =>…
EastsideDev
  • 6,257
  • 9
  • 59
  • 116
0
votes
1 answer

Rails: Could not find gem 'sdoc (>=0) ruby'

I am developing a rails application in Mac after switching over from Windows. I thought that I had installed everything correctly. The IDE I'm using is Rubymine. I receive numerous error messages when the rake command is run at the start of a new…
user3181113
  • 758
  • 2
  • 11
  • 23
0
votes
1 answer

Running rails-0.9.5 error

I was getting an error with my application, so I looked on stack and found an answer undefined method `require_relative' for main:Object (NoMethodError) it said that I should run gem install rails which I did, after I ran that, when I tried to run…
neils
  • 655
  • 2
  • 6
  • 12
0
votes
1 answer

Rails application not running on Heroku

I am using Ruby version 1.9 and Rails version 3.2 I have included this in my gemfile (as instructed by Micheal Hartl in his book) group :production do gem 'pg', '0.15.1' gem 'rails_12factor', '0.0.2' end My repo is running perfectly in my…
Piyush
  • 606
  • 4
  • 16
  • 38
0
votes
0 answers

Heroku deployment Gemfile syntax error

this is my Gemfile code. For some reason it has a syntax error that I can't figure. Can someone please help? source 'https://rubygems.org' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '4.0.2' # Use SCSS for…
robinhood91
  • 1,641
  • 3
  • 20
  • 36
0
votes
1 answer

Fail to push to heroku

Likely not the best way to migrate a rails 3 app to a rails 4 one, but I just deleted all the files (except for hidden .git files) and re-built a static webapp with no database or unit tests (rails new testapp -O --skip-bundle -T). Everything works…
tarabyte
  • 17,837
  • 15
  • 76
  • 117
0
votes
2 answers

Detect bundling origin in Gemfile

I am trying to use RubyMine as much as possible and RubyMine sometimes to ask for gems which i'll not utilize for anything on myself (RubyMine does). Is it possible to detect in Gemfile, that i am bundling from RubyMine? or in general: Is it…
Mailo Světel
  • 24,002
  • 5
  • 30
  • 40
0
votes
0 answers

Rails two applications dependency conflict

I have 2 rails applications - A and B. They have multiple dependencies that are incompatible to each other. Besides appliaction A is created for rails 3 and appliaction B is created for rails 4. I would like to display content of the appliaction A,…
Konrad
  • 1,605
  • 3
  • 24
  • 45
0
votes
1 answer

Nokogiri not installing as a gem even though it's listed in Gemfile

Nokogiri isn't installing even though it's listed in the Gemfile. Help? [root@mongo p]# cat Gemfile source 'http://rubygems.org' gem 'rails', '3.2.12' gem 'mysql2' gem 'jquery-rails' # ============================ # Gems #…
Crashalot
  • 33,605
  • 61
  • 269
  • 439
0
votes
1 answer

Ruby gem for Mozenda

Has anyone worked with Mozenda in ruby on rails project before? I am looking for gem or wrapper of Mozenda API. Searched online there were two library 'mozenda' and 'mozenda-api'. Unfortunately, both cannot be found when i tried to install them.
sovanlandy
  • 1,700
  • 2
  • 19
  • 24
0
votes
1 answer

Dangers of putting a gem into a gemfile is someone trying to install it doesn't support the gem?

If I have some coworkers that have an old version of Mac OS X that doesn't support the gem I want to use (terminal-notifier specifically), are there dangers of putting this into the Gemfile: gem 'terminal-notifier' Is there some way to say that it…
Miles
  • 1,615
  • 4
  • 17
  • 42