Welcome Guest | Login

Installing merb gem

Hello,

I am having trouble installing merb on shared hosting from Rubyforge with the procedure you describe:
$ gem install merb -i ~/.gems
I don't run into an error by doing this, but the merb command does not seem to get installed.
merb: command not found
Of course, the SVN checkout procedure is probably not really an option:
$ svn co http://svn.devjavu.com/merb/trunk merb
$ cd merb
$ rake install
...since rake install would require SU privileges.

Is there a way for me to use merb on shared hosting or should I go back to rails?

Thanks.


2008-02-24 06:57 AM

Hello,

The gem "merb" is now installed on your server. Please see if this helped.

2008-02-24 07:44 AM

Thanks a lot. It helped.

Now, I think I need the gem "do_sqlite3", which seems to require compiling native extensions. Could you possibly do this for me?

Thanks again!

2008-02-24 12:32 PM


The gem 'do_sqlite3-0.2.3' along with its dependency 'data_objects-0.2.0' is installed on the server now..
Please see if this works out for you or not..

2008-02-24 12:58 PM

Regards,
Rahul
Hmm, it still does not work.

When I do "merb -e production" :
usr/local/lib/ruby/gems/1.8/gems/merb-0.5.3/lib/merb/version.rb:45: warning: already initialized constant RELEASE
Started merb_init.rb ...
Connecting to database...
You must install the DataObjects::SQLite3 driver.
 gem install do_sqlite3
Any thoughts?

2008-02-24 01:22 PM

Well I am not sure about the issue. But I will recommend you to contact IRC chats such as #merb and #datamapper on irc.freenode.net .

I guess they can help us out with this. Do post us their update either on our forum or post us a ticket with their update.

2008-02-24 02:08 PM

Regards,
Rahul
Well, it seems that a full desinstallation of all merb version and reinstallation might work for the first error:
usr/local/lib/ruby/gems/1.8/gems/merb-0.5.3/lib/merb/version.rb:45: warning: already initialized constant RELEASE
I haven't had much of an answer on the second issue.

Could you possibly install "merb_datamapper" and "datamapper"? They're supposed to be loaded from my directory, but well...

I'll work on it some more tomorrow. Thanks a million for your help. I hope I don't have to recode my project in Rails!

2008-02-24 03:36 PM

Could you please install "merb_datamapper" and "datamapper" on my server? Thanks.

2008-03-02 10:37 AM

The requested gems have been installed on your server, if you could verify this now.

2008-03-02 10:45 AM

They are, thanks!

2008-03-02 10:48 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.