I'm trying to install rails to run an app, and I'm using the directions from a stack overflow question
but when i try to do the step
"bundle install mysql" I'm getting the error "ERROR: 'bundle install' was called with arguments["mysql"]
Usage:"bundle install"
I would love to get some help...
As #bjhaid pointed out, you type either
bundle install
or
gem install <package>
bundle install is for installing all packages listed in the Gemfile.
Related
When I try to run bundle install from the project, I get the following error:
unavalible Gem :: SafeYAML when to run 'bundle install'
my version of rubygem is:
2.0.14
After investigating what I could solve with the following steps:
1.-Download the zip file from the following download and add it to the root of the project
2.- If you don't have any RubyGems installed, there is still the pre-gem approach to getting software, doing it manually:
2.1-Download from above
2.2-Unpack into a directory and cd there
2.3-Install with: ruby setup.rb (you may need admin/root privilege)
2.4- like sudo:
gem update --system
3. run:
bundle install
I run into this error while trying to run bundle install.
An error occurred while installing nokogiri (1.6.8.1), and Bundler
cannot continue.
Make sure that gem install nokogiri -v '1.6.8.1' succeeds before bundling.
Could someone help me plse? thanks
It seems to me that this issues is similar to the one discussed in the following link:
Running "bundle install" fails and asks me to run "bundle install"
Every time i install a gem on production using bundle install i got this error
Could not find rake-10.4.2 in any of the sources (Bundler::GemNotFound)
Also i get the following warning when i do a bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.
I tried removing the Gemfile.lock and re-installed the gems but it still not working
Thanks in advance.
I executed 'gem install mongoid' and 'gem install bundler' to work with MongoDB in Rubyonrails these two commands executed with out any errors but when i am trying to execute bundle update
I am getting errors like Bundler could not find compatible version for gem "äctivemodel" in Gemfile:.I am new to ruby programming rails and mongodb can you help me to resolve this isssue?
I solved it by deleting the lock rm Gemfile.lock and again running bundle install
while i was trying to run this code "bundle install --without production"
I am getting an error like
"The program 'bundle' is currently not installed. You can install it by typing:
sudo apt-get install ruby-bundler
"
I have installed bundle already but still getting this error.
This problem occurred while i was learning from Harlt's.."Updating Gemfile" at Heroku setup section
First Set up the PATH variable for the installed ruby executable(Suppose the installed ruby is ruby-2.0.0-p451):
PATH=$PATH:$HOME/.rvm/gems/ruby-2.0.0-p451/bin
and then run,
gem install bundler (if bundler is not installed)
and lastly run,
rvm use ruby-2.0.0-p451 --default (--default is optional).
There you go. Now you would be able to run bundle command with out any issues.
Hope it helps :)
For those, who uses rbenv receipt is:
gem install bundler
rbenv rehash
bundle