{"action":"created","issue":{"url":"https://api.github.com/repos/bundler/bundler/issues/4698","repository_url":"https://api.github.com/repos/bundler/bundler","labels_url":"https://api.github.com/repos/bundler/bundler/issues/4698/labels{/name}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/4698/comments","events_url":"https://api.github.com/repos/bundler/bundler/issues/4698/events","html_url":"https://github.com/bundler/bundler/issues/4698","id":161660331,"number":4698,"title":"Error while installing redmine","user":{"login":"raresm79","id":20089335,"avatar_url":"https://avatars.githubusercontent.com/u/20089335?v=3","gravatar_id":"","url":"https://api.github.com/users/raresm79","html_url":"https://github.com/raresm79","followers_url":"https://api.github.com/users/raresm79/followers","following_url":"https://api.github.com/users/raresm79/following{/other_user}","gists_url":"https://api.github.com/users/raresm79/gists{/gist_id}","starred_url":"https://api.github.com/users/raresm79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raresm79/subscriptions","organizations_url":"https://api.github.com/users/raresm79/orgs","repos_url":"https://api.github.com/users/raresm79/repos","events_url":"https://api.github.com/users/raresm79/events{/privacy}","received_events_url":"https://api.github.com/users/raresm79/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-22T11:44:10Z","updated_at":"2016-06-22T16:00:03Z","closed_at":null,"body":"hi,\r\n\r\nI'm trying to setup redmine 3.3.0 in the following environment:\r\n\r\n  Bundler   1.12.5\r\n  Rubygems  1.4.2\r\n  Ruby      2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]\r\n  GEM_HOME  /usr/local/lib/ruby/gems/2.3.0\r\n  GEM_PATH  /usr/local/lib/ruby/gems/2.3.0:/root/.gem/ruby/2.3.0\r\n  Git       1.7.1\r\n\r\nbut when running command $bundler install I get the following error:\r\n\r\n[root@ssredmine01 redmine]# bundler install\r\nDon't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application\r\nfor all non-root users on this machine.\r\n--- ERROR REPORT TEMPLATE -------------------------------------------------------\r\n- What did you do?\r\n\r\n  I ran the command `/usr/local/bin/bundler install`\r\n\r\n- What did you expect to happen?\r\n\r\n  I expected Bundler to...\r\n\r\n- What happened instead?\r\n\r\n  Instead, what actually happened was...\r\n\r\n\r\nError details\r\n\r\n    RuntimeError: can't modify frozen String\r\n      /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/version.rb:191:in `strip!'\r\n      /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/version.rb:191:in `initialize'\r\n      /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/version.rb:178:in `new'\r\n      /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/version.rb:178:in `create'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/lockfile_parser.rb:30:in `<class:LockfileParser>'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/lockfile_parser.rb:15:in `<module:Bundler>'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/lockfile_parser.rb:14:in `<top (required)>'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/definition.rb:2:in `require'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/definition.rb:2:in `<top (required)>'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler.rb:123:in `require'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler.rb:123:in `definition'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/cli/install.rb:99:in `run'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/cli.rb:175:in `install'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/cli.rb:11:in `start'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/exe/bundler:21:in `block in <top (required)>'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/friendly_errors.rb:98:in `with_friendly_errors'\r\n      /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/exe/bundler:19:in `<top (required)>'\r\n      /usr/local/bin/bundler:19:in `load'\r\n      /usr/local/bin/bundler:19:in `<main>'\r\n\r\nEnvironment\r\n\r\n  Bundler   1.12.5\r\n  Rubygems  1.4.2\r\n  Ruby      2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]\r\n  GEM_HOME  /usr/local/lib/ruby/gems/2.3.0\r\n  GEM_PATH  /usr/local/lib/ruby/gems/2.3.0:/root/.gem/ruby/2.3.0\r\n  Git       1.7.1\r\n\r\n      Bundler settings\r\n\r\n  orig_path\r\n    Set via BUNDLE_ORIG_PATH: \"/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin\"\r\n--- TEMPLATE END ----------------------------------------------------------------\r\n\r\nUnfortunately, an unexpected error occurred, and Bundler cannot continue.\r\n\r\nFirst, try this link to see if there are any existing issue reports for this error:\r\nhttps://github.com/bundler/bundler/search?q=can%27t+modify+frozen+String&type=Issues\r\n\r\nIf there aren't any reports for this error yet, please create copy and paste the report template above into a new issue. Don't forget                                                                                                         to anonymize any private data! The new issue form is located at:\r\nhttps://github.com/bundler/bundler/issues/new\r\n\r\n\r\nI've found similar error messages, but nothing exactly the same and from the other threads I've read this error should be solved in bundler 1.12.5 \r\nI'm not a developer and not really familiar with ruby, I'm just following the install steps from redmine website. \r\n\r\nIf someone can throw a tip on how can I get passed this error, I would appreciate it.\r\n\r\nThanks\r\nRares \r\n"},"comment":{"url":"https://api.github.com/repos/bundler/bundler/issues/comments/227791084","html_url":"https://github.com/bundler/bundler/issues/4698#issuecomment-227791084","issue_url":"https://api.github.com/repos/bundler/bundler/issues/4698","id":227791084,"user":{"login":"segiddins","id":1946610,"avatar_url":"https://avatars.githubusercontent.com/u/1946610?v=3","gravatar_id":"","url":"https://api.github.com/users/segiddins","html_url":"https://github.com/segiddins","followers_url":"https://api.github.com/users/segiddins/followers","following_url":"https://api.github.com/users/segiddins/following{/other_user}","gists_url":"https://api.github.com/users/segiddins/gists{/gist_id}","starred_url":"https://api.github.com/users/segiddins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segiddins/subscriptions","organizations_url":"https://api.github.com/users/segiddins/orgs","repos_url":"https://api.github.com/users/segiddins/repos","events_url":"https://api.github.com/users/segiddins/events{/privacy}","received_events_url":"https://api.github.com/users/segiddins/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T16:00:02Z","updated_at":"2016-06-22T16:00:02Z","body":"@allenzhao that's not the issue... the problem is RubyGems 1.4.2 combined with Ruby 2.3, which means frozen string literals. Thanks for the issue, @raresm79 !"}}
{"actor":{"display_login":"segiddins"}}