bundler

Rbenv not using the correct version

扶醉桌前 提交于 2020-01-16 18:29:05
问题 In my rails project, when I try to run bundle install , I get the following error: Your Ruby version is 2.3.7, but your Gemfile specified 2.5.3 However, when I run ruby --version I get: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin18] ...and running rbenv version gives me: 2.5.3 (set by /Users/jamesmulholland/proj/repo-name/.ruby-version) What is cauing this the wrong version of Ruby to be used here, and how do I fix it? Other Context and Failed Fixes Running rbenv versions gives:

Ruby Rails Installation and Configuration Issues

微笑、不失礼 提交于 2020-01-16 07:36:12
问题 I had ruby 1.9.3 and I was trying to get the newest installed as well as get rails and gems and bundler etc all configured. It's extremely confusing and I'm getting lost in the weeds. I installed bitnami and was trying to follow the get started here: http://guides.rubyonrails.org/getting_started.html when try to do rails new blog in a command I get the following: c:\RailsBlog>rails new blog exist identical README.rdoc identical Rakefile identical config.ru identical .gitignore identical

Why bundler doesn't see customized gem source?

爱⌒轻易说出口 提交于 2020-01-16 04:12:30
问题 First of all the thing is that I'm behind firewall so I can't use https://rubygems.org/ $ bundle install rails bundle install requires at least 0 argument: "bundle install". git@gitdev $ bundle install Fetching gem metadata from https://rubygems.org/........... Fetching gem metadata from https://rubygems.org/.. Resolving dependencies... Using rake (10.0.4) Gem::RemoteFetcher::FetchError: SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A (https://s3.amazonaws.com

Updating gems on my mac - two versions of bundler installed

一笑奈何 提交于 2020-01-15 05:24:48
问题 I had tons of gems on my local machine which I were installed before and after RVM, so I decided to wipe them all and reinstall. Everything seemed to go ok, except bundler: gem list ..... bundler (1.1.3, 1.0.22) I don't know why 1.0.22 is still there, and I can't figure out how to get rid of it! $ gem cleanup Cleaning up installed gems... Attempting to uninstall bundler-1.0.22 Unable to uninstall bundler-1.0.22: Gem::InstallError: gem "bundler" is not installed Clean Up Complete $ gem

error with rake versioning when running specs in RubyMine; can I manually edit Gemfile.lock

坚强是说给别人听的谎言 提交于 2020-01-15 04:37:29
问题 I started getting this error and would like a way to fix it: You have already activated rake 10.1.1, but your Gemfile requires rake 10.1.0. Using bundle exec may solve this. I am running this from within RubyMine. I can see in my Gemfile.lock where it specifies 10.1.0. Can I just manually update my Gemfile.lock to 10.1.1? If I do: $gem list .... rake (10.1.1, 10.1.0, 10.0.4, 0.9.2.2) So I'm not sure why it isn't just working with 10.1.0? Here's the full output from RubyMine: /Users/jt/.rvm

Unable to install linecache19 gem

纵饮孤独 提交于 2020-01-15 03:41:06
问题 When i do bundle install im getting the following error "An error occurred while installing linecache19 (0.5.11), and Bundler cannot continue" . The complete trace is as follows : Installing linecache19 (0.5.11) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /home/raza/.rvm/rubies/ruby-1.9.3-p362/bin/ruby extconf.rb checking for vm_core.h... no /home/raza/.rvm/gems/ruby-1.9.3-p362@holla/gems/ruby_core_source-0.1.4/lib/ruby_core_source

gem install error: timed out https://api.rubygems.org/

不羁岁月 提交于 2020-01-14 19:15:36
问题 I am failing to install bundler . I am on Ubuntu 18 and have ruby 2.5.1 installed. Here is the output of running this command. gem install bundler --debug NOTE: Debugging mode prints all exceptions even when rescued Exception `LoadError' at /home/ikushlianski/.rbenv/versions/2.5.1/lib/ruby/2.5.0/resolv.rb:170 - LoadError Exception `Net::OpenTimeout' at /home/ikushlianski/.rbenv/versions/2.5.1/lib/ruby/2.5.0/net/http.rb:937 - execution expired Exception `Net::OpenTimeout' at /home/ikushlianski

gem install error: timed out https://api.rubygems.org/

本秂侑毒 提交于 2020-01-14 19:15:09
问题 I am failing to install bundler . I am on Ubuntu 18 and have ruby 2.5.1 installed. Here is the output of running this command. gem install bundler --debug NOTE: Debugging mode prints all exceptions even when rescued Exception `LoadError' at /home/ikushlianski/.rbenv/versions/2.5.1/lib/ruby/2.5.0/resolv.rb:170 - LoadError Exception `Net::OpenTimeout' at /home/ikushlianski/.rbenv/versions/2.5.1/lib/ruby/2.5.0/net/http.rb:937 - execution expired Exception `Net::OpenTimeout' at /home/ikushlianski

Bundle vs Minification,Which one is the best

只谈情不闲聊 提交于 2020-01-14 12:12:33
问题 I would like to know about which one of the following way is better. Bundle the css files and then use : bundles.Add(new StyleBundle("~/BootStrap/css").Include( "~/BootStrap/css/bootstrap.css", "~/BootStrap/css/bootstrap-responsive.css")); OR Use *.min file directly is as below : <link href="~/BootStrap/css/bootstrap.min.css" rel="stylesheet" /> <link href="~/BootStrap/css/bootstrap-responsive.min.css" rel="stylesheet" /> I would expect the explanation for performance wise and also as best

Bundle vs Minification,Which one is the best

我是研究僧i 提交于 2020-01-14 12:11:12
问题 I would like to know about which one of the following way is better. Bundle the css files and then use : bundles.Add(new StyleBundle("~/BootStrap/css").Include( "~/BootStrap/css/bootstrap.css", "~/BootStrap/css/bootstrap-responsive.css")); OR Use *.min file directly is as below : <link href="~/BootStrap/css/bootstrap.min.css" rel="stylesheet" /> <link href="~/BootStrap/css/bootstrap-responsive.min.css" rel="stylesheet" /> I would expect the explanation for performance wise and also as best