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

Missing Gemfile.lock on creation of rails application

While creating a Rails application: user$ rails new App All the other files get created, i.e. app, config, db, doc, script, test, Gemfile, etc I find that the Gemfile.lock fails to be created. Any particular reason why this could be happening? I am…
Subal Charla
  • 159
  • 2
  • 11
0
votes
1 answer

Heroku error - getting deprecation error, app stopped working.

I pushed my latest code and then my heroku app stopped working. I checked the logs and got an error message. Are there specific gems I should remove? Is this a db error? DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins!…
william tell
  • 4,352
  • 6
  • 23
  • 27
0
votes
1 answer

when deploying to Heroku Git says I did not check Gemfile.lock into version control and fails to install gems via bundler

I am trying to deploy a Rails app on Heroku using GIT. I applied all solutions I found in stackoverflow which I thought relevant. here is what I have done: STEP 1: the following is the command and results I got: Hesham@HESHAM-PC…
Hesham
  • 525
  • 1
  • 5
  • 11
0
votes
1 answer

Error in Gemfile with heroku deploy

I'm reading this manual and when I try to deploy my first app git says: -----> Heroku receiving push -----> Ruby/Rails app detected -----> Detected Rails is not set to serve static_assets Installing rails3_serve_static_assets... done ----->…
Pedro
  • 728
  • 8
  • 18
0
votes
1 answer

Rails: Using ruby-gmail gem causes problems

I have the simple following code, which is working in a ruby (not rails) app: require 'gmail' Gmail.new('my_account', 'my_password') do |gmail| end I am able to get a connection to the Gmail account and do some stuff in there. However, I want to…
Hommer Smith
  • 26,772
  • 56
  • 167
  • 296
-1
votes
0 answers

Why am I having a discrepancy with which version of Ruby I am using?

I am trying to run the Rails dev environment in my terminal (using command 'rails c'). I am receiving the error: 'Your Ruby version is 2.6.10, but your Gemfile specified 3.2.2'. I then ran 'which ruby' to make sure I am not on the Mac system Ruby…
-1
votes
1 answer

keep getting this error "Your Ruby version is 3.0.2, but your Gemfile specified 3.2.2"

I have installed the latest release of ruby with "Sudo snap install ruby --classic" and i have confirmed with "which ruby" and "ruby -v" commands that the ruby exists and that the latest version ruby 3.2.2 also exists but whenever i tyried to run my…
-1
votes
1 answer

Errors on generating controllers

Here is the error when controller is generated Here is my Gem-file code Help me to fix out this error
LOL MODS
  • 15
  • 1
  • 6
-1
votes
1 answer

Ruby Restclient different double point or astrophobe and is order important

i am new to ruby RestClient. i have search many example of this restclient and in docruby. For me is important while using ruby restclient, to get the data very fast. But some are not answers, this is why i would like to question to you all. i am…
goethe
  • 35
  • 8
-1
votes
2 answers

`rails new my_app` returns "Could not locate Gemfile or .bundle/ directory"

I tried creating a new Rails app, and got this error: % bundle exec rails new my_app Could not locate Gemfile or .bundle/ directory I tried running bundle and got the same error. What am I doing wrong?
David Hempy
  • 5,373
  • 2
  • 40
  • 68
-1
votes
1 answer

Getting error in gemfile while embed youtube video in rails application

I need to embed youtube videos in my rails application. For that I have added gem ‘youtube-g’ in Gemfile. After that given bundle install. There was an error parsing Gemfile: Undefined local variable or method `‘youtube' for Gemfile. Bundler…
Malarvizhi
  • 11
  • 3
-1
votes
1 answer

Github Pages does not display pages like local machine

I create a site with jekyll using the theme minima. The site displays everything well in my local machine(localhost:4000). But it appears strangely on Github Pages. It looks like this.This is the source hosted on github. I tried to modify the files…
user1651758
  • 145
  • 12
-1
votes
1 answer

pry show-model command doesn't work

I've got the pry gem installed in my rails app and I've been facing with the error when I turn it on: [1] pry(main)> show-model User ArgumentError: Unknown validator: 'PrsenceValidator' from…
Yosher
  • 643
  • 6
  • 15
-1
votes
2 answers

Design Patterns Key-value data stores application layer

Hello I am trying to find a reading about how to design your application layer when dealing with Key-Value data stores. In my case an In memory data grid. So far from own experience I have ended with Domain Driven Design. I was wondering if there…
Alexander Petrov
  • 9,204
  • 31
  • 70
-1
votes
1 answer

Ruby on Rails Bundle install error

I am relatively new to RoR, when installing the Gemfile's I get the following error message: !] There was an error parsing `Gemfile`: syntax error, unexpected end-of-input, expecting keyword_end. Bundler cannot continue. # from…
1 2 3
47
48