I'm have already installed restfulie and tokamak
ruby-1.8.7-p302 :002 > require 'rubygems'
=> true
ruby-1.8.7-p302 :003 > require 'restfulie'
LoadError: no such file to load -- tokamak/errors
from /Users/Bruno/.rvm/gems/ruby-1.8.7-p302@rails3/gems/tokamak-1.1.2/lib/tokamak.rb:14:in
`require'
from /Users/Bruno/.rvm/gems/ruby-1.8.7-p302@rails3/gems/tokamak-1.1.2/lib/tokamak.rb:14
from /Users/Bruno/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`gem_original_require'
from /Users/Bruno/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require'
from /Users/Bruno/.rvm/gems/ruby-1.8.7-p302@rails3/gems/restfulie-1.0.1/lib/restfulie/common.rb:5
from /Users/Bruno/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
`gem_original_require'
from /Users/Bruno/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
`require'
from /Users/Bruno/.rvm/gems/ruby-1.8.7-p302@rails3/gems/restfulie-1.0.1/lib/restfulie.rb:4
from /Users/Bruno/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`gem_original_require'
from /Users/Bruno/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require'
from (irb):3
--
“Success is having to worry about every damn thing in the world,
except money.” - Johnny Cash
-
-------------------------------------
------Volenti Nihil Difficile------
-------------------------------------
I believe tokamak uses rails2 for testing purposes only. "bundle
install" on a "require restfulie" should not end up downloading
rails2. did it download it?
But "bundle instlal" on a tokamak git dir will download it.
The error message says that tokamak/errors was not found.
Thats weird, their gemspec file includes it:
https://github.com/abril/tokamak/blob/master/tokamak.gemspec#L8
Can you provide me the steps to simulate the error?
Regards
Guilherme Silveira
Caelum | Ensino e Inovação
http://www.caelum.com.br/
gem install restfulie
gem install tokamak
irb> require 'rubygems'
irb> require 'tokamak' > here the error happens
I'm using ruby-1.8.7 with rails3
I can't reproduce it here... I get a bundler/setup not found, then i
install bundler and everything is fine. Can you try the same steps
with a new gemset environment:
rvm 1.8.7
rvm gemset create test
rvm @test
gem install restfulie
gem install tokamak
echo "require 'rubygems'; require 'tokamak'" > test
irb < test
Then I get:
LoadError: no such file to load -- bundler/setup
So I do:
gem install bundler
irb < test
And it works fine?
Regards
Guilherme Silveira
Caelum | Ensino e Inovação
http://www.caelum.com.br/
I think that my rubygems version was outdated too.
Thanks a lot
On Wed, Feb 16, 2011 at 10:58 AM, Guilherme Silveira
You were both with the tokamak issue, I've moved the gemspec
dependencies definition from Rakefile to gemspec and seems like it
corrected for me too (I came across the problem today):
https://github.com/caelum/restfulie/blob/master/Rakefile
Bruno, did I do something nasty with the gemspec now? Should I not
keep those dependencies there?
I have also brought back the design/runtime dependencies separation
(some users told me they need it... and it makes sense, they dont need
sqlite3).
Regards
Guilherme Silveira
Caelum | Ensino e Inovação
http://www.caelum.com.br/
Python guys, are your tests green with this restfulie ruby release too?
Regards
Guilherme Silveira
Caelum | Ensino e Inovação
http://www.caelum.com.br/
Guilherme Silveira
Caelum | Ensino e Inovação
http://www.caelum.com.br/
Gui, I believe that you did right. Doni, about problems with restbuy,
try to run with ruby 1.8.7 and rails 3, and let me know if you have
some problem.
On Sun, Feb 27, 2011 at 10:40 AM, Guilherme Silveira
http://abstractj.com
http://github.com/abstractj
-
Volenti Nihil Difficile
Great! issue solved!
Guilherme Silveira
Caelum | Ensino e Inovação
http://www.caelum.com.br/
On Sun, Feb 27, 2011 at 3:11 PM, Jose Donizetti