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

Gemfile syntax error: gem 'turbolinks' ^

I'm working through Hartl's Rails Tutorial and am coming up on the below error when I try to install the bundle for the sample app. I'm running Rails 4 and Ruby 2.0.0p353. I've checked my Gemfile (below) and not sure what's going on. Any help…
0
votes
1 answer

Using Bundler to toggle Ruby platform based on environment

I need to run my application on JRuby in production to run native threads to improve the processing power of my application. However, when developing, I would prefer not to pay the startup costs of the VM since I don't need the extra processing…
TheDelChop
  • 7,938
  • 4
  • 48
  • 70
0
votes
1 answer

Getting error on bundle install as (Bundler could not find compatible versions for gem "bundler")

Bundler could not find compatible versions for gem "bundler": In Gemfile: bundler (~> 1.3.5) ruby Current Bundler version: bundler (1.2.3) This Gemfile requires a different version of Bundler. Perhaps you need to update Bundler by running…
0
votes
2 answers

Rails - test failure that bootstrap is not included

I have a very simple set of tests (from the Rails Tutorial), but all tests fail with this error: File to import not found or unreadable: bootstrap Any ideas what is happening? Details Below ================================== Example test: …
Don P
  • 60,113
  • 114
  • 300
  • 432
0
votes
1 answer

Ruby: How can I verify my gemfile is correct?

PLEASE NOTE: Application A, Application B and GemX are to help illustrate the example only, they are not real Applications or Ruby Gems. I am developing "Application A." On my local dev environment, I install all the gems I need to. Then, I start…
JoeyC
  • 764
  • 11
  • 19
0
votes
1 answer

Gemfile updated, error doing bundle install

I´m totally lost so i will try to explain my problem. Actually im reading the book Ruby on Rails tutorial. I´m actually installing all the environment to start learning this language. The book asks me to update the Gemfile, and add this group…
iOSAddicted
  • 389
  • 1
  • 17
0
votes
2 answers

Error updating Gemfile

So my issue seems to be coming from an old Gemfile (from a past project) that still seems to by linked to an old Gemfile. What I am trying to do is update the current information stored with new PATHS for installation and execution. I am working on…
0
votes
1 answer

Railties compatibility issues when deploying to heroku

I tried putting sass-rails before rails suggested in the post Bundler gem compatibility issues when deploying to heroku. but it didn't work. Heroku Error Message Bundler could not find compatible versions for gem "railties": In Gemfile: rails (=…
lleonard188
  • 87
  • 1
  • 5
0
votes
0 answers

Bundler gem compatibility issues when deploying to heroku.

I receive the following error message is when deploying to heroku: Bundler could not find compatible version for gem "railties": In Gemfile: rails (= 4.0.0) ruby depends on railties (= 4.0.0) ruby coffee-rails (= 4.0.0) ruby depends on railties…
Thomas Roest
  • 197
  • 1
  • 11
0
votes
0 answers

CSS and other changes made won't load when deploying app on Heroku

I'm currently deploying an app to Heroku, butit is uploading as its basic version. It is not showing the changes I'v made through CSS, HTML and other customizations I have made. Also, I've searched through several similar questions here, but can't…
asaignment
  • 941
  • 2
  • 8
  • 12
0
votes
1 answer

Gemfile local path dependencies, dependencies

I need to package a copy of Redmine with all gems in a named local path. Redmine requires a few gems: gem "rails", :path => File.join('..', 'lib', 'gems', 'rails-3.2.14') gem "jquery-rails", :path => File.join('..', 'lib', 'gems',…
Alex Latchford
  • 655
  • 1
  • 9
  • 17
0
votes
2 answers

Local Rails server won't start unless sqlite3 is NOT inside development or test block

I have recently update my Rail 3.2 to 4. Also Ruby 1.9.3 to 2.0.0. Everything has been working fine for a couple of week and I cannot figure out why I cannot suddenly start my local server. I get the following…
Ervin E
  • 442
  • 5
  • 18
0
votes
1 answer

nested_set Gemfile syntax error, unexpected ':', expecting $end

in my Gemfile gem 'nested_set', git: 'git://github.com/skyeagle/nested_set.git', tag: '~> 1.7.0' # September 11, 2013. To fix the error of wrong format of nested_st for 1.7.0 but when I run rails s, I got this error. emfile:33: syntax error,…
0
votes
1 answer

Hart1´s Ruby Tutorial - Subl Gemfile - failed with error -43

I am struggeling my way through Hart1's Ruby Tutorial, and I can't get past this point; whenever I execute the subl Gemfile command, I get the following error: FSPathMakeRef(/Applications/Sublime Text 2.app) failed with error -43. Can someone help…
Hanna M. Selvaag
  • 41
  • 1
  • 1
  • 3
0
votes
1 answer

Ripple Gem Not Working in Rails4

I am using Rails 4.I am trying to make an application using Riak and RabbitMq, I tried to use ripple gem in my application but returns some error about dependencies like below: Bundler could not find compatible versions for gem "activemodel": In…
Sooraj Chandu
  • 1,348
  • 16
  • 35