When I attempt to launch my application on my server, the Mongrel log
says that
Missing these required gems:
haml
I do not control my server and the ISP has told me that he will give me
no support in terms of Ruby on Rails.
Is there a way to install the gem in my application and/or place the gem
in some directory that will allow haml to be found?
Ok … a long search on Google found something called
gem unpack
Sadly, I am clueless how to use it … what my current directory should
be … and how to point to it once I do the unpack.
“gem install haml”
On Tue, Nov 30, 2010 at 9:54 AM, Ralph S.
[email protected]wrote:
You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected][email protected]
.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
–
Thanks:
Rajeev sharma
+919013155133
On Nov 29, 9:50pm, Ralph S. [email protected] wrote:
in some directory that will allow haml to be found?
I’m guessing that you’re running on Rails 2.3, as I believe the 3.x
message is different (and Bundler would handle most of this).
On your development machine (not the server) you can do:
rake gems:unpack GEM=haml
to unpack the Haml gem into vendor/gems. You can then check the
unpacked files into source control and deploy them with your
application.
–Matt J.
Matt J. wrote in post #965193:
On Nov 29, 9:50pm, Ralph S. [email protected] wrote:
in some directory that will allow haml to be found?
I’m guessing that you’re running on Rails 2.3, as I believe the 3.x
message is different (and Bundler would handle most of this).
On your development machine (not the server) you can do:
rake gems:unpack GEM=haml
to unpack the Haml gem into vendor/gems. You can then check the
unpacked files into source control and deploy them with your
application.
–Matt J.
Thank you, Matt.
I believe that
rake gems:unpack
will unpack everything that I need.
Isn’t “unpack” a terrible name for what the operation does!?
Hello,
you can do these kind of things from console. Do you have SSH access
for your hosting? What kind of hosting is it?
First install the Haml gam:
gem install haml
Second write it to your Gemfile in your app’s root folder:
gem ‘haml’
Then try ‘bundle install’ in terminal.
If you have an error message its easier to go further. Please write it
here with your OS, gem list, versions you use.
Check these for Haml:
http://haml-lang.com/
Good luck,
Zoltn
Ralph S. wrote in post #965201:
[…]
I believe that
rake gems:unpack
will unpack everything that I need.
Isn’t “unpack” a terrible name for what the operation does!?
Why do you think so? It takes a gem and unpacks the files into
vendor/gems. Isn’t “unpack” a perfect name for what the operation
does?
Best,
Marnen Laibow-Koser
http://www.marnen.org
[email protected]