gem-bundler

Does PHP have like ruby gem bundler?

£可爱£侵袭症+ 提交于 2019-12-20 12:34:08
问题 I am PHP programmer that know Rails. Ruby gem bundler very good tool to install dependencies, does php have something like that?(maybe some php framework have such tool). Expanation about gem bundler: Bundler manages an application's dependencies through its entire life across many machines systematically and repeatably. 回答1: There is Composer. Composer is a package manager tracking local dependencies of your projects and libraries. Then you have Packagist (which is the main Composer

Gem install wrong number of arguments (given 1, expected 0)

最后都变了- 提交于 2019-12-20 01:11:25
问题 When I run bundle , I get the following: The `bundle' command exists in these Ruby versions: 2.1.8 2.4.2 jruby-9.1.15.0 My project uses Ruby-2.5.1, so I'm trying to update my bundler using gem install bundler , but I get the following error: ERROR: While executing gem ... (ArgumentError) wrong number of arguments (given 1, expected 0) Using --backtrace /Users/spencerbailey/.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:47:in `require' /Users/spencerbailey/

How to downgrade bundler or upgrade rails?

吃可爱长大的小学妹 提交于 2019-12-03 05:23:35
问题 I added omniauth gem to my gemfile and tried to run bundle install, but got a message about incompatibility of rails and bundler versions. I tried to update rails, but got messages about incompatibility with other gems. How can I downgrade bundler to 1.0? $ bundle install Fetching gem metadata from http://rubygems.org/...... Fetching gem metadata from http://rubygems.org/.. Bundler could not find compatible versions for gem "bundler": In Gemfile: rails (= 3.0.0) ruby depends on bundler (~> 1

Does PHP have like ruby gem bundler?

浪尽此生 提交于 2019-12-03 03:43:22
I am PHP programmer that know Rails. Ruby gem bundler very good tool to install dependencies, does php have something like that?(maybe some php framework have such tool). Expanation about gem bundler: Bundler manages an application's dependencies through its entire life across many machines systematically and repeatably. There is Composer . Composer is a package manager tracking local dependencies of your projects and libraries. Then you have Packagist (which is the main Composer repository). Packagist is the main Composer repository. It aggregates all sorts of PHP packages that are

How to downgrade bundler or upgrade rails?

℡╲_俬逩灬. 提交于 2019-12-02 18:40:56
I added omniauth gem to my gemfile and tried to run bundle install, but got a message about incompatibility of rails and bundler versions. I tried to update rails, but got messages about incompatibility with other gems. How can I downgrade bundler to 1.0? $ bundle install Fetching gem metadata from http://rubygems.org/...... Fetching gem metadata from http://rubygems.org/.. Bundler could not find compatible versions for gem "bundler": In Gemfile: rails (= 3.0.0) ruby depends on bundler (~> 1.0.0) ruby Current Bundler version: bundler (1.1.1) This Gemfile requires a different version of Bundler

Gem::Ext::BuildError: ERROR: Failed to build gem native extension. on CenOS 6.5

家住魔仙堡 提交于 2019-12-02 04:12:21
问题 Installing Redmine. I've tried, bundle install --without development test postgresql sqlite , but error. Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /usr/local/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator /usr/local/bin/ruby -r ./siteconf20161228-21055-1dxe9y9.rb extconf.rb creating Makefile current directory: /usr/local/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator make "DESTDIR=" clean current directory: /usr/local/lib

Bundler::RubyVersionMismatch: Your Ruby version is 1.9.3, but your Gemfile specified 2.0.0

安稳与你 提交于 2019-12-01 16:43:19
问题 I am using a Mac with Pow, Ruby, Rails and a bunch of useful gems. I recently got this error whenever I try to open my app. Bundler::RubyVersionMismatch: Your Ruby version is 1.9.3, but your Gemfile specified 2.0.0 I understand the error, but I can't find why it is not using the proper version here. Some information that can be useful: Stack Trace Bundler::RubyVersionMismatch: Your Ruby version is 1.9.3, but your Gemfile specified 2.0.0 ~/.rvm/gems/ruby-2.0.0-p247/gems/bundler-1.3.5/lib

cannot load railtie after upgrade to rails 4 per ruby.railstutorial.org

十年热恋 提交于 2019-11-28 09:35:23
OS is Ubuntu 12.04, 64 bit. New to rails. Relatively new to Ruby. Following the ruby.railstutorial.org tutorial, chapter 3. The tutorial has been updated to use ruby 2.0.0 and Rails 4.0.0.rc1. Previously the gemfile was specifying Rails 3.2.13 and not specifying Ruby version. After moving to the latest Gemfile in the tutorial, ruby 2.0.0 and Rails 4.0.0.rc1, I'm getting the following error when running rails commands. Example here is rails server user@machine:~/bin/railslearn/sample_app$ rails server /home/paul/bin/railslearn/sample_app/config/application.rb:7:in `require': cannot load such

You don't have write permissions for the /var/lib/gems/2.3.0 directory

亡梦爱人 提交于 2019-11-28 03:17:57
I have ruby installed on my ubuntu 16.04. $which ruby /usr/bin/ruby $ruby -v ruby 2.3.0p0 (2015-12-25) [x86_64-linux-gnu] $gem install bundler ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /var/lib/gems/2.3.0 directory. Any help will be greatly appreciated! derek You first need to uninstall the ruby installed by Ubuntu with something like sudo apt-get remove ruby . Then reinstall ruby using rbenv and ruby-build according to their docs: cd $HOME sudo apt-get update sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev

cannot load railtie after upgrade to rails 4 per ruby.railstutorial.org

我只是一个虾纸丫 提交于 2019-11-27 03:01:32
问题 OS is Ubuntu 12.04, 64 bit. New to rails. Relatively new to Ruby. Following the ruby.railstutorial.org tutorial, chapter 3. The tutorial has been updated to use ruby 2.0.0 and Rails 4.0.0.rc1. Previously the gemfile was specifying Rails 3.2.13 and not specifying Ruby version. After moving to the latest Gemfile in the tutorial, ruby 2.0.0 and Rails 4.0.0.rc1, I'm getting the following error when running rails commands. Example here is rails server user@machine:~/bin/railslearn/sample_app$