Leonardo,

Yes, the executable are on my path. However, you suggested to type *node*,
which was the only one I had not installed.
I downloaded and built *node* and now I am past that issue.

However, NOW I have other issues. This is like pulling teeth. If I did not
want to learn Rails so badly, I would drop this altogether.

This is what I am getting now:

# rake db:create
(in /opt/rails_3.1.0/Code/Ruby/blog)
rake aborted!
uninitialized constant Rake::DSL
/usr/local/lib/ruby/1.9.1/rake.rb:2482:in `const_missing'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/tasklib.rb:8:in
`<class:TaskLib>'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/tasklib.rb:6:in
`<module:Rake>'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/tasklib.rb:3:in
`<top (required)>'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/testtask.rb:4:in
`require'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/testtask.rb:4:in
`<top (required)>'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/test_unit/testing.rake:2:in
`require'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/test_unit/testing.rake:2:in
`<top (required)>'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/test_unit/railtie.rb:12:in
`load'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/test_unit/railtie.rb:12:in
`block in <class:TestUnitRailtie>'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/railtie.rb:183:in
`call'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/railtie.rb:183:in
`block in load_tasks'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/railtie.rb:183:in
`each'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/railtie.rb:183:in
`load_tasks'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/engine.rb:395:in
`block in load_tasks'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/application/railties.rb:8:in
`each'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/application/railties.rb:8:in
`all'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/engine.rb:395:in
`load_tasks'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/application.rb:99:in
`load_tasks'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/railtie/configurable.rb:30:in
`method_missing'
/opt/rails_3.1.0/Code/Ruby/blog/Rakefile:7:in `<top (required)>'
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `load'
/usr/local/lib/ruby/1.9.1/rake.rb:2373: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>'



 Fri, Oct 7, 2011 at 1:26 PM, Leonardo Mateo <[email protected]>wrote:

> On Fri, Oct 7, 2011 at 1:38 PM, Ruby Student <[email protected]>
> wrote:
> >
> >
> > On Thu, Oct 6, 2011 at 4:20 PM, Colin Law <[email protected]>
> wrote:
> >>
> >> On 6 October 2011 21:09, Ruby Student <[email protected]> wrote:
> >> > I'm sorry, I thought I said on my post that I tried the suggestion
> from
> >> > the
> >> > failure messages.
> >> > Anyway, this is what I got:
> >> >
> >> > port install sqlite3 +universal
> >> > Command not found.
> >> >
> >> > yum install sqlite3-devel
> >> > Setting up Install Process
> >> > No package sqlite3-devel available.
> >> > Error: Nothing to do
> >> >
> >> > As I said before, I am running Redhat 6.1 64bit.
> >>
> >> I don't know much about redhat but googling for
> >> install sqlite-devel redhat
> >> gave a number of hits including
> >>
> >>
> http://www.sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/
> >> That or one of the others may be helpful
> >>
> > Colin, the link you gave me helped install sqlite3. That's fine.
> > However, it looks like Rails is still looking for more dependencies,
> which I
> > already installed, except that I hit one which I can't see how to address
> > it.
> > The execjs wants a javascript runtime. I installed at least three
> suggested
> > ones:
> Are those on your path? I mean, the executable for those runtimes.
> Can you just run
> $ node
> for example?
>
> >
> > ExecJS supports these runtimes:
> >
> > therubyracer - Google V8 embedded within Ruby
> > therubyrhino - Mozilla Rhino embedded within JRuby
> > Johnson - Mozilla SpiderMonkey embedded within Ruby
> > Mustang - Mustang V8 embedded within Ruby
> > Node.js
> >
> >  and I am still having the same error messages, which I am posting below.
> >
> > I am truly sorry to bother you but I hit a wall. Also, I am not sure why
> > Rails does not load everything it needs. It already loads a large number
> of
> > pre-reqs.
> >
> > Thank you
> >
> > # rake db:create
> > (in /opt/rails_3.1.0/Code/Ruby/blog)
> > rake aborted!
> > Could not find a JavaScript runtime. See
> > https://github.com/sstephenson/execjs for a list of available runtimes.
> >
> /usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.2.9/lib/execjs/runtimes.rb:47:in
> > `autodetect'
> > /usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.2.9/lib/execjs.rb:5:in
> > `<module:ExecJS>'
> > /usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.2.9/lib/execjs.rb:4:in `<top
> > (required)>'
> >
> /usr/local/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in
> > `require'
> >
> /usr/local/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in
> > `<top (required)>'
> >
> /usr/local/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in
> > `require'
> >
> /usr/local/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in
> > `<top (required)>'
> >
> /usr/local/lib/ruby/gems/1.9.1/gems/coffee-rails-3.1.1/lib/coffee-rails.rb:1:in
> > `require'
> >
> /usr/local/lib/ruby/gems/1.9.1/gems/coffee-rails-3.1.1/lib/coffee-rails.rb:1:in
> > `<top (required)>'
> >
> /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.13/lib/bundler/runtime.rb:68:in
> > `require'
> >
> /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.13/lib/bundler/runtime.rb:68:in
> > `block (2 levels) in require'
> >
> /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.13/lib/bundler/runtime.rb:66:in
> > `each'
> >
> /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.13/lib/bundler/runtime.rb:66:in
> > `block in require'
> >
> /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.13/lib/bundler/runtime.rb:55:in
> > `each'
> >
> /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.13/lib/bundler/runtime.rb:55:in
> > `require'
> > /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.13/lib/bundler.rb:120:in
> > `require'
> > /opt/rails_3.1.0/Code/Ruby/blog/config/application.rb:7:in `<top
> > (required)>'
> > <internal:lib/rubygems/custom_require>:29:in `require'
> > <internal:lib/rubygems/custom_require>:29:in `require'
> > /opt/rails_3.1.0/Code/Ruby/blog/Rakefile:5:in `<top (required)>'
> > /usr/local/lib/ruby/1.9.1/rake.rb:2373:in `load'
> > /usr/local/lib/ruby/1.9.1/rake.rb:2373: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>'
> > blog]#
> >
> >
> >>
> >> Colin
> >>
> >> --
> >> 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 [email protected].
> >> To unsubscribe from this group, send email to
> >> [email protected].
> >> For more options, visit this group at
> >> http://groups.google.com/group/rubyonrails-talk?hl=en.
> >>
> >
> >
> >
> > --
> > Ruby Student
> >
> > --
> > 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 [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> > http://groups.google.com/group/rubyonrails-talk?hl=en.
> >
>
>
>
> --
> Leonardo Mateo.
> There's no place like ~
>
> --
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>


-- 
Ruby Student

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

Reply via email to