Ruby on Rails Saturday, January 21, 2012

Ok, I try, but, look what happen when I put rvm get stable

felipe@Felipe:~$ rvm get stable
felipe@Felipe:~$

nothing...

I'm brazilian, so, the language is portuguese, but I guess is easy to
know the error messages.

felipe@Felipe:~$ rvm get stable
felipe@Felipe:~$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
felipe@Felipe:~$ which ruby
/usr/local/bin/ruby
felipe@Felipe:~$ gem -v
1.8.15
felipe@Felipe:~$ which gem
/usr/local/bin/gem
felipe@Felipe:~$ echo $PATH
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
felipe@Felipe:~$ rvm use 1.9.3 --default
WARN: ruby ruby-1.9.3 is not installed.
To install do: 'rvm install ruby-1.9.3'
felipe@Felipe:~$ rvm list

rvm rubies


felipe@Felipe:~$ rvm gemset create first_app
mkdir: é impossível criar o diretório
"/usr/local/lib/ruby/gems/1.9.1@first_app": Permissão negada
'first_app' gemset created (/usr/local/lib/ruby/gems/1.9.1@first_app).
felipe@Felipe:~$ gem install rails
ERROR: Loading command: install (LoadError)
no such file to load -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand
felipe@Felipe:~$ rails help
O programa 'rails' não está instalado no momento. Você pode instalá-lo
digitando:
sudo apt-get install rails
felipe@Felipe:~$ rails new first_app -skip-bundle
O programa 'rails' não está instalado no momento. Você pode instalá-lo
digitando:
sudo apt-get install rails
felipe@Felipe:~$ cd first_app
bash: cd: first_app: Arquivo ou diretório não encontrado
felipe@Felipe:~$ echo "gem 'therubyracer'" >> Gemfile
felipe@Felipe:~$ bundle install
O programa 'bundle' não está instalado no momento. Você pode instalá-lo
digitando:
sudo apt-get install ruby-bundler
felipe@Felipe:~$ rake environment
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
/usr/local/lib/ruby/1.9.1/rake.rb:2367:in `raw_load_rakefile'
/usr/local/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile'
/usr/local/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling'
/usr/local/lib/ruby/1.9.1/rake.rb:2006:in `load_rakefile'
/usr/local/lib/ruby/1.9.1/rake.rb:1991:in `run'
/usr/local/bin/rake:31:in `<main>'
felipe@Felipe:~$


Thank's

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment