Ah, vedo che stai usando rbenv, assicurati che non sia presente anche
rvm e
in caso fosse presente, rimuovilo con:
rvm implode
Maurizio
My profile https://plus.google.com/100973969013103507046/about
Ah, vedo che stai usando rbenv, assicurati che non sia presente anche
rvm e
in caso fosse presente, rimuovilo con:
rvm implode
My profile https://plus.google.com/100973969013103507046/about
On 7 May 2012 15:03, Luca P. [email protected] wrote:
OT, ma usano tutti rbenv tranne me?
La prossima macchina che tiro su lo provo.
E’ nu babba’ =)
My profile https://plus.google.com/100973969013103507046/about
On 7 May 2012 15:07, bat cla [email protected] wrote:
I Risultati:
claudio@claudio-pc:~$ which rails
/home/claudio/.rbenv/shims/rails
claudio@claudio-pc:~$ rails -v
Rails 3.2.3
Ok, qua sembra andare tutto correttamente.
Giusto per sicurezza, hai installato anche bundler?
gem install bundler
Poi, ho letto i log che hai passato prima, ma non vedo la causa
dell’errore, sei sicuro di averli copiati interamente?
riprova con:
rails new justatest 2> new-app.txt
rails server 2> server.txt
e posta il contenuto di new-app.txt e server.txt
identical app/assets/javascripts/application.js
identical app/assets/stylesheets/application.css
identical app/controllers/application_controller.rb
identical app/helpers/application_helper.rb
exist app/mailers
exist app/models
identical app/views/layouts/application.html.erb
identical app/mailers/.gitkeep
identical app/models/.gitkeep
exist config
identical config/routes.rb
identical config/application.rb
identical config/environment.rb
exist config/environments
identical config/environments/development.rb
identical config/environments/production.rb
identical config/environments/test.rb
exist config/initializers
identical config/initializers/backtrace_silencers.rb
identical config/initializers/inflections.rb
identical config/initializers/mime_types.rb
conflict config/initializers/secret_token.rb
Overwrite /home/claudio/justatest/config/initializers/secret_token.rb?
(enter “h” for help) [Ynaqdh]
A questo punto lo do Y
exist
identical README.rdoc
identical Rakefile
identical config.ru
identical .gitignore
identical Gemfile
exist app
identical app/assets/images/rails.png
identical app/assets/javascripts/application.js
identical app/assets/stylesheets/application.css
identical app/controllers/application_controller.rb
identical app/helpers/application_helper.rb
exist app/mailers
exist app/models
identical app/views/layouts/application.html.erb
identical app/mailers/.gitkeep
identical app/models/.gitkeep
exist config
identical config/routes.rb
identical config/application.rb
identical config/environment.rb
exist config/environments
identical config/environments/development.rb
identical config/environments/production.rb
identical config/environments/test.rb
exist config/initializers
identical config/initializers/backtrace_silencers.rb
identical config/initializers/inflections.rb
identical config/initializers/mime_types.rb
conflict config/initializers/secret_token.rb
Overwrite /home/claudio/justatest/config/initializers/secret_token.rb?
(enter “h” for help) [Ynaqdh] ^C
claudio@claudio-pc:~$ clear
claudio@claudio-pc:~$ rails new justatest 2> new-app.txt
exist
identical README.rdoc
identical Rakefile
identical config.ru
identical .gitignore
identical Gemfile
exist app
identical app/assets/images/rails.png
identical app/assets/javascripts/application.js
identical app/assets/stylesheets/application.css
identical app/controllers/application_controller.rb
identical app/helpers/application_helper.rb
exist app/mailers
exist app/models
identical app/views/layouts/application.html.erb
identical app/mailers/.gitkeep
identical app/models/.gitkeep
exist config
identical config/routes.rb
identical config/application.rb
identical config/environment.rb
exist config/environments
identical config/environments/development.rb
identical config/environments/production.rb
identical config/environments/test.rb
exist config/initializers
identical config/initializers/backtrace_silencers.rb
identical config/initializers/inflections.rb
identical config/initializers/mime_types.rb
conflict config/initializers/secret_token.rb
Overwrite /home/claudio/justatest/config/initializers/secret_token.rb?
(enter “h” for help) [Ynaqdh] Y
force config/initializers/secret_token.rb
identical config/initializers/session_store.rb
identical config/initializers/wrap_parameters.rb
exist config/locales
identical config/locales/en.yml
identical config/boot.rb
identical config/database.yml
exist db
identical db/seeds.rb
exist doc
identical doc/README_FOR_APP
exist lib
exist lib/tasks
identical lib/tasks/.gitkeep
exist lib/assets
identical lib/assets/.gitkeep
exist log
identical log/.gitkeep
exist public
identical public/404.html
identical public/422.html
identical public/500.html
identical public/favicon.ico
identical public/index.html
identical public/robots.txt
exist script
identical script/rails
exist test/fixtures
identical test/fixtures/.gitkeep
exist test/functional
identical test/functional/.gitkeep
exist test/integration
identical test/integration/.gitkeep
exist test/unit
identical test/unit/.gitkeep
identical test/performance/browsing_test.rb
identical test/test_helper.rb
exist tmp/cache
exist tmp/cache/assets
exist vendor/assets/javascripts
identical vendor/assets/javascripts/.gitkeep
exist vendor/assets/stylesheets
identical vendor/assets/stylesheets/.gitkeep
exist vendor/plugins
identical vendor/plugins/.gitkeep
run bundle install
Using rake (0.9.2.2)
Using i18n (0.6.0)
Using multi_json (1.3.4)
Using activesupport (3.2.3)
Using builder (3.0.0)
Using activemodel (3.2.3)
Using erubis (2.7.0)
Using journey (1.0.3)
Using rack (1.4.1)
Using rack-cache (1.2)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.1.3)
Using actionpack (3.2.3)
Using mime-types (1.18)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.4.4)
Using actionmailer (3.2.3)
Using arel (3.0.2)
Using tzinfo (0.3.33)
Using activerecord (3.2.3)
Using activeresource (3.2.3)
Using coffee-script-source (1.3.1)
Using execjs (1.3.1)
Using coffee-script (2.2.0)
Using rack-ssl (1.3.2)
Using json (1.7.1)
Using rdoc (3.12)
Using thor (0.14.6)
Using railties (3.2.3)
Using coffee-rails (3.2.2)
Using jquery-rails (2.0.2)
Using bundler (1.1.3)
Using rails (3.2.3)
Using sass (3.1.17)
Using sass-rails (3.2.5)
Using sqlite3 (1.3.6)
Using uglifier (1.2.4)
Your bundle is complete! Use bundle show [gemname]
to see where a
bundled gem is installed.
Maurizio De magnis wrote in post #1059848:
On 7 May 2012 15:07, bat cla [email protected] wrote:
I Risultati:
claudio@claudio-pc:~$ which rails
/home/claudio/.rbenv/shims/rails
claudio@claudio-pc:~$ rails -v
Rails 3.2.3Ok, qua sembra andare tutto correttamente.
Giusto per sicurezza, hai installato anche bundler?gem install bundler
Poi, ho letto i log che hai passato prima, ma non vedo la causa
dell’errore, sei sicuro di averli copiati interamente?riprova con:
rails new justatest 2> new-app.txt
rails server 2> server.txt
e posta il contenuto di new-app.txt e server.txt
Perfetto, ora se entri dentro la cartella del progetto creato e lanci
rails server
non dovresti ottenere degli errori (spero ;-))
My profile https://plus.google.com/100973969013103507046/about
Maurizio De magnis wrote in post #1059841:
Prova a dare l’output di questi comandi:
rbenv rehash
which rails
rails -vMaurizio
My profile https://plus.google.com/100973969013103507046/about
I Risultati:
claudio@claudio-pc:~$ which rails
/home/claudio/.rbenv/shims/rails
claudio@claudio-pc:~$ rails -v
Rails 3.2.3
Maurizio De magnis wrote in post #1059850:
Perfetto, ora se entri dentro la cartella del progetto creato e lanci
rails server
non dovresti ottenere degli errori (spero ;-))
Maurizio
My profile https://plus.google.com/100973969013103507046/about
Maurizio hai una pazienza infinita
claudio@claudio-pc:~$ cd justatest
claudio@claudio-pc:~/justatest$ rails server
/home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/execjs-1.3.1/lib/execjs/runtimes.rb:50:in
autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable) from /home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/execjs-1.3.1/lib/execjs.rb:5:in
module:ExecJS’
from
/home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/execjs-1.3.1/lib/execjs.rb:4:in
<top (required)>' from /home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in
require’
from
/home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in
<top (required)>' from /home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in
require’
from
/home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in
<top (required)>' from /home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in
require’
from
/home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in
<top (required)>' from /home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in
require’
from
/home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in
block (2 levels) in require' from /home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in
each’
from
/home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in
block in require' from /home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in
each’
from
/home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in
require' from /home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler.rb:119:in
require’
from /home/claudio/justatest/config/application.rb:7:in <top (required)>' from /home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/commands.rb:53:in
require’
from
/home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/commands.rb:53:in
block in <top (required)>' from /home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/commands.rb:50:in
tap’
from
/home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/commands.rb:50:in
<top (required)>' from script/rails:6:in
require’
from script/rails:6:in `’
On 7 May 2012 15:32, bat cla [email protected] wrote:
[cut]
Maurizio hai una pazienza infinita
claudio@claudio-pc:~$ cd justatest
claudio@claudio-pc:~/justatest$ rails server
/home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/execjs-1.3.1/lib/execjs/runtimes.rb:50:in
`autodetect’: Could not find a JavaScript runtime. See
GitHub - sstephenson/execjs: Run JavaScript code from Ruby for a list of available runtimes.
(ExecJS::RuntimeUnavailable)
ok, mancherebbe solo:
sudo apt-get install nodejs
Maurizio De magnis wrote in post #1059852:
On 7 May 2012 15:32, bat cla [email protected] wrote:
[cut]Maurizio hai una pazienza infinita
claudio@claudio-pc:~$ cd justatest
claudio@claudio-pc:~/justatest$ rails server
/home/claudio/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/execjs-1.3.1/lib/execjs/runtimes.rb:50:in
`autodetect’: Could not find a JavaScript runtime. See
GitHub - sstephenson/execjs: Run JavaScript code from Ruby for a list of available runtimes.
(ExecJS::RuntimeUnavailable)ok, mancherebbe solo:
sudo apt-get install nodejs
Finalmente
Maurizio Grazie
mi piacerebbe saper lo che tu sai
hora faccio un file con tutte i passi necessari.
Una ultima cosa …
Con que ID tu programmi?
Cuando vieni a Madrid ti invito a una “Paella”
Grazie di tutto
Un saluto
Maurizio for president!
2012/5/7 maurizio de magnis [email protected]
On 7 May 2012 15:48, bat cla [email protected] wrote:
Finalmente
Maurizio GraziePrego!
–
Andrea R.
Lelylan | reThink your house
http://lelylan.com
On 7 May 2012 15:53, Andrea R. [email protected] wrote:
Maurizio for president!
[image: Inline images 1]
Maurizio De magnis wrote in post #1059859:
On 7 May 2012 15:53, Andrea R. [email protected] wrote:
Maurizio for president!
[image: Inline images 1]
Ciao Maurizio,
quasi, quasi sono riuscito a istalarlo anche in windows 7
pero mi da un errore
ti mando una imagine del errore
mi quiede “JSON”
un saluto
On 7 May 2012 15:48, bat cla [email protected] wrote:
Finalmente
Maurizio Grazie
Prego!
mi piacerebbe saper lo che tu sai
hora faccio un file con tutte i passi necessari.
Ho fatto il gist proprio per questo motivo, cosi’ le volte successive
non
incappo negli stessi problemi
Una ultima cosa …
Con que ID tu programmi?
Su GitHub uso il nick “olistik” mentre tutti i miei profili (twitter,
etc)
sono qui:
https://plus.google.com/100973969013103507046/about
Cuando vieni a Madrid ti invito a una “Paella”
Ottimo! =)
On 7 May 2012 18:37, bat cla [email protected] wrote:
Ciao Maurizio,
quasi, quasi sono riuscito a istalarlo anche in windows 7
pero mi da un errore
ti mando una imagine del erroremi quiede “JSON”
Ti dice che devi installare il DevKit, prova a scaricarlo e a seguire le
istruzioni presenti nella pagina github menzionata
My profile https://plus.google.com/100973969013103507046/about
bat cla wrote in post #1059892:
Maurizio De magnis wrote in post #1059859:
On 7 May 2012 15:53, Andrea R. [email protected] wrote:
Maurizio for president!
[image: Inline images 1]
Ciao Maurizio,
quasi, quasi sono riuscito a istalarlo anche in windows 7
pero mi da un errore
ti mando una imagine del erroremi quiede “JSON”
un saluto
OK ho trovato dove sbagliavo grazie a tutti
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs