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
1 answer

Trying to install Sass Rails Source Maps and failing

I'm trying to install the Sass Rails Source Maps on my ruby project but it's failing. Im getting the next error when writing bundle update sass: Bundler could not find compatible versions for gem "sass": In Gemfile: sass-rails (~> 4.0.3) ruby…
Alon
  • 3,734
  • 10
  • 45
  • 64
0
votes
1 answer

How to update sass along with bootstrap-sass in my Rails app?

In Gemfile I had: gem 'bootstrap-sass', '~> 3.0.3.0' I have now changed it to the following, which is the latest version at the time of this writing: gem 'bootstrap-sass', '~> 3.1.1.1' Taking a look at both bootstrap-sass (3.0.3.0) and…
user664833
  • 18,397
  • 19
  • 91
  • 140
0
votes
0 answers

gem install error sass-rails

I want to install an old version of sass-rails gem. But i am getting this error and my css is not working on my project, check it: In Gemfile group :development, :test do gem 'sass-rails', '~> 3.2.3' gem 'coffee-rails', '~> 3.2.1' gem…
Jaskaran
  • 188
  • 1
  • 1
  • 12
0
votes
0 answers

Why am I seeing this warning message from Bundler?

I'm including a few local engines from within my Rails app into the app's Gemfile # In the Gemfile... # Bundles an internal engine from ./engines into the Gemfile and # loads the engine's dependencies from the .gemspec file def load_engine(gem_name,…
bodacious
  • 6,608
  • 9
  • 45
  • 74
0
votes
1 answer

Syntax Error Trying To Run A Bundle Install GEMFILES for Heroku's server in One Month Rails

I'm doing one month rails. I keep running into some issues with syntax. I'm trying to run bundle install. I've tried with and without the production command with the same error. Error/ Gemfile syntax error on line 13: syntax error, unexpected…
0
votes
2 answers

specifying a ruby version in my Gemfile

Most tutorials I see have ruby '2.0.0' stated in their Gemfile When I type ruby -v I get the following: ruby 2.0.0p195 (2013-05-14) [i386-mingw32] Am I also okay with stating ruby 2.0.0 or do I have to specify ruby 2.0.0p195 ??
user3408293
  • 1,377
  • 6
  • 18
  • 26
0
votes
1 answer

Installing up-to-date rails gem to gemfile reverts actionmailer back to version 0.6.1

I've been making a series of simple apps and I've been installing the same gems in my gemfile for each app the last few weeks and for some reason this time I've had some trouble. When I bundle my Gemfile, then try to start the rails server or rails…
Aaron
  • 6,466
  • 7
  • 37
  • 75
0
votes
1 answer

For rails app, to push to Heroku, I have modified the gemfile, do I need to modify it back for locally testing?

Since now I would like to add something new to the rails app, so I have to re-modify the code and test locally on my computer. Do I need to modify the gemfile back? The current gemfile is: source 'https://rubygems.org' gem 'rails', '3.2.12' #…
user2049259
  • 533
  • 2
  • 6
  • 13
0
votes
1 answer

Strange errors when doing bundle install with Cramp

Here is a Gemfile of default Rails application. source 'https://rubygems.org' gem 'rails', '4.1.0' gem 'sqlite3' gem 'sass-rails', '~> 4.0.3' gem 'uglifier', '>= 1.3.0' gem 'coffee-rails', '~> 4.0.0' gem 'jquery-rails' gem 'turbolinks' gem…
Paul
  • 25,812
  • 38
  • 124
  • 247
0
votes
1 answer

How do you go about starting up a rails app from a github source when they don't include a gemfile?

How do you go about starting up a rails app (Be able to $prompt "rails s" in terminal and run on localhost:3000) from a github source when they don't include a Gemfile? Do I have to create my own? If so can we use a generic one? I was trying to…
stcho
  • 1,909
  • 3
  • 28
  • 45
0
votes
1 answer

How to specify Gemfile so that it won't install a specific version of a gem

I'm new to ruby, and I'm trying to specify a specific version number to rack. I want 1.4.5 installed and 1.5.2 removed, and I did gem uninstall rack --version 1.5.2, and specified the version number of rack to 1.4.5 in file Gemfile.lock. But after…
albusshin
  • 3,930
  • 3
  • 29
  • 57
0
votes
1 answer

Why won't this gemfile update or install with bundler?

This is my gemfile - I'm working on Michael Hartl's RoR tutorials. I keep getting "Gemfile syntax error:" when I try to bundle install or bundle update. Insight? source 'https://rubygems.org' ruby '2.0.0' …
kfrz
  • 323
  • 2
  • 13
0
votes
1 answer

Gemfile includes incorrect environment

When I do $ bundle install, it attempts to get gems only meant for production, despite me being on development. I double checked that I'm on development: echo $RAILS_ENV # outputs "development" Here is a copy of my gem file. If I remove :staging…
Don P
  • 60,113
  • 114
  • 300
  • 432
0
votes
1 answer

Could not find jquery-ui-rails-4.2.0.gem for installation

I'm stumped with this one. I've included the gem in my gemfile as gem 'jquery-ui-rails', '4.2.0' and even as gem 'jquery-ui-rails' which makes no difference, but still I'm not able to find any version of it. I tried several lower versions, but…
Sebastian
  • 1,593
  • 4
  • 26
  • 41
0
votes
1 answer

Rails Gemfile.lock

I added a section for development in my Gemfile group :development do gem 'thin' end and then ran bundle install on my local machine. This created a Gemfile.lock which contained thin. I checked in this file into the repo and pushed to Heroku.…