This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
peterv@ASUS:~/b/rails-apps/apps/temp/base_app$ rails g model User | |
invoke active_record | |
create db/migrate/20111011103622_create_users.rb | |
create app/models/user.rb | |
invoke rspec | |
create spec/models/user_spec.rb | |
invoke factory_girl | |
create spec/factories/users.rb | |
peterv@ASUS:~/b/rails-apps/apps/temp/base_app$ rails g model Referral |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE: my issue is resolved (searched the mailing list): | |
RVM now only operates over ssl https://groups.google.com/forum/#!searchin/rubyversionmanager/MD5/rubyversionmanager/-tRx60wn3Tg/JZFFxkQIrqgJ | |
executed | |
$ rvm get head | |
$ rvm get latest | |
++++++++++++++++++++++++++++++++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
peterv@ASUS:~/ru$ rvm --debug ruby -r twitter -e 'puts $LOAD_PATH' | |
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- twitter (LoadError) | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- twitter (LoadError) | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- twitter (LoadError) | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
/home/peterv/.rvm/rubies/ruby-head/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require': cannot load such file -- twitter (LoadError) | |
from /home/peterv/.rvm/rubies/ruby-head/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require' | |
/home/peterv/.rvm/rubies/ruby-1.8.7-p330/bin/ruby: no such file to load -- twitter (LoadError) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RESOLVED: | |
The problem was that a JSON parser needs to be provided. | |
RTFM ... | |
https://github.com/jnunemaker/twitter#readme | |
says: | |
Help! I'm getting: "Did not recognize your engine specification. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pev@pev-desktop:~$ rvm use default | |
Now using system ruby. | |
pev@pev-desktop:~$ rvm info | |
system: | |
system: | |
uname: "Linux pev-desktop 2.6.32-27-generic #49-Ubuntu SMP Wed Dec 1 23:52:12 UTC 2010 i686 GNU/Linux" | |
bash: "/bin/bash => GNU bash, version 4.1.5(1)-release (i486-pc-linux-gnu)" | |
zsh: " => not installed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pev@pev-desktop:~$ rvm use 1.9.2 | |
Using /home/pev/.rvm/gems/ruby-1.9.2-p136 | |
pev@pev-desktop:~$ rvm gemset name | |
pev@pev-desktop:~$ rvm gemset list | |
gemsets for ruby-1.9.2-p136 (found in /home/pev/.rvm/gems/ruby-1.9.2-p136) | |
global | |
rails3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Note: I was on 1.1.7 (can be seen below) | |
# Note: Ubuntu 10.04 with up-to-date packages | |
$ type rvm | head -1 | |
rvm is a function | |
pev@pev-desktop:~$ rvm get head | |
Original installed RVM version: | |
rvm 1.1.7 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE by peter_v 2010-12-19 15:53:00 | |
* the issue also occurs with rvm use system | |
* so not related to rvm, but to irb | |
* discussed on irc with telemachus | |
peterv@ASUS:~$ rvm --version | |
rvm 1.1.6 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/] | |
peterv@ASUS:~$ rvm use |
NewerOlder