similar to: Problem using rvm in bash script

Displaying 20 results from an estimated 4000 matches similar to: "Problem using rvm in bash script"

2011 Apr 18
2
rubygems fail - require hpricot!
Hi guys, I wanted to fetch some info from webpage and use it in my db. I read hpricot is one way to do it. But the problem is I''m unable to use it with my app. For some reason after successfully installing hpricot it fails when I try to use it in the rails console. I''ve been trying to fix this for the last four-five days. I''m stumped ! I tried re-installing everything
2012 Dec 03
10
Starting rails server problem
Still fairly new to Ruby and Rails in general and trying to figure out how to address this error. I recently migrated to a new computer and now I get this error message when I try to start the rails server. -bash: /Users/user1/.rvm/gems/ruby-1.9.3-p125/bin/rails: /Users/user/.rvm/rubies/ruby-1.9.3-p125/bin/ruby: bad interpreter: No such file or directory I know what the problem is and
2012 Feb 06
3
Bundler - how to re-install all gems after os update?
I had a working Rails setup using RVM on Ubuntu 11.10 with /home on a separate partition. I installed Ubuntu 12.04 (Alpha) on the root partition, leaving the home partition unchanged. I now find that some things don''t work, I think due to the fact that the system has been updated and versions of libraries have changed. For example I get: $ rails c
2010 Dec 27
6
RVM Issue
I''m a total rails newb and is trying to install RVM. The terminal tells me that RVM installed just fine but when I try commands like "rvm notes" or "rvm install 1.9.2" I get: "-bash: rvm: command not found" Does anyone know why? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to
2012 Feb 01
10
Very strange problem: Ton's of ruby process just running simple command "rails --version" or "rails
Very strange problem: Ton''s of ruby process just running simple command "rails --version" or "rails new test1"" I have very strange problem. I try to run this simple command "rails new test1" --> this suppose to be create a new rails site. "rails --version" --> even this I got ton''s of ruby process but I got a lot of ruby
2011 Aug 22
6
Trouble with Ruby on Rails
Some background info: I am an OS X user, and my MAC system is OS X 10.6.8(snow leopard). @1st problem (regarding Ruby on Rails installation): I have installed ruby "1.9.2" with RVM. When I typed "ruby -v" command in terminal after installation, it says that the ruby version I have is "1.8.7". Strange, isn''t it? So, I have tried "rvm use 1.9.2"
2010 Dec 09
0
Re: How to use unicorn server on Rails 3 [Solved]
On 8 December 2010 21:25, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > I am using Rails 3.0.3, Ruby 1.9.2 with rvm on Ubunutu 10.04.  I > generated a new app by rails new testunicorn.  By default the Webrick > server runs ok.  In order to try Unicorn I uncommented gem ''unicorn'' > in Gemfile and did bundle install.  rails server still runs
2011 Feb 10
8
rvm install 1.8.7 prompts "There has been an error while running make. Halting the installation."
I want to work with both Rails 2 and Rails 3 projects. I have RVM installed. When I upgraded to Rails 3, Installed RVM via terminal: bash < <( curl http://rvm.beginrescueend.com/releases/ … ll-latest) version=$(curl http://rvm.beginrescueend.com/releases/ … sion.txt); mkdir -p ~/.rvm/src/ && cd ~/.rvm/src/ && curl -O http://rvm.beginrescueend.com/releases/ … on}.tar.gz |
2010 Dec 22
5
rvm, rails and sqlite
i need to use old version of ruby (1.8.7) and older version of rails (2.1.0) so i decided to use rvm. however since i''m somewhat new to ruby and rails i''m having issues. i created a gemset with rvm for my project, installed rails 2.1.0 into it. after that i created a project and a scaffolding for it. however i bumped onto an issue with sqlite3 (or sqlite3-ruby). it seems to me
2013 Oct 16
1
Issue with Deploying a Rails app on VPS - cannot load such file -- unicorn/launcher
I am trying to deploy a rails application to a digitalocean VPS droplet. I have the following setup Ruby on Rails on Ubuntu 12.10 (Nginx + Unicorn). I have installed Ruby ruby-2.0.0-p247 and rails Rails 4.0.0 via rvm but when I try to restart Unicorn I get the following error. /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems /core_ext/kernel_require.rb:45:in
2012 Jan 21
16
Installing rails on Ubuntu
Hello, I''m trying to install the rails on ubuntu 11.10, but when I put the command felipe@Felipe:~/Downloads/rubygems-1.8.15$ sudo gem install rails --no-r1 --no-rdoc ERROR: Loading command: install (LoadError) no such file to load -- zlib ERROR: While executing gem ... (NameError) uninitialized constant Gem::Commands::InstallCommand felipe@Felipe:~/Downloads/rubygems-1.8.15$
2010 Oct 12
6
RVM on a Macbook
I have a Macbook with Snow Leopard and Macports. I have successfully run the script displayed below the heading "The following script will boostrap git + RVM..." on the page: http://rvm.beginrescueend.com/rvm/install/ However I can find no .bash_profile or .bashrc on my machine. The closest existing files are .profile in my root, .bash_login in my root, and setup.bash.in in a subfolder
2013 May 14
1
rvm/capistrano
When I ran cap deploy:setup, the following actually installed rvm, ruby and the online_store gemset on my staging server: set :rvm_ruby_string, ''ruby-1.9.3-p0@online_store'' set :rvm_autolibs_flag, "read-only" set :rvm_type, :system set :rvm_install_with_sudo, true before ''deploy:setup'', ''rvm:install_rvm'' # install RVM before
2010 Jul 01
2
Rails3 rails console throws error
Hi, I am trying Rails 3 and I am using RVM to manage the ruby versions. Using RVM I had installed ruby versions 1.8.7, 1.9.1 and 1.9.2 When I do "rails console" I am getting the following error and console isn''t starting: http://www.pastie.org/1026503 Since I dont require 1.9.1 any more to work with Rails 3, I un-installed it using the following command: rvm uninstall
2010 Aug 30
10
Trouble with rvm (Ruby Version Manager)
Hi-- Am having trouble with rvm. Successfully installed it, but when I tried to install Ruby 1.8.7, here is the error I got: Paul-Denlingers-MacBook-Pro:~ pdenlinger$ rvm install 1.8.7 -bash: rvm: command not found Tried closing terminal, quitting terminal, opening another tab, etc. but continued to get same error. What to do? Thanks! -- You received this message because you are subscribed
2011 Dec 14
30
How can I get RVM/Passenger/Apache2 to play nicely together
Hello all, Can anyone point me to any solid documentation on how to set up a production server using RVM, Passenger, and Apache2? I have been at this for a week with absolutely no luck at all so I thought I would post here to see if anyone has managed to get this to work and written down the steps they used. Right now with my current implementation, I am getting a 404 error when I attempt to
2010 Sep 17
3
How to create a project with an older version of rails
Hi, I have installed Rails 3 on my local machine. Let''s say I wan''t to create a new project but in version 2.3.5, can I do that? Greg -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2010 Nov 22
6
Should be obvious, but how do I even know what versions of ruby are available for rvm to use with rvm install?
I''m getting back to learning rails and at one point I used rvm to install some rubies. Now I''m playing dumb and want to install the latest ruby version - latest beta. How in the world do I found out the name of it? I''d think it would be named somewhere here http://www.ruby-lang.org/en/downloads/ and then I could just do rvm install ruby-XYZ. I don''t get where I
2011 Oct 12
36
ROR setup on ubuntu machine
I am new to ROR, i need to setup ROR on my ubuntu machine. can u give some steps to follow for ROR? or some effective tutorials link to setup this? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/ciRx6txsgY4J. To post to this group, send
2011 Mar 07
3
.rvmrc file not working?
hello, i am trying to install gemsets but my .rvmrc file not working so i have create gem sets with the command rvm gemset create rails3 but when i am using rvm info its not showing the gemsets in the environment.. this is the content of .rvmrc file rvm 1.9.2@rails3 --create..help me guys.. thanks nishant -- You received this message because you are subscribed to the Google Groups "Ruby