Hi;
Now I have tried the following, installed
ruby 1.8.7 (2010-08-16) [i386-mingw32]
rails 2.3.8
when I start the server --> ruby script/server, I get the following
eeror:
C:\Rails\demo>ruby script/server
=> Booting WEBrick
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2010-09-06 23:53:31] INFO WEBrick 1.3.1
<----------------
[2010-09-06 23:53:31] INFO ruby 1.8.7 (2010-08-16) [i386-mingw32]
<------
[2010-09-06 23:53:31] INFO WEBrick::HTTPServer#start: pid=1420
port=3000 <---
and when I go to localhost:3000 (browser), I get the welcome screen, but
selecting the “About your application’s environment”, I get an error
also.
What is it, I can solve it.
can you put some log data from what happens when you open About your
application’s environment?
Thank yo for your response.
I'm using windows xp (but treid also with Linux/Ubuntu),
ruby 1.8.7 (2010-08-16) [i386-mingw32]
rails 2.3.8
gem 1.3.7
and when I start the server (ruby script/server) I get the above
mentioned issue.
I have treid also ruby 1.9.2 and rails 3.0.0, but then when runing 'ruby
setup.rb', I get:
C:/rubygems-1.3.7/lib/rubygems/source_index.rb:68:in
installed_spec_directories': undefined method `path' for Gem:Module
(NoMethodError)
about tow weeks ago I was successfull with installing ruby 1.8.7 rails
2.3.8. But since rails 3.0.0 has been released I have no success to
install. I'm not sure whether it has anything to do with the release of
rails 3.0.0 (any modification of the repositories containing the kits
?), it is only an assumption.
I have no clue what to do, and can't go on with my work. HELP !.
Are you refering to the ruby 1.8.7/rails 2.3.8 issue or ruby 1.2.9/rails
3.0.0 ?
Always sqlite3.
With Ruby 1.9.2 and rails 3.0.0, I had to modify Gemfile with the
following:
gem 'sqlite3-ruby', '1.2.5', :require => 'sqlite3'
instead of
gem 'sqlite3-ruby', :require => 'sqlite3'
If I don't modify the gmfile I get:
'require': no such file to load -- sqlite3/sqlite3_native (LoadError)
for 1.8.7/2.3.8 I didn't have to do anything. 1.8.7/2.3.8 worked for me
in the past, but now not anymore.
If you use Rails 3.0 version, all of the supported gems for Rails should be upgraded. Otherwise, it will lead issues. Better, you use Ruby 1.9.2, Rails 3.0 (with corresponding versions of supporting gems of Rails 3.0)… If versions of two packages differs means it leads issue.
yes, as I have mentioned, I'M using the latest - Ruby 1.9.2, Rails
3.0.0, gem 1.3.7.
I have mentioned ruby 1.8.7 and rails 2.3.8, just to say that both are
not working.
I can't get Ruby 1.9.2/Rails 3.0.0/gem 1.3.7 to work - see above issues
described.
I feel, it may be a path problem for gem. Rails is not recognising the path info of sqlite gem. In windows i dont know about the path issues. In ubuntu, You installed gem with sudo permission??? If not try with sudo permission.
sudo gem install “gem_package”
otherwise
Give path info to system for local gem directory
export PATH=$PATH:~/location_where_gem_installed
Then rails will find the location of your sqlite gem package…
Hi Kannan,
Well, I have updated the path with the location of the rubygems without
any change.
Hi Brito,
That what I thought too, I have tried to install rvm under ubuntu, I
must say, I did not succeed with it, somehow the installation
instructions are not clear how exactly can this be done. Do you have any
description how to install it that might help me. Thank you.
Hi Kannan,
Well, I have updated the path with the location of the rubygems without
any change.
Hi Brito,
That what I thought too, I have tried to install rvm under ubuntu, I
must say, I did not succeed with it, somehow the installation
instructions are not clear how exactly can this be done. Do you have any
description how to install it that might help me. Thank you.
Dani
I found this link enormously helpful (mainly because I use Ubuntu 10.04)