problem about gemfile-Collection of common programming errors


  • the Tin Man
    rubygems bundle bigdecimal gemfile
    I’m using Bundle to install gems in d:/cucumbertests/cucumber/ successfully, which installs BigDecimal v 1.1.0. This failed in d:/cucumbertests/cucumber/itinfix which installed BigDecimal v 1.2.0.How do I identify the correct version of BigDecimal in my Gemfile in d:/cucumbertests/cucumber/itinfix? Why is the version of BigDecimal correct in d:/cucumbertests/cucumber? The latest version is 1.2.0, found by running gem query –remote –name-matches bigdecimal is:REMOTE GEMS:bigdecimal (1.2.0) bigd

  • Christophe Harris
    ruby-on-rails heroku gemfile
    I’m trying to upload my rails project to heroku. I keep getting the error:An error occurred while installing SystemTimer (1.2.3), and Bundler cannot continue.I’ve done some research and made modifications accordingly, but it’s still not working. First I tried commenting out SystemTimer in my gemfile, but that did’t do it. My heroku system stack is apparently Cedar 1.9.1. My ruby version is 1.8.7. According to some research online, putting:ruby ‘1.8.7’in the gemfile would revert to Cedar 1.8.7, a

  • Val Blant
    ruby-on-rails bundler gemfile oci8
    Rails n00b here – need some assistance. I am trying to port a Rails3 app from Linux to Windows. My Gemfile looks as follows:source ‘http://rubygems.org’ gem ‘rails’, ‘3.0.0’ gem ‘sqlite3-ruby’, ‘1.2.5’, :require => ‘sqlite3’ gem ‘ruby-oci8’, ‘1.0.6’I do not have an Oracle client on this Windows machine, so I will not be able to natively compile a ruby-oci8 gem.I have commented out the ‘ruby-oci8’ line in my Gemfile and I installed the gem manually from here: http://rubygems.org/downloads/ruby

  • Paul ‘Whippet’ McGuane
    ruby-on-rails gemfile pg
    hi i am trying to install the pg gem though whenever i bundle install i am getting the following issueInstalling pg (0.15.1) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension./Users/paulmcguane/.rvm/rubies/ruby-1.9.3-p429/bin/ruby extconf.rb checking for pg_config… yes Using config values from /usr/bin/pg_config checking for libpq-fe.h… yes checking for libpq/libpq-fs.h… yes checking for pg_config_manual.h… yes checking for PQconnectdb() in -lpq… yes ch

  • Paul Fioravanti
    ruby-on-rails heroku syntax gemfile
    I’m having trouble pushing to Heroku. Have looked around for quite a bit but haven’t found a working solution. Seems like there are some missing libraries, the gemfile has sqlite under dev and test and pg under production. Here are the results of the push and the dependencies of sqlite:Fetching: sqlite3-1.3.7.gem (100%) Building native extensions. This could take a while… Fetching: sqlite3-ruby-1.3.3.gem (100%)#######################################################Hello! The sqlite3-ruby gem

  • Chris Travers
    ruby-on-rails-3 sqlite bundle gemfile
    I wanted to deploy my rails app to Heoku, so I made new rails app and then changed Gemfilegem ‘sqlite’togem ‘pg’and then I did bundle installin my terminal (my dev environment is Mac OS 10.8.2) and get the following result.Fetching gem metadata from https://rubygems.org/……… enter code hereUsing rake (0.9.2.2) Using i18n (0.6.1) Using multi_json (1.3.6) Using activesupport (3.2.8) Using builder (3.0.3) Using activemodel (3.2.8) Using erubis (2.7.0) Using journey (1.0.4) Using rack (1.

  • Laser
    sqlite heroku bundle gemfile
    When I attempt to push to heroku with git push heroku master I receive the error:Counting objects: 55, done. Delta compression using up to 8 threads. Compressing objects: 100% (43/43), done. Writing objects: 100% (43/43), 4.01 KiB, done. Total 43 (delta 33), reused 0 (delta 0)—–> Heroku receiving push —–> Removing .DS_Store files —–> Ruby/Rails app detected —–> Installing dependencies using Bundler version 1.1.2Running: bundle install –without development:test –path ven

  • Lecho
    postgresql heroku ruby-on-rails-3.2 gemfile
    I am having issues getting an app live on heroku. the error message I am receiving is:”Installing pg (0.14.0) with native extensions/Users/blanecordes/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/installer.rb:483:in`rescue in block in build_extensions’: ERROR: Failed to build gemnative extension. (Gem::Installer::ExtensionBuildError)/Users/blanecordes/.rvm/rubies/ruby-1.9.2-p0/bin/ruby extconf.rb–with-pg-config=/users/blanecordes/postgresql/bin/pg_config Using config values from /users/bla

  • EricM
    ruby-on-rails heroku railstutorial.org gemfile
    Im teaching myself rails. Im a programmer but not a web programmer. Im going through Michael Hartl’s book here It mentions that its a good idea to start deploying your app right from the beginning. I agree. So I got an account on Heroku and went through ther setup etc. Then created my 1st app, git and the works. Then followed all the instructions on Heroku’s site. Finally I came to pushing my app up to Heroku using this command:git push heroku masterThe book says that there could be problems at

  • jay
    ruby-on-rails ruby-on-rails-3 postgresql gemfile
    I have a rails app I want to run on heroku to test. I am using rails 3.1.3, and I can’t get the app the rake the database on heroku. Pushing the app works fine though. When I try heroku rake db:migrate I get the error:rake aborted!Please install the postgresql adapter: gem install activerecord-postgresql-adapter (pg is not part of the bundle. Add itto Gemfile.)I tried adding gem ‘pg’ to the Gemfile. Then when I push the app to heroku I get the error:You have added to the Gemfile:* pg FAILED: htt

  • Michael Durrant
    ruby-on-rails ruby gem gemfile
    Any idea how to fix this?Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension./home/durrantm/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb checking for vm_core.h… no checking for vm_core.h… no Makefile creation failed ************************************************************************** No source for ruby-1.9.3-p194 provided with debugger-ruby_core_source gem. **************************************************************************

  • Sherminator
    syntax gem gemfile
    I can’t figure out what’s wrong with my syntax in my Gemfile. Any time I try to run $ bundle install I get this error message:Gemfile syntax error: ruby ‘2.1.1’^ /Users/[User]/Work/application/Gemfile:2: syntax error, unexpected tFLOAT, expecting ‘(‘ ruby ‘2.1.1’I have tried adjusting the gemfile to different versions of ruby that I have running on my system, but it gives me the same error message. The carrot underneath the version number is also always in the same place. This is my Gemfile:sour

  • Jorge Mendez
    ruby gem bundle key-value gemfile
    I’m trying to update my gems using a Gemfile but always fails in the same line:Gemfile:group :doc dogem ‘sdoc’, require: false endCommand:$ bundle updateI’m always getting this error:Gemfile syntax error:/Users/GrzegorzFeathers/Documents/Edx/SaaS/rottenpotatoes/Gemfile:32: syntaxerror, unexpected ‘:’, expecting kENDgem ‘sdoc’, require: falseWhen I change that line syntax to this, the problem was solved:gem ‘sdoc’, :require => falseBut why can’t I use the other one?, I checked my ruby version

  • Wes Carr
    twitter-bootstrap heroku gem syntax-error gemfile
    After numerous “git push heroku master” rejections due to “no Cedar-support app detected” I found I should run bundle install. $bundle installGemfile syntax error:<<<<<<< HEAD^/Users/Wes/Sites/code/omrails/Gemfile:21: syntax error, unexpected ===, expectingkeyword_end=======^Alright, checking Gemfile: source ‘https://rubygems.org’gem ‘rails’, ‘3.2.13’ gem ‘jquery-rails’group :production dogem ‘pg’ endgroup :development, :test dogem ‘sqlite3’ endgroup :assets dogem ‘sass-rail

  • Tshepang
    ruby-on-rails testing rails-engines gemfile gemspecs
    I’m building an engine, and I want to use VCR and Webmock for testing.The documentation within the Gemfile generated when an engine is created, seems to suggest that all an engine’s gems should be loaded via gemspec, but the only options for this are add_dependency and add_development_dependency. If I use the latter, VCR and Webmock get loaded into my development environment, and I then have to explicitly disable Webmock in the development environment. I’d rather not do that as a host app may wa

  • Micka
    ruby-on-rails gemfile
    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 tSYMBEG,expecting keyword_do or ‘{‘ or ‘(‘syntax /group :development, :test dogem ‘sqlite3’ end group :production dogem ‘pg’gem ‘rails_12factor’ end^source ‘https://rubygems.org’gem ‘rails’, ‘4.1.0’ gem ‘sass-rails’, ‘~> 4.0.3’ gem ‘uglifier’, ‘>= 1.3.0

  • Edward Chan
    ruby-on-rails-3 gemfile
    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.0but when I run rails s, I got this error.emfile:33: syntax error, unexpected ‘:’, expecting $end gem ‘nested_set’, git: ‘git://github.com/skyeagle/ne…^how can I fix it? thanks!

  • OneKitten
    ruby-on-rails ruby gemfile
    I’ve installed RoR in my MacOS X using this guide http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/Here my versions:$ ruby –version ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0] $ rails –version Rails 3.2.3 $ gem –version 1.8.23I was unable to run my app so I’ve googled and modified Gemfile using this tutorial: http://ruby.railstutorial.org/ruby-on-rails-tutorial-bookNow this is my Gemfile:source ‘https://rubygems.org’gem ‘rails’, ‘3.2.3’# Bundle edge Rails instead: #

  • Damien
    ruby-on-rails ruby ruby-on-rails-4 gemfile compass-sass
    This question already has an answer here:Does compass-rails support Ruby on Rails 4.0?5 answersI read that compass for rails 4 is not ready, but its work with “2.0 alpha”… I don’t understand. Has anyone solved this problem it?my Gemfilegem ‘sass-rails’ gem “compass-rails” #or gem “compass-rails”, “~> 2.0.alpha.0″my application.css.scss //no error, rails recognize the directory@import “compass”;my error for my first mixin test Sass::SyntaxError at /partners/dashboard Undefined mixin ‘border

  • rhjs
    ruby-on-rails ruby gemfile
    I have the following information in my logfile:2013-02-15T13:18:27+00:00 app[worker.1]: Starting the New Relic Agent.2013-02-15T13:18:27+00:00 app[worker.1]: Installed New Relic Browser Monitoring middleware2013-02-15T13:18:27+00:00 app[worker.1]: ** [NewRelic][02/15/13 13:18:27 +0000 628f6bf09b (2)] INFO : Dispatcher: delayed_job2013-02-15T13:18:27+00:00 app[worker.1]: ** [NewRelic][02/15/13 13:18:27 +0000 09b (2)] INFO : Application: appname2013-02-15T13:18:27+00:00 app[worker.1]: ** [NewRelic

  • user661684
    ruby-on-rails aptana bundler rmagick gemfile
    i’ve been trying to start ‘debug server’ for a rails application in aptana studio 3 but i never succeeded. every time i tried to start debug server, exception thrown: Uncaught exception: Could not load the bundler gem. Install it with gem install bundler.i followed the aptana studio 3 getting started guide and installed everything except rvm (i don’t know how to install it on windows). is it really necessary for aptana studion 3 on windows? i have only 1 ruby version installed. i installed rmagi

  • sevenseacat
    ruby-on-rails gemfile social-stream
    I am trying to implement Social-stream with devise. when I am executing this rails generate social_stream:install. I am getting error Bundler could not find compatible versions for gem “devise”:In Gemfile:social_stream (>= 0) ruby depends ondevise (~> 1.1.3) rubydevise (2.2.3)After I bundle update Then the error comes like this Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension./home/cis/.rvm/rubies/ruby-1.9.3-p125/bin/ruby extconf.rb checking for Ruby version >

  • matt
    heroku bundle nomethoderror gemfile
    I am a collaborator on the app, which I cloned, and everything runs perfectly fine on my collaborator’s computer. However, when I type bundle exec or bundle install in my Heroku app’s root directory, I get the following error:/Users/jacob/furious-ocean-6331/Gemfile:3:in `evaluate’: undefined method `ruby’ for # <Bundler::Dsl:0x007fcda31048c0> (NoMethodError)/Users/jacob/.rvm/gems/ruby-1.9.3-p194/gems/bundler-1.1.4/lib/bundler/dsl.rb:7:in `instance_eval’/Users/jacob/.rvm/gems/ruby-1.9.3-p19

  • Adrien Giboire
    ruby-on-rails ruby gem gemfile
    Yesterday, everything worked fine. You can see my previous Gemfile here.Then, I added some groups like you can see here.Since then, I got this message:Exiting /Users/adrien/code/adserver/backoffice/config/initializers/airbrake.rb:1:in `<top (required)>’: uninitialized constant Airbrake (NameError)[AirbrakeFullStackTrace]As I couldn’t figure out why I met this behavior and I was stuck, I tried to require airbrake in the corresponding initializer. I relaunched the server and I got the messag

  • Xelluloid
    ruby-on-rails activerecord gem gemfile
    When starting my rails application I get the following error. Can someone give me a hint where to search for an error?undefined method `table_alias’ for #<ActiveRecord::Relation:0x0000000339df20>This is my gemfile.lockGEMremote: http://rubygems.org/specs:abstract (1.0.0)actionmailer (3.0.12)actionpack (= 3.0.12)mail (~> 2.2.19)actionpack (3.0.12)activemodel (= 3.0.12)activesupport (= 3.0.12)builder (~> 2.1.2)erubis (~> 2.6.6)i18n (~> 0.5.0)rack (~> 1.2.5)rack-mount (~> 0.

  • Gibson
    ruby-on-rails rubygems gem salesforce gemfile
    I am following this guide (http://devcenter.heroku.com/articles/omniauth-and-force-com) in hooking up Salesforce.com REST API with ruby on rails.I’m at the part where I type in “rails generate controller sessions create”, but I get an error saying that omniauth/oauth can’t be found, even though I definitely installed it.The guide also says that I need to type ingem ‘omniauth’, ‘0.2.0’ gem ‘httparty’but whenever I do this I get an error saying “Unknown command omniauth”. I’m totally new at this,

  • Jo.
    ruby-on-rails bundler gemfile
    I have this in my Gemfile (using a branch with a slash):gem ‘ice_cube’, github: ‘seejohnrun/ice_cube’, branch: ‘issues/50-from_ical’Which produces this error:$ bundle Updating git://github.com/seejohnrun/ice_cube.git fatal: ambiguous argument ‘issues/50-from_ical’: unknown revision or path not in the working tree. Use ‘–‘ to separate paths from revisions, like this: ‘git <command> [<revision>…] — [<file>…]’ Git error: command `git rev-parse issues/50-from_ical` in directo

Web site is in building

I discovery a place to host code、demo、 blog and websites.
Site access is fast but not money