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

Heroku gemfile error when trying to open and edit my site locally

I am building a site using Heroku using a tutorial in my online class. I keep getting this error when attempting to open it locally: Specified 'sqlite3' for database adapter, but the gem is not loaded. Add `gem 'sqlite3'` to your Gemfile (and ensure…
0
votes
0 answers

Discrepancy between Ruby version and Gemfile Ruby version

If I boot Aptana to begin a new rails app, and go to do rails new app, it tells me there is a discrepancy between my ruby version and the ruby version in my gemfile. Which gemfile is that referring to? I haven't been able to initiate the rails new…
Muirik
  • 6,049
  • 7
  • 58
  • 116
0
votes
3 answers

Rails server returning error with Gemfile

When I run my rails server on Terminal, I get the following message: Exiting /Users/Rushal-Marketing/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/dynamic_matchers.rb:26:in `method_missing': undefined method `devise' for Install…
0
votes
1 answer

Gemfile syntax error on line 8: unterminated string meets end of file

Getting this error when trying to push gem file to git using git push heroku master. A sample Gemfile source "https://rubygems.org" ruby '2.0.0' gem 'puma' gem 'rails' gem 'sinatra', '1.0' gem 'rails_12factor'
cnichs27
  • 248
  • 3
  • 17
0
votes
1 answer

rails application not deploying to heroku (application error message)

I am trying to deploy a simple hello world Rails application to Heroku but am getting an application error. The weird thing is it worked fine for my other Rails application but it doesn't work for this one even though I made the same changes to…
user3226932
  • 2,042
  • 6
  • 39
  • 76
0
votes
1 answer

Unitialized Constant error when using forked activemerchant gem via Gemfile/github

This morning I forked the activemerchant Ruby gem b/c of a change I needed for my app. My gemfile used to be... gem 'activemerchant', '~> 1.53.0' Now it's... gem 'activemerchant', :github => 'ajporterfield/active_merchant' However, after running…
ajporterfield
  • 1,009
  • 2
  • 10
  • 23
0
votes
0 answers

Heroku deploy error code=H10 rails app

im trying to deploy a Rails app on Heroku, but when i use "heroku open" it's says Application Error; when i put Heroku logs it shows me this 2015-10-15T18:30:09.728340+00:00 app[web.1]: from…
Juan Fernandez Sosa
  • 570
  • 1
  • 5
  • 19
0
votes
1 answer

getting error with has_secure_password in Rails 4

I am trying to use "has_secure_password" in my Rails project. I have included the bcrypt gem in my Gemfile and ran bundle install. However, when I run the project, I am getting the error below: NameError in UsersController#index undefined local…
user3813256
  • 792
  • 1
  • 6
  • 19
0
votes
2 answers

CircleCI uses wrong RubyVersion (it ignores gemfile)

During bundle command in CircleCI build I got error message Your Ruby version is 2.2.1, but your Gemfile specified 2.2.2 bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3 returned exit code 18 Your Ruby…
Filip Bartuzi
  • 5,711
  • 7
  • 54
  • 102
0
votes
2 answers

Heroku Application Error (Ruby 2.2.2)

I have a Rails app and I try to push it to Heroku. After I pushed it to Heroku, I get Application Error message. When I run heroku logs -n 300, I get this (sorry for pasting the logs in Gist. StackOverflow not allowing me to post >30K characters…
Zulhilmi Zainudin
  • 9,017
  • 12
  • 62
  • 98
0
votes
1 answer

Deploying Ruby on Rails App (OpenConferenceWare) to IBM Bluemix

I have been trying to push my 'openconferenceware' appl to bluemix. While, the application runs flawlessly on my local system, it doesnt get deployed on the Bluemix. Below is the log output. Writing config/database.yml to read from…
Betafish
  • 1,212
  • 3
  • 20
  • 45
0
votes
1 answer

Bundler could not find compatible versions for gem "devise"?

I am getting this error on bundle install, which does not make sense because devise 3.3 is installed already. Error: Bundler could not find compatible versions for gem "devise": In Gemfile: devise_token_auth (>= 0) ruby depends on devise…
rajat
  • 3,415
  • 15
  • 56
  • 90
0
votes
1 answer

Change default source when execute "rails new"?

When I use rails new to create a new project, the source in Gemfile is default to https://rubygems.org. But I need to use another source, how can I set that source as default, so that I don't need to change Gemfile by hand later. @Update: I want to…
Eric
  • 22,183
  • 20
  • 145
  • 196
0
votes
2 answers

How to require a specific gem version in rails gemfile?

When installing a gem via bundle install in rails 4, I get the following error: Bundler could not find compatible versions for gem "tzinfo": In Gemfile: rails (= 4.2.0) ruby depends on actionmailer (= 4.2.0) ruby depends on …
DonMB
  • 2,550
  • 3
  • 28
  • 59
0
votes
2 answers

Syntax Error within Gemfile (Capistrano)

Capistrano's giving me an error saying that I have a colon in the wrong place for a gem that I don't even have. What should I do to resolve this? I'm guessing simply specifying sdoc will work, but I'm not sure what the correct syntax is. gem 'sdoc',…
foxtrotuniform6969
  • 3,527
  • 7
  • 28
  • 54