Installation Errors

44 views
Skip to first unread message

smartidiot

unread,
Sep 2, 2011, 9:53:20 AM9/2/11
to Fulcrum
Thanks for making such a wonderful open source application.

I have setup Ruby and RoR on my Ubuntu 11.04 box as per the
instructions provided. When I execute rake db:setup while installation
of fulcrum, I get the errors below and installation aborts. Any
pointers on what could be wrong and how the same can be fixed are
welcome.


$ rake db:setup
NOTE: Gem.available? is deprecated, use Specification::find_by_name.
It will be removed on or after 2011-11-01.
Gem.available? called from /home/tommbht/.rvm/gems/ruby-1.9.2-p290/
gems/jasmine-1.0.2.1/lib/jasmine/base.rb:64.
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/version.rb:4: warning: already initialized constant MAJOR
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/version.rb:5: warning: already initialized constant MINOR
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/version.rb:6: warning: already initialized constant BUILD
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/version.rb:3: warning: already initialized constant NUMBERS
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/version.rb:9: warning: already initialized constant VERSION
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake.rb:26: warning: already initialized constant RAKEVERSION
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/early_time.rb:17: warning: already initialized constant EARLY
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/alt_system.rb:32: warning: already initialized constant WINDOWS
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/application.rb:28: warning: already initialized constant
DEFAULT_RAKEFILES
WARNING: Possible conflict with Rake extension: String#ext already
exists
WARNING: Possible conflict with Rake extension: String#pathmap already
exists
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/task_arguments.rb:73: warning: already initialized constant
EMPTY_TASK_ARGS
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/invocation_chain.rb:49: warning: already initialized constant
EMPTY
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/file_utils.rb:10: warning: already initialized constant RUBY
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/file_utils.rb:84: warning: already initialized constant
LN_SUPPORTED
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/dsl_definition.rb:143: warning: already initialized constant
Commands
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/file_list.rb:44: warning: already initialized constant
ARRAY_METHODS
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/file_list.rb:47: warning: already initialized constant
MUST_DEFINE
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/file_list.rb:51: warning: already initialized constant
MUST_NOT_DEFINE
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/file_list.rb:55: warning: already initialized constant
SPECIAL_RETURN
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/file_list.rb:61: warning: already initialized constant
DELEGATING_METHODS
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/file_list.rb:364: warning: already initialized constant
DEFAULT_IGNORE_PATTERNS
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake/file_list.rb:370: warning: already initialized constant
DEFAULT_IGNORE_PROCS
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake.rb:64: warning: already initialized constant FileList
/home/tommbht/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/
rake.rb:65: warning: already initialized constant RakeFileUtils
rake aborted!
stack level too deep

(See full trace by running task with --trace)

Malcolm Locke

unread,
Sep 3, 2011, 5:05:57 AM9/3/11
to fulcru...@googlegroups.com
On Fri, Sep 02, 2011 at 06:53:20AM -0700, smartidiot wrote:
> Thanks for making such a wonderful open source application.
>
> I have setup Ruby and RoR on my Ubuntu 11.04 box as per the
> instructions provided. When I execute rake db:setup while installation
> of fulcrum, I get the errors below and installation aborts. Any
> pointers on what could be wrong and how the same can be fixed are
> welcome.

Someone else has reported a similar problem, I think it is an issue with
newer versions of Rubygems. Can you tell me the output of:

$ gem -v

on your machine?

I don't have a Ubuntu Natty machine to test on, but it looks like this
is due to the Jasmine gem, which is used to run the Javascript tests.
It's not necessary for the app to run, so could you comment out
"gem 'jasmine_rails'" from the Gemfile in the top level directory, then
run 'bundle install' and try again?

Thanks,

Malc

smartidiot

unread,
Sep 3, 2011, 5:22:18 AM9/3/11
to Fulcrum
Thanks for your response. Below is the output of gem -v however I was
able to make it work after I recompiled ruby and created a gemset
(earlier I didn't create a default gemset). I am new to ruby so I was
not sure of steps need to be followed for setting up ruby/rails.

$ gem -v
1.8.10

It's working great now.

Regards,
S

Malcolm Locke

unread,
Sep 3, 2011, 5:25:13 AM9/3/11
to fulcru...@googlegroups.com
On Sat, Sep 03, 2011 at 02:22:18AM -0700, smartidiot wrote:
> Thanks for your response. Below is the output of gem -v however I was
> able to make it work after I recompiled ruby and created a gemset
> (earlier I didn't create a default gemset). I am new to ruby so I was
> not sure of steps need to be followed for setting up ruby/rails.
>
> $ gem -v
> 1.8.10
>
> It's working great now.
>
> Regards,
> S

Cool, thanks for sticking with it!

I'll try and get access to an Ubuntu 11.04 machine so I can work out
what's going on.

Thanks for the bug report,

Malc

Reply all
Reply to author
Forward
0 new messages