Skip to content

Cannot execute "bundle install" on 1.9.2 #141

@asdavey

Description

@asdavey

Steps to Reproduce

rvm use 1.9.2
git clone https://github.com/rails-sqlserver/activerecord-sqlserver-adapter.git
cd activerecord-sqlserver-adapter
bundle install

What I expected to happen

I expected that bundler would install all of the required gems.

What happened instead

Instead an error was raised: 'eval': can't modify a frozen string (RuntimeError).

Additional Info

ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
git describe
3.1.1-13-g7ec44b0

Stack Trace

/home/Andrew/activerecord-sqlserver-adapter/Gemfile:7:in `eval': can't modify frozen string (RuntimeError)
        from /home/Andrew/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/version.rb:191:in `initialize'
        from /home/Andrew/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/version.rb:178:in `new'
        from /home/Andrew/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/version.rb:178:in `create'
        from /home/Andrew/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:2092:in `version='
        from (eval):8:in `block in evaluate'
        from /home/Andrew/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1346:in `initialize'
        from (eval):5:in `new'
        from (eval):5:in `evaluate'
        from /home/Andrew/activerecord-sqlserver-adapter/Gemfile:7:in `eval'
        from /home/Andrew/activerecord-sqlserver-adapter/Gemfile:7:in `evaluate'
        from /home/Andrew/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.21/lib/bundler/dsl.rb:7:in `instance_eval'
        from /home/Andrew/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.21/lib/bundler/dsl.rb:7:in `evaluate'
        from /home/Andrew/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.21/lib/bundler/definition.rb:17:in `build'
        from /home/Andrew/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.21/lib/bundler.rb:138:in `definition'
        from /home/Andrew/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.21/lib/bundler/cli.rb:219:in `install'
        from /home/Andrew/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.21/lib/bundler/vendor/thor/task.rb:22:in `run'
        from /home/Andrew/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.21/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
        from /home/Andrew/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.21/lib/bundler/vendor/thor.rb:263:in `dispatch'
        from /home/Andrew/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.21/lib/bundler/vendor/thor/base.rb:386:in `start'
        from /home/Andrew/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.21/bin/bundle:13:in `<top (required)>'
        from /home/Andrew/.rvm/gems/ruby-1.9.2-p290/bin/bundle:19:in `load'
        from /home/Andrew/.rvm/gems/ruby-1.9.2-p290/bin/bundle:19:in `<main>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions