Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8510255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:39:07+00:00 2026-06-11T03:39:07+00:00

I added gem ‘pry-rails’ and when i run rails console i receive following error:

  • 0

I added gem ‘pry-rails’ and when i run rails console i receive following error:

Loading development environment (Rails 3.2.6)
/Users/rege/.rvm/gems/ruby-1.9.3-p194@network/gems/bundler-1.2.0/lib/bundler/dsl.rb:35:in `eval_gemfile': Gemfile syntax error: (Bundler::GemfileError)
/Users/rege/Code/Network/Gemfile:106: syntax error, unexpected ':', expecting $end
gem 'ruby-readability', require: 'readability'
                                ^
    from /Users/rege/.rvm/gems/ruby-1.9.3-p194@network/gems/bundler-1.2.0/lib/bundler/dsl.rb:7:in `evaluate'
    from /Users/rege/.rvm/gems/ruby-1.9.3-p194@network/gems/bundler-1.2.0/lib/bundler/definition.rb:18:in `build'
    from /Users/rege/.rvm/gems/ruby-1.9.3-p194@network/gems/bundler-1.2.0/lib/bundler.rb:144:in `definition'
    from /Users/rege/.rvm/gems/ruby-1.9.3-p194@network/gems/bundler-1.2.0/lib/bundler.rb:112:in `setup'
    from /Users/rege/.rvm/gems/ruby-1.9.3-p194@network/gems/bundler-1.2.0/lib/bundler/setup.rb:17

Frame number: 0/4
>> RUBY_VERSION
"1.9.3"

My Gemfile:

...
group :development do
  gem 'rack-mini-profiler'
  gem 'pry-rails'
end
...
gem 'ruby-readability', require: 'readability'
...

When I change gem 'ruby-readability', require: 'readability' to gem 'ruby-readability', :require => 'readability' I get next error:

Loading development environment (Rails 3.2.6)
/Users/rege/.rvm/gems/ruby-1.9.3-p194@network/gems/bundler-1.2.0/lib/bundler/definition.rb:364:in `validate_ruby!': Your Ruby version is 1.8.7, but your Gemfile specified 1.9.3 (Bundler::RubyVersionMismatch)
    from /Users/rege/.rvm/gems/ruby-1.9.3-p194@network/gems/bundler-1.2.0/lib/bundler.rb:112:in `setup'
    from /Users/rege/.rvm/gems/ruby-1.9.3-p194@network/gems/bundler-1.2.0/lib/bundler/setup.rb:17

My rvm info

> rvm info                                                                                                                                                     /Users/rege/Code/Network 1.9.3p194 develop!@37a80c4

ruby-1.9.3-p194@network:

  system:
    uname:       "Darwin Darek-MacBook.local 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64"
    bash:        "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11)"
    zsh:         "/bin/zsh => zsh 4.3.11 (i386-apple-darwin11.0)"

  rvm:
    version:      "rvm 1.15.8 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
    updated:      "19 hours 59 minutes 37 seconds ago"

  ruby:
    interpreter:  "ruby"
    version:      "1.9.3p194"
    date:         "2012-04-20"
    platform:     "x86_64-darwin11.4.0"
    patchlevel:   "2012-04-20 revision 35410"
    full_version: "ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]"

  homes:
    gem:          "/Users/rege/.rvm/gems/ruby-1.9.3-p194@network"
    ruby:         "/Users/rege/.rvm/rubies/ruby-1.9.3-p194"

  binaries:
    ruby:         "/Users/rege/.rvm/rubies/ruby-1.9.3-p194/bin/ruby"
    irb:          "/Users/rege/.rvm/rubies/ruby-1.9.3-p194/bin/irb"
    gem:          "/Users/rege/.rvm/rubies/ruby-1.9.3-p194/bin/gem"
    rake:         "/Users/rege/.rvm/gems/ruby-1.9.3-p194@global/bin/rake"

  environment:
    PATH:         "/Users/rege/.rvm/gems/ruby-1.9.3-p194@network/bin:/Users/rege/.rvm/gems/ruby-1.9.3-p194@global/bin:/Users/rege/.rvm/rubies/ruby-1.9.3-p194/bin:/Users/rege/.rvm/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin"
    GEM_HOME:     "/Users/rege/.rvm/gems/ruby-1.9.3-p194@network"
    GEM_PATH:     "/Users/rege/.rvm/gems/ruby-1.9.3-p194@network:/Users/rege/.rvm/gems/ruby-1.9.3-p194@global"
    MY_RUBY_HOME: "/Users/rege/.rvm/rubies/ruby-1.9.3-p194"
    IRBRC:        "/Users/rege/.rvm/rubies/ruby-1.9.3-p194/.irbrc"
    RUBYOPT:      ""
    gemset:       "network"
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T03:39:09+00:00Added an answer on June 11, 2026 at 3:39 am

    Problem was because I had in my pryrc: require 'pry-vterm_aliases' after removed this from my pryrc problem solved

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i've added code config.gem authlogic-oauth, :lib => authlogic_oauth to the environment.rb file in my
I added the composite_primary_keys gem in my Gemfile. On local environment it runs fine,
i'm trying to use Mongoid with rails 3.2.2, i've added: gem mongoid, ~> 2.4
I added omniauth gem to my gemfile and tried to run bundle install, but
I have added the Devise gem to the ruby on rails app version 1.8.7.
I've added Twitter Boostrap support to our RoR 3.2.2 app via Twitter-Bootstrap-Rails gem. It
I am getting the following Error While installing ruby debugger In gemfile i added
I have done the following steps: Added to gemfile: gem recaptcha Added to config/initializers/recaptcha.rb
I added the twitter-bootstrap-rails gem and did bundle install. Then I went to do:
I am trying to connect sql server from rails I've added gems gem 'ruby-odbc'

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.