Beginner - Can't find Rake??

67 views
Skip to first unread message

barry.rueger

unread,
Sep 16, 2010, 2:55:35 AM9/16/10
to diaspora-dev
Wowza - followed all of the Ubuntu instructions, with only semi-minor
glitches, and it looked like I was within spitting distance of getting
this show on the road when bang:

Could not find rake-0.8.7 in any of the sources

Installed rake via the Ubuntu software widget, still no joy.

Admittedly I'm not 100% up on this stuff. but what did I miss?

Thanks!

Barry

John

unread,
Sep 16, 2010, 3:13:17 AM9/16/10
to diaspora-dev
It is missing for the instructions. Running this command and you will
be good to go:

sudo apt-get install rake
Message has been deleted

ivh

unread,
Sep 16, 2010, 4:41:31 AM9/16/10
to diaspora-dev
Hi

Try "sudo gem install rake". The version that comes from the OS's
package does not seem to fit (uninstall it by "sudo apt-get remove
rake").

/thomas

barry.rueger

unread,
Sep 16, 2010, 12:18:46 PM9/16/10
to diaspora-dev
Rake problem resolved.

Once again:
bundle exec thin start

That got me to:
Could not find abstract-1.0.0 in any of the sources

Took a stab in the dark and tried:
sudo gem install abstract-1.0.0

Got:
ERROR: Could not find a valid gem 'abstract-1.0.0' (>= 0) in any
repository

Downloaded: abstract-1.0.0.gem from http://rubyforge.org/frs/?group_id=1444
Put it into the diaspora folder
Ran:
sudo gem install abstract-1.0.0

Ran:
bundle exec thin start

Got:
Could not find activesupport-3.0.0 in any of the sources

Ok - I'm thinking there's one big package that I should have installed
somewhere.

Suggestions?

Barruy

barry.rueger

unread,
Sep 16, 2010, 1:27:30 PM9/16/10
to diaspora-dev
Received an e-mail:

Ran into the same problem. The solution is "sudo bundle install" not
"bundle install". None of the various pieces (rake, etc.) installed
without sudo privileges.

Did that, lots of stuff installed.

Once again:
bundle exec thin start


>> Using rack adapter
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/
dependencies.rb:239:in `require': no such file to load -- /home/
barry/.bundler/ruby/1.8/em-http-request-6f66010cda90/lib/http11_client
(LoadError)
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/
active_support/dependencies.rb:239:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/
active_support/dependencies.rb:225:in `load_dependency'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/
active_support/dependencies.rb:591:in `new_constants_in'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/
active_support/dependencies.rb:225:in `load_dependency'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/
active_support/dependencies.rb:239:in `require'
from /home/barry/.bundler/ruby/1.8/em-http-request-6f66010cda90/lib/
em-http.rb:9
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/
active_support/dependencies.rb:239:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/
active_support/dependencies.rb:239:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/
active_support/dependencies.rb:225:in `load_dependency'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/
active_support/dependencies.rb:591:in `new_constants_in'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/
active_support/dependencies.rb:225:in `load_dependency'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/
active_support/dependencies.rb:239:in `require'
from /usr/lib/ruby/gems/1.8/gems/pubsubhubbub-0.1.1/lib/
pubsubhubbub.rb:5
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/runtime.rb:
64:in `require'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/runtime.rb:
64:in `require'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/runtime.rb:
62:in `each'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/runtime.rb:
62:in `require'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/runtime.rb:
51:in `each'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/runtime.rb:
51:in `require'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler.rb:112:in
`require'
from /home/barry/rubygems-1.3.7/diaspora/config/application.rb:14
from /home/barry/rubygems-1.3.7/diaspora/config/environment.rb:8:in
`require'
from /home/barry/rubygems-1.3.7/diaspora/config/environment.rb:8
from /home/barry/rubygems-1.3.7/diaspora/config.ru:9:in `require'
from /home/barry/rubygems-1.3.7/diaspora/config.ru:9
from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/builder.rb:46:in
`instance_eval'
from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/builder.rb:46:in
`initialize'
from /home/barry/rubygems-1.3.7/diaspora/config.ru:1:in `new'
from /home/barry/rubygems-1.3.7/diaspora/config.ru:1

Alex Andrews

unread,
Sep 16, 2010, 1:33:54 PM9/16/10
to diaspo...@googlegroups.com
You need to run bundler install to install all the necessary rubygems.

Cheers.

Alex

barry.rueger

unread,
Sep 16, 2010, 1:55:08 PM9/16/10
to diaspora-dev
Ah! Once I figured it was "bundle install" and not "bundler install"
It worked!!

Or at least it's listening.

Barry

Alex Andrews

unread,
Sep 16, 2010, 1:56:24 PM9/16/10
to diaspo...@googlegroups.com
Yeah sorry, replied too quickly.

Alex

Barry Rueger

unread,
Sep 16, 2010, 2:35:09 PM9/16/10
to diaspo...@googlegroups.com
Of course, now that the server is running (on my desktop machine) I've
no clue what to do with it!

Still, progress made, and maybe after attending to "real" work I'll
dive back in later.

Man I love being at the start of the learning curve! Hopefully my
fumbling uncovers something useful.

Barry

joseph

unread,
Sep 16, 2010, 3:23:09 PM9/16/10
to diaspora-dev
I may be one more step ahead. I got the server running, and don't know
what to do with it.
I had to run it with sudo, cleared up lots of problems.
I also had to install rake with:
sudo apt-get install rake
Then, I ran rake with sudo (once more, this solved many many lines of
errors), and got this output:
** Invoke db:seed:tom (first_time)
** Execute db:seed:tom
Seeding the database for development...
Then it exited.
I tried running it again and got this error:
Validation failed: Email has already been taken, Username has already
been taken

I'm now lost. Any suggestions as to where to enter the username tom
and password evankorth would be appreciated.

Sainath

unread,
Sep 16, 2010, 3:25:16 PM9/16/10
to diaspo...@googlegroups.com
You dont need to seed it twice, as it would try to create a user in DB with the same username and the Rails validation kicks in. You should now start the server using the command mentioned in README,

bundle exec thin start

Then it should say an URL it is listening to, try visiting that in your browser.

-Sainath

joseph

unread,
Sep 16, 2010, 3:33:00 PM9/16/10
to diaspora-dev
Excellent, thank you.
Somehow I missed the instruction to visit the webpage listed there.
(sarcasm)

barry.rueger

unread,
Sep 16, 2010, 7:32:30 PM9/16/10
to diaspora-dev
On Sep 16, 11:35 am, Barry Rueger <barry.rue...@gmail.com> wrote:
> Of course, now that the server is running (on my desktop machine) I've
> no clue what to do with it!

Aha:

type in localhost:3000 into
your web browser.

Cool!
Reply all
Reply to author
Forward
0 new messages