require_gem is obsolete

1 view
Skip to first unread message

Bolo

unread,
May 17, 2007, 5:50:58 PM5/17/07
to AsProjectUsers
Hello,

when i test to create a project , i saw this message. why ?

thanks

Bolo:~/Desktop bolomichelin$ asproject test
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/
framework/lib/ruby/gems/1.8/gems/asproject-0.1.118/bin/asproject:
13:Warning: require_gem is obsolete. Use gem instead.
---------------------------
>> Working in existing project test at: /Users/bolomichelin/Desktop
---------------------------
>> Created file at: ./test
>> Created file at: ./test/project/assets/img/skins/default/PatternPark.jpg
>> Created file at: ./test/project/assets/img/skins/SWFMillTemplate.erb
>> Created file at: ./test/project/rakefile.rb
>> Created file at: ./test/project/README.txt
>> Created file at: ./test/project/src/test.as
>> Created file at: ./test/project/test/testRunner.as
>> Created file at: ./test/project/config/asclass_config.rb
>> Created file at: ./test/project/.as2_classpath

Luke Bayes

unread,
May 17, 2007, 9:34:18 PM5/17/07
to asproje...@googlegroups.com
Hey Bolo,

when i test to create a project , i saw this message. why ?


Thanks for the feedback. As it turns out, I used an old version of the 'newgem' gem and the default files included in this gem used this now-deprecated call.

I have removed these calls from the latest build in svn, but am having trouble publishing a release at the moment. If it bothers you (as much as it would bother me), you can go to your bin directory and find the 'asproject' and 'asclass' files and comment 'require_gem' lines.

Each of these files should have two require statements:

require 'rubygems'
require 'asproject'

These statements are separated by some argument manipulation, but that's all that's needed.


Thanks again for the question.


Luke Bayes
AsProject


Reply all
Reply to author
Forward
0 new messages